module widgets.layouts
Global Variables
- alignments
- orientations
class ContextLayoutBase
method ContextLayoutBase.add
add(
item: Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]],
*args,
**kwargs
) → Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]]
class ContextLayout
method ContextLayout.__init__
__init__(
parent: PySide6.QtWidgets.QMainWindow | PySide6.QtWidgets.QSplitter | PySide6.QtWidgets.QWidget | widgets.layouts.ContextLayoutBase | None = None,
stretch: int | None = None,
margins: PySide6.QtCore.QMargins | tuple | int | None = None,
align: Optional[Literal[<AlignmentFlag.AlignLeft: 1>, <AlignmentFlag.AlignRight: 2>, <AlignmentFlag.AlignTop: 32>, <AlignmentFlag.AlignBottom: 64>, <AlignmentFlag.AlignCenter: 132>, 'left', 'l', 'right', 'r', 'top', 't', 'bottom', 'bot', 'b', 'center', 'c']] = None,
**kwargs
)
method ContextLayout.add
add(
item: Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]],
*args,
**kwargs
) → Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]]
method ContextLayout.form
form(*args, **kwargs)
method ContextLayout.grid
grid(*args, **kwargs)
method ContextLayout.hbox
hbox(*args, **kwargs)
method ContextLayout.scroll
scroll(name: str | None = None, **kwargs)
method ContextLayout.split
split(name: str | None = None, **kwargs)
method ContextLayout.vbox
vbox(*args, **kwargs)
class CVBoxLayout
method CVBoxLayout.__init__
__init__(
parent: PySide6.QtWidgets.QMainWindow | PySide6.QtWidgets.QSplitter | PySide6.QtWidgets.QWidget | widgets.layouts.ContextLayoutBase | None = None,
stretch: int | None = None,
margins: PySide6.QtCore.QMargins | tuple | int | None = None,
align: Optional[Literal[<AlignmentFlag.AlignLeft: 1>, <AlignmentFlag.AlignRight: 2>, <AlignmentFlag.AlignTop: 32>, <AlignmentFlag.AlignBottom: 64>, <AlignmentFlag.AlignCenter: 132>, 'left', 'l', 'right', 'r', 'top', 't', 'bottom', 'bot', 'b', 'center', 'c']] = None,
**kwargs
)
method CVBoxLayout.add
add(
item: Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]],
*args,
**kwargs
) → Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]]
method CVBoxLayout.form
form(*args, **kwargs)
method CVBoxLayout.grid
grid(*args, **kwargs)
method CVBoxLayout.hbox
hbox(*args, **kwargs)
method CVBoxLayout.scroll
scroll(name: str | None = None, **kwargs)
method CVBoxLayout.split
split(name: str | None = None, **kwargs)
method CVBoxLayout.vbox
vbox(*args, **kwargs)
class CHBoxLayout
method CHBoxLayout.__init__
__init__(
parent: PySide6.QtWidgets.QMainWindow | PySide6.QtWidgets.QSplitter | PySide6.QtWidgets.QWidget | widgets.layouts.ContextLayoutBase | None = None,
stretch: int | None = None,
margins: PySide6.QtCore.QMargins | tuple | int | None = None,
align: Optional[Literal[<AlignmentFlag.AlignLeft: 1>, <AlignmentFlag.AlignRight: 2>, <AlignmentFlag.AlignTop: 32>, <AlignmentFlag.AlignBottom: 64>, <AlignmentFlag.AlignCenter: 132>, 'left', 'l', 'right', 'r', 'top', 't', 'bottom', 'bot', 'b', 'center', 'c']] = None,
**kwargs
)
method CHBoxLayout.add
add(
item: Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]],
*args,
**kwargs
) → Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]]
method CHBoxLayout.form
form(*args, **kwargs)
method CHBoxLayout.grid
grid(*args, **kwargs)
method CHBoxLayout.hbox
hbox(*args, **kwargs)
method CHBoxLayout.scroll
scroll(name: str | None = None, **kwargs)
method CHBoxLayout.split
split(name: str | None = None, **kwargs)
method CHBoxLayout.vbox
vbox(*args, **kwargs)
class CGridLayout
method CGridLayout.__init__
__init__(
parent: PySide6.QtWidgets.QMainWindow | PySide6.QtWidgets.QSplitter | PySide6.QtWidgets.QWidget | widgets.layouts.ContextLayoutBase | None = None,
stretch: int | None = None,
margins: PySide6.QtCore.QMargins | tuple | int | None = None,
align: Optional[Literal[<AlignmentFlag.AlignLeft: 1>, <AlignmentFlag.AlignRight: 2>, <AlignmentFlag.AlignTop: 32>, <AlignmentFlag.AlignBottom: 64>, <AlignmentFlag.AlignCenter: 132>, 'left', 'l', 'right', 'r', 'top', 't', 'bottom', 'bot', 'b', 'center', 'c']] = None,
**kwargs
)
method CGridLayout.add
add(
item: Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]],
*args,
**kwargs
) → Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]]
method CGridLayout.addLayout
addLayout(
item: PySide6.QtWidgets.QLayout,
row: int,
column: int,
row_span: int = 1,
column_span: int = 1,
rowSpan: int = 1,
columnSpan: int = 1,
**kwargs
) → None
Change the function signature to allow using the spans as named params
method CGridLayout.addWidget
addWidget(
item: PySide6.QtWidgets.QWidget,
row: int,
column: int,
row_span: int = 1,
column_span: int = 1,
rowSpan: int = 1,
columnSpan: int = 1,
**kwargs
) → None
Change the function signature to allow using the spans as named params
method CGridLayout.form
form(*args, **kwargs)
method CGridLayout.grid
grid(*args, **kwargs)
method CGridLayout.hbox
hbox(*args, **kwargs)
method CGridLayout.scroll
scroll(name: str | None = None, **kwargs)
method CGridLayout.split
split(name: str | None = None, **kwargs)
method CGridLayout.vbox
vbox(*args, **kwargs)
class CFormLayout
method CFormLayout.__init__
__init__(
parent: PySide6.QtWidgets.QMainWindow | PySide6.QtWidgets.QSplitter | PySide6.QtWidgets.QWidget | widgets.layouts.ContextLayoutBase | None = None,
stretch: int | None = None,
margins: PySide6.QtCore.QMargins | tuple | int | None = None,
align: Optional[Literal[<AlignmentFlag.AlignLeft: 1>, <AlignmentFlag.AlignRight: 2>, <AlignmentFlag.AlignTop: 32>, <AlignmentFlag.AlignBottom: 64>, <AlignmentFlag.AlignCenter: 132>, 'left', 'l', 'right', 'r', 'top', 't', 'bottom', 'bot', 'b', 'center', 'c']] = None,
**kwargs
)
method CFormLayout.add
add(
a: Union[str, PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, tuple[str, PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout], Sequence[tuple[str, PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]], dict[str, PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]],
b: PySide6.QtWidgets.QWidget = None
)
method CFormLayout.form
form(*args, **kwargs)
method CFormLayout.grid
grid(*args, **kwargs)
method CFormLayout.hbox
hbox(*args, **kwargs)
method CFormLayout.scroll
scroll(name: str | None = None, **kwargs)
method CFormLayout.split
split(name: str | None = None, **kwargs)
method CFormLayout.vbox
vbox(*args, **kwargs)
class CSplitter
method CSplitter.__init__
__init__(
parent: PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout | widgets.layouts.ContextLayoutBase | None = None,
margins: PySide6.QtCore.QMargins | tuple | int | None = None,
orientation: Optional[Literal[<Orientation.Horizontal: 1>, <Orientation.Vertical: 2>, 'horizontal', 'h', 'vertical', 'v']] = None,
**kwargs
)
method CSplitter.add
add(
item: Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]],
stretch: int | None = None
) → Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]]
class PersistentCSplitter
method PersistentCSplitter.__init__
__init__(
name: str,
parent: PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout | widgets.layouts.ContextLayoutBase | None = None,
**kwargs
)
method PersistentCSplitter.add
add(
item: Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]],
stretch: int | None = None
) → Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]]
method PersistentCSplitter.restore_state
restore_state()
class CScrollArea
method CScrollArea.__init__
__init__(
parent: PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout | widgets.layouts.ContextLayoutBase | None = None,
margins: PySide6.QtCore.QMargins | tuple | int | None = None,
orientation: Optional[Literal[<Orientation.Horizontal: 1>, <Orientation.Vertical: 2>, 'horizontal', 'h', 'vertical', 'v']] = None,
**kwargs
)
method CScrollArea.add
add(
item: Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]],
stretch: int = None
) → Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]]
method CScrollArea.addLayout
addLayout(*args, **kwargs)
method CScrollArea.addWidget
addWidget(*args, **kwargs)
class PersistentCScrollArea
method PersistentCScrollArea.__init__
__init__(
name: str,
parent: PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout | widgets.layouts.ContextLayoutBase | None = None,
**kwargs
)
method PersistentCScrollArea.add
add(
item: Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]],
*args,
**kwargs
) → Union[PySide6.QtWidgets.QWidget, PySide6.QtWidgets.QLayout, Sequence[PySide6.QtWidgets.QWidget | PySide6.QtWidgets.QLayout]]
method PersistentCScrollArea.restore_state
restore_state()
method PersistentCScrollArea.scroll_to
scroll_to(value: int)
This file was automatically generated via lazydocs.