8.5.6.3. pymodaq_gui.utils.dock module

class pymodaq_gui.utils.dock.Dock(name, *args, fontSize='20px', **kwargs)[source]

Bases: Dock

Methods

setOrientation([o, force])

Sets the orientation of the title bar for this Dock.

dock_focused

removeWidgets

removeWidgets()[source]
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.

class pymodaq_gui.utils.dock.DockArea(parent=None, temporary=False, home=None)[source]

Bases: DockArea, QObject

Custom 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.dockarea

Methods

moveDock(dock, position, neighbor)

Move an existing Dock to a new location.

addTempArea

dock_signal

addTempArea()[source]
moveDock(dock, position, neighbor)[source]

Move an existing Dock to a new location.