SHAPER
9.12.0
|
A dialog box for editing of toolbar items. More...
Public Member Functions | |
SHAPERGUI_ToolbarItemsDlg (QWidget *theParent, SHAPERGUI *theModule, const QString &theToolbar, const QIntList &theFreeItems, const QIntList &theItemsList) | |
Constructor. More... | |
QIntList | freeItems () const |
Returns list of free commands. More... | |
QIntList | toolbarItems () const |
Returns list of commands in the toolbar. More... | |
Protected Member Functions | |
virtual bool | eventFilter (QObject *theObj, QEvent *theEvent) |
An redifinition of a virtual function. More... | |
A dialog box for editing of toolbar items.
SHAPERGUI_ToolbarItemsDlg::SHAPERGUI_ToolbarItemsDlg | ( | QWidget * | theParent, |
SHAPERGUI * | theModule, | ||
const QString & | theToolbar, | ||
const QIntList & | theFreeItems, | ||
const QIntList & | theItemsList | ||
) |
Constructor.
theParent | a parent for the dialog |
theModule | a module with toolbars |
theToolbar | a name of the toolbar for editing |
theFreeItems | a list of commands out of toolbars |
theItemsList | a list of command in the toolbar |
QIntList SHAPERGUI_ToolbarItemsDlg::freeItems | ( | ) | const |
Returns list of free commands.
QIntList SHAPERGUI_ToolbarItemsDlg::toolbarItems | ( | ) | const |
Returns list of commands in the toolbar.