2 #ifndef HYDROGUI_OBJ_SELECTOR_HEADER
3 #define HYDROGUI_OBJ_SELECTOR_HEADER
5 #include <QAbstractButton>
11 class HYDROGUI_ObjSelector : public QAbstractButton
16 HYDROGUI_ObjSelector( HYDROGUI_Module* theModule, QWidget* theParent );
17 virtual ~HYDROGUI_ObjSelector();
19 QString GetName() const;
22 virtual void paintEvent( QPaintEvent* );
23 virtual bool hitButton( const QPoint& thePnt ) const;
26 void OnToggled( bool );
27 void OnSelectionChanged();
30 HYDROGUI_Module* myModule;