8.6.8.5. pymodaq_gui.utils.dock module
- class pymodaq_gui.utils.dock.Dock(name, *args, fontSize='20px', **kwargs)[source]
Bases:
Dock- Attributes:
grid_layoutThis Dock’s internal grid layout, across pyqtgraph versions
Methods
setOrientation([o, force])Sets the orientation of the title bar for this Dock.
dock_focused
removeWidget
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
- property grid_layout: QGridLayout
This Dock’s internal grid layout, across pyqtgraph versions
pyqtgraph renamed this attribute from layout to layout_ in versions after 0.14 (the old name shadowed QWidget.layout()); older versions only have layout.
Note: an empty QGridLayout is falsy (Qt gives it __len__ via count()), so this must check for None rather than use or.
- staticMetaObject = PySide6.QtCore.QMetaObject("Dock" inherits "Dock": Methods: #35 type=Signal, signature=dock_focused(QString), parameters=QString )
- class pymodaq_gui.utils.dock.DockArea(parent=None, temporary=False, home=None)[source]
Bases:
DockAreaCustom 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
- staticMetaObject = PySide6.QtCore.QMetaObject("DockArea" inherits "DockArea": Methods: #34 type=Signal, signature=dock_signal() )