An extension of QFrame object.
More...
An extension of QFrame object.
◆ ModuleBase_ToolBox()
| ModuleBase_ToolBox::ModuleBase_ToolBox |
( |
QWidget * |
theParent, |
|
|
const bool |
theUseFrameStyleBox = false |
|
) |
| |
Constructor.
- Parameters
-
| theParent | a parent widget |
| theUseFrameStyleBox | a flag if the tool box should have box covered buttons and current page |
◆ addItem()
| void ModuleBase_ToolBox::addItem |
( |
QWidget * |
thePage, |
|
|
const QString & |
theName, |
|
|
const QPixmap & |
theIcon |
|
) |
| |
Add a new item to the tool box.
- Parameters
-
| thePage | a widget of the new item |
| theName | a name of the item |
| theIcon | an icon of the item |
◆ count()
| int ModuleBase_ToolBox::count |
( |
| ) |
const |
◆ currentIndex()
| int ModuleBase_ToolBox::currentIndex |
( |
| ) |
const |
- Returns
- index of current widget
◆ setCurrentIndex()
| void ModuleBase_ToolBox::setCurrentIndex |
( |
const int |
theIdx | ) |
|
Set current item.
- Parameters
-
◆ isOffToolBoxParent()
Found in the controls of the model widget parent in Stacked Widget returns whether this controls are in the current widget of the stacked widgets.
- Parameters
-
- Returns
- boolean result
◆ currentChanged
| void ModuleBase_ToolBox::currentChanged |
( |
int |
| ) |
|
|
signal |
A signal which is emitted on current item changed.