button box More...
#include <button_box.hh>
Inherits ost::gui::Widget.
Signals | |
void | ToggleWidget (Widget *widget) |
void | Removed (Widget *widget) |
void | Inserted (Widget *widget, int pos, bool isHidden) |
void | ButtonDragged (EventButton *button) |
void | ButtonDropped (EventButton *button) |
Public Member Functions | |
ButtonBox (const QString &label, QWidget *parent=NULL) | |
virtual bool | Save (const QString &prefix) |
virtual bool | Restore (const QString &prefix) |
virtual void | AddButton (const QString &name, Widget *widget, bool pressed) |
virtual void | InsertButton (EventButton *position, EventButton *new_button) |
virtual void | RemoveButton (EventButton *button) |
virtual void | MoveButton (EventButton *position, EventButton *mov_button) |
virtual void | dropEvent (QDropEvent *event) |
virtual void | dragEnterEvent (QDragEnterEvent *event) |
button box
Definition at line 36 of file button_box.hh.
ButtonBox | ( | const QString & | label, | |
QWidget * | parent = NULL | |||
) |
virtual void AddButton | ( | const QString & | name, | |
Widget * | widget, | |||
bool | pressed | |||
) | [virtual] |
void ButtonDragged | ( | EventButton * | button | ) | [signal] |
void ButtonDropped | ( | EventButton * | button | ) | [signal] |
virtual void dragEnterEvent | ( | QDragEnterEvent * | event | ) | [virtual] |
virtual void dropEvent | ( | QDropEvent * | event | ) | [virtual] |
virtual void InsertButton | ( | EventButton * | position, | |
EventButton * | new_button | |||
) | [virtual] |
void Inserted | ( | Widget * | widget, | |
int | pos, | |||
bool | isHidden | |||
) | [signal] |
virtual void MoveButton | ( | EventButton * | position, | |
EventButton * | mov_button | |||
) | [virtual] |
virtual void RemoveButton | ( | EventButton * | button | ) | [virtual] |
void Removed | ( | Widget * | widget | ) | [signal] |
virtual bool Restore | ( | const QString & | prefix | ) | [virtual] |
Implements Widget.
virtual bool Save | ( | const QString & | prefix | ) | [virtual] |
Implements Widget.
void ToggleWidget | ( | Widget * | widget | ) | [signal] |