8.5.6.3. pymodaq_gui.utils.dock module
- class pymodaq_gui.utils.dock.Dock(name, *args, fontSize='20px', **kwargs)[source]
Bases:
DockMethods
setOrientation([o, force])Sets the orientation of the title bar for this Dock.
dock_focused
removeWidgets
- setOrientation(o='auto', force=False)[source]
Sets the orientation of the title bar for this Dock. Must be one of ‘auto’, ‘horizontal’, or ‘vertical’. By default (‘auto’), the orientation is determined based on the aspect ratio of the Dock.
- dock_focused
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision
- class pymodaq_gui.utils.dock.DockArea(parent=None, temporary=False, home=None)[source]
Bases:
DockArea,QObjectCustom Dockarea class subclassing from the standard DockArea class and QObject so it can emit a signal when docks are moved around (one subclassed method: moveDock) .. seealso::
pyqtgraph.dockareaMethods
moveDock(dock, position, neighbor)Move an existing Dock to a new location.
addTempArea
dock_signal
- dock_signal
int = …, arguments: Sequence = …) -> PYQT_SIGNAL
types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.
- Type:
pyqtSignal(*types, name
- Type:
str = …, revision