6.148. sibl_gui.ui.widgets.application_QToolBar

application_QToolBar.py.py

Platform:
Windows, Linux, Mac Os X.
Description:
Defines the Application_QToolBar class.

Others:

6.148.1. Module Attributes

sibl_gui.ui.widgets.application_QToolBar.LOGGER

6.148.2. Classes

class sibl_gui.ui.widgets.application_QToolBar.Application_QToolBar(parent=None)[source]

Bases: PyQt4.QtGui.QToolBar

Defines defines the Application toolbar.

Initializes the class.

Parameters:parent (QObject) – Widget parent.
setToolBarChildrenWidgets()[source]

Sets the toolBar children widgets.

Returns:Method success.
Return type:bool
getLayoutsActiveLabels()[source]

Returns the layouts Active_QLabel widgets.

Returns:Layouts active labels.
Return type:list
getCentralWidgetActiveLabel()[source]

Provides the default Central_Widget_activeLabel widget.

Returns:Central Widget active label.
Return type:Active_QLabel
extendMiscellaneousActiveLabel()[source]

Extends the default Miscellaneous_activeLabel widget.

Returns:Method success.
Return type:bool
container

Property for self.__container attribute.

Returns:self.__container.
Return type:QObject
customLayoutsMenu

Property for self.__customLayoutsMenu attribute.

Returns:self.__customLayoutsMenu.
Return type:QMenu
getApplicationLogoLabel()

Provides the default Application_Logo_label widget.

Returns:Application logo label.
Return type:QLabel
getClosureSpacerLabel()

Provides the default Closure_Spacer_label widget.

Returns:Closure spacer label.
Return type:QLabel
getCustomLayoutsActiveLabel()

Provides the default Custom_Layouts_activeLabel widget.

Returns:Layout active label.
Return type:Active_QLabel
getLayoutActiveLabel(resources, name, title, identity, shortcut)

Returns a layout Active_QLabel widget.

Parameters:
  • resources (tuple) – Icons resources ( Default / Hover / Active ).
  • name (unicode) – Ui object name.
  • title (unicode) – Layout registration title.
  • identity (unicode) – Layout code name.
  • shortcut – Layout associated shortcut. ( QtCore.Key )
Returns:

Layout active label.

Return type:

Active_QLabel

getMiscellaneousActiveLabel()

Provides the default Miscellaneous_activeLabel widget.

Returns:Miscellaneous active label.
Return type:Active_QLabel
getSpacerLabel()

Provides the default Spacer_label widget.

Returns:Logo spacer label.
Return type:QLabel
layoutsActiveLabelsCollection

Property for self.__layoutsActiveLabelsCollection attribute.

Returns:self.__layoutsActiveLabelsCollection.
Return type:Active_QLabelsCollection
miscellaneousMenu

Property for self.__miscellaneousMenu attribute.

Returns:self.__miscellaneousMenu.
Return type:QMenu
setLayoutDefaultGeometry()

Sets the toolBar layout default geometry.

Returns:Method success.
Return type:bool
settings

Property for self.__settings attribute.

Returns:self.__settings.
Return type:Preferences