SHAPER  9.12.0
SHAPERGUI_ToolbarItemsDlg Class Reference

A dialog box for editing of toolbar items. More...

Inheritance diagram for SHAPERGUI_ToolbarItemsDlg:
Inheritance graph

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...
 

Detailed Description

A dialog box for editing of toolbar items.

Constructor & Destructor Documentation

◆ SHAPERGUI_ToolbarItemsDlg()

SHAPERGUI_ToolbarItemsDlg::SHAPERGUI_ToolbarItemsDlg ( QWidget theParent,
SHAPERGUI theModule,
const QString &  theToolbar,
const QIntList &  theFreeItems,
const QIntList &  theItemsList 
)

Constructor.

Parameters
theParenta parent for the dialog
theModulea module with toolbars
theToolbara name of the toolbar for editing
theFreeItemsa list of commands out of toolbars
theItemsLista list of command in the toolbar

Member Function Documentation

◆ freeItems()

QIntList SHAPERGUI_ToolbarItemsDlg::freeItems ( ) const

Returns list of free commands.

◆ toolbarItems()

QIntList SHAPERGUI_ToolbarItemsDlg::toolbarItems ( ) const

Returns list of commands in the toolbar.

◆ eventFilter()

bool SHAPERGUI_ToolbarItemsDlg::eventFilter ( QObject theObj,
QEvent theEvent 
)
protectedvirtual

An redifinition of a virtual function.

Parameters
theObjan object
theEventan event