OpenStructure
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()

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

Member Function Documentation

◆ AddButton()

virtual void AddButton ( const QString &  name,
Widget widget,
bool  pressed 
)
virtual

◆ ButtonDragged

void ButtonDragged ( EventButton button)
signal

◆ ButtonDropped

void ButtonDropped ( EventButton button)
signal

◆ dragEnterEvent()

virtual void dragEnterEvent ( QDragEnterEvent *  event)
virtual

◆ dropEvent()

virtual void dropEvent ( QDropEvent *  event)
virtual

◆ InsertButton()

virtual void InsertButton ( EventButton position,
EventButton new_button 
)
virtual

◆ Inserted

void Inserted ( Widget widget,
int  pos,
bool  isHidden 
)
signal

◆ MoveButton()

virtual void MoveButton ( EventButton position,
EventButton mov_button 
)
virtual

◆ RemoveButton()

virtual void RemoveButton ( EventButton button)
virtual

◆ Removed

void Removed ( Widget widget)
signal

◆ Restore()

virtual bool Restore ( const QString &  prefix)
virtual

Implements Widget.

◆ Save()

virtual bool Save ( const QString &  prefix)
virtual

Implements Widget.

◆ ToggleWidget

void ToggleWidget ( Widget widget)
signal

The documentation for this class was generated from the following file: