SHAPER
9.13.0
|
Public Member Functions | |
ModuleBase_PageBase () | |
Base constructor. More... | |
virtual | ~ModuleBase_PageBase () |
Base virtual destructor. More... | |
QWidget * | pageWidget () |
Cast the page to regular QWidget. More... | |
void | addModelWidget (ModuleBase_ModelWidget *theWidget) |
Adds the given ModuleBase_ModelWidget to the page. More... | |
void | addPageWidget (ModuleBase_PageBase *theWidget) |
Adds the given ModuleBase_PageBase to the page. More... | |
void | addWidget (QWidget *theWidget) |
Adds the given widget to the page. More... | |
void | clearPage () |
Removes all items from page's layout. More... | |
bool | takeFocus () |
Passes focus from page to the first ModuleBase_ModelWidget contained on the page. More... | |
QList< ModuleBase_ModelWidget * > | modelWidgets () const |
Returns list of ModuleBase_ModelWidgets contained on the page. More... | |
void | alignToTop () |
Aligns top all widgets on page. More... | |
Protected Member Functions | |
virtual void | placeModelWidget (ModuleBase_ModelWidget *theWidget)=0 |
Pure Virtual. Allows to derived class to lay out the widget properly;. More... | |
virtual void | placePageWidget (ModuleBase_PageBase *theWidget) |
Pure Virtual. Allows to derived class to lay out the page properly;. More... | |
virtual void | placeWidget (QWidget *theWidget)=0 |
Pure Virtual. Allows to derived class to lay out the page properly;. More... | |
virtual QLayout * | pageLayout ()=0 |
Pure Virtual. Returns layout of the page. More... | |
virtual void | addPageStretch ()=0 |
Pure Virtual. Allows to derived class to insert page stretch properly. More... | |
Represent a property panel's list of ModuleBase_ModelWidgets or other pages widgets derived from ModuleBase_PageBase.
ModuleBase_PageBase::ModuleBase_PageBase | ( | ) |
Base constructor.
|
virtual |
Base virtual destructor.
void ModuleBase_PageBase::addModelWidget | ( | ModuleBase_ModelWidget * | theWidget | ) |
Adds the given ModuleBase_ModelWidget to the page.
void ModuleBase_PageBase::addPageWidget | ( | ModuleBase_PageBase * | theWidget | ) |
Adds the given ModuleBase_PageBase to the page.
void ModuleBase_PageBase::addWidget | ( | QWidget * | theWidget | ) |
Adds the given widget to the page.
void ModuleBase_PageBase::clearPage | ( | ) |
Removes all items from page's layout.
bool ModuleBase_PageBase::takeFocus | ( | ) |
Passes focus from page to the first ModuleBase_ModelWidget contained on the page.
QList< ModuleBase_ModelWidget * > ModuleBase_PageBase::modelWidgets | ( | ) | const |
Returns list of ModuleBase_ModelWidgets contained on the page.
void ModuleBase_PageBase::alignToTop | ( | ) |
Aligns top all widgets on page.
|
protectedpure virtual |
Pure Virtual. Allows to derived class to lay out the widget properly;.
Implemented in ModuleBase_WidgetOptionalBox, ModuleBase_PageWidget, and ModuleBase_PageGroupBox.
|
protectedvirtual |
Pure Virtual. Allows to derived class to lay out the page properly;.
|
protectedpure virtual |
Pure Virtual. Allows to derived class to lay out the page properly;.
Implemented in ModuleBase_WidgetOptionalBox, ModuleBase_PageWidget, and ModuleBase_PageGroupBox.
|
protectedpure virtual |
Pure Virtual. Returns layout of the page.
Implemented in ModuleBase_WidgetOptionalBox, ModuleBase_PageWidget, and ModuleBase_PageGroupBox.
|
protectedpure virtual |
Pure Virtual. Allows to derived class to insert page stretch properly.
Implemented in ModuleBase_WidgetOptionalBox, ModuleBase_PageWidget, and ModuleBase_PageGroupBox.