gdesk.ezdock.boxes module¶
- class gdesk.ezdock.boxes.AreaSplitterHandle¶
Bases:
PySide2.QtWidgets.QSplitterHandle
- mouseDoubleClickEvent(self, event: PySide2.QtGui.QMouseEvent) → None¶
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶
- class gdesk.ezdock.boxes.DockBox(orientation)¶
Bases:
PySide2.QtWidgets.QSplitter
,gdesk.ezdock.docks.DockBase
- PinArea = 1¶
- ScrollArea = 2¶
- SplitArea = 0¶
- addWidget(self, widget: PySide2.QtWidgets.QWidget) → None¶
- count(self) → int¶
- createHandle(self) → PySide2.QtWidgets.QSplitterHandle¶
- currentIndex()¶
- distributeWidgets()¶
- moveToOtherArea(widget, area=None)¶
- setCurrentIndex(index)¶
- setSizes(self, list: typing.Sequence[int]) → None¶
- show(self) → None¶
- sizes(self) → typing.List[int]¶
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶
- widget(self, index: int) → PySide2.QtWidgets.QWidget¶
- class gdesk.ezdock.boxes.DockHBox¶
Bases:
gdesk.ezdock.boxes.DockBox
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶
- class gdesk.ezdock.boxes.DockVBox¶
Bases:
gdesk.ezdock.boxes.DockBox
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶
- class gdesk.ezdock.boxes.PinnedBox(orientation)¶
Bases:
PySide2.QtWidgets.QSplitter
- collapse(widget)¶
- createHandle(self) → PySide2.QtWidgets.QSplitterHandle¶
- distributeWidgets(handle)¶
- moveToOtherArea(widget)¶
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶
- class gdesk.ezdock.boxes.PinnedSplitterHandle¶
Bases:
PySide2.QtWidgets.QSplitterHandle
- mouseDoubleClickEvent(self, event: PySide2.QtGui.QMouseEvent) → None¶
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶
- class gdesk.ezdock.boxes.ScrollBox(orientation)¶
Bases:
PySide2.QtWidgets.QScrollArea
- addWidget(widget)¶
- count()¶
- removeWidget(widget)¶
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶
- class gdesk.ezdock.boxes.SplitBox(orientation)¶
Bases:
PySide2.QtWidgets.QWidget
- addWidget(widget)¶
- changeWidgetSize(pos_or_widget, size, delta=False, fixed=False)¶
Set the widget at pos to size. Adapt the size of the splitbox so no other widgets resizes
- collapse(widget)¶
- count()¶
- distributeWidgets(handle)¶
- indexOf(widget)¶
- insertWidget(pos, widget)¶
- orientation()¶
- removeWidget(widget)¶
- resizeWidget(widget, size)¶
- setSizes(sizes)¶
- sizes()¶
- staticMetaObject = <PySide2.QtCore.QMetaObject object>¶
- stretches()¶
- widget(index)¶