Skip to content

VBoxLayout

Qt Base Class: QVBoxLayout

Signature: QVBoxLayout(self) -> None QVBoxLayout(self, parent: PySide6.QtWidgets.QWidget) -> None

Base classes

Name Children Inherits
BoxLayoutMixin
prettyqt.widgets.boxlayout
QVBoxLayout
PySide6.QtWidgets
QVBoxLayout(self) -> None

⋔ Inheritance diagram

graph TD
  1473296366176["widgets.VBoxLayout"]
  1473296351536["widgets.BoxLayoutMixin"]
  1473296333968["widgets.LayoutMixin"]
  1473299815024["core.ObjectMixin"]
  140713234304496["builtins.object"]
  1473296346656["widgets.LayoutItemMixin"]
  1473365809920["QtWidgets.QVBoxLayout"]
  1473365797232["QtWidgets.QBoxLayout"]
  1473365768928["QtWidgets.QLayout"]
  1473288842240["QtCore.QObject"]
  1473291690208["Shiboken.Object"]
  1473290791120["QtWidgets.QLayoutItem"]
  1473296351536 --> 1473296366176
  1473296333968 --> 1473296351536
  1473299815024 --> 1473296333968
  140713234304496 --> 1473299815024
  1473296346656 --> 1473296333968
  140713234304496 --> 1473296346656
  1473365809920 --> 1473296366176
  1473365797232 --> 1473365809920
  1473365768928 --> 1473365797232
  1473288842240 --> 1473365768928
  1473291690208 --> 1473288842240
  140713234304496 --> 1473291690208
  1473290791120 --> 1473365768928
  1473291690208 --> 1473290791120

🛈 DocStrings

Bases: BoxLayoutMixin, QVBoxLayout

Lines up widgets vertically.

Source code in prettyqt\widgets\vboxlayout.py
6
7
8
9
class VBoxLayout(widgets.boxlayout.BoxLayoutMixin, widgets.QVBoxLayout):
    """Lines up widgets vertically."""

    ID = "vertical"

⌗ Property table

Qt Property Type Doc
objectName QString
spacing int
contentsMargins QMargins
sizeConstraint QLayout::SizeConstraint