OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Signals | Public Member Functions
ButtonBox Class Reference

#include <button_box.hh>

Inherits 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)
 
- Public Member Functions inherited from Widget
 Widget (QWidget *widget, QWidget *parent=NULL)
 
void SetDestroyOnClose (bool flag)
 
bool DestroyOnClose () const
 
virtual ActionList GetActions ()
 
QWidget * GetInternalWidget ()
 
void SetInternalWidget (QWidget *widget)
 
const QString & GetUniqueID () const
 
void SetUniqueID (const QString &id)
 

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: