ButtonBox Class Reference

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)

Detailed Description

button box

Definition at line 36 of file button_box.hh.


Constructor & Destructor Documentation

ButtonBox ( const QString &  label,
QWidget *  parent = NULL 
)

Member Function Documentation

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]

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 10 Nov 2016 for OpenStructure by  doxygen 1.6.1