Skip to content

HBoxLayout

Base classes

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

⋔ Inheritance diagram

graph TD
  1989680660["widgets.HBoxLayout"]
  3742431790["widgets.BoxLayoutMixin"]
  904409146["widgets.LayoutMixin"]
  3227531497["core.ObjectMixin"]
  2751680898["builtins.object"]
  632278017["widgets.LayoutItemMixin"]
  3897288205["QtWidgets.QHBoxLayout"]
  1173018045["QtWidgets.QBoxLayout"]
  1745141264["QtWidgets.QLayout"]
  3984060476["QtCore.QObject"]
  37984305["Shiboken.Object"]
  133505739["QtWidgets.QLayoutItem"]
  3742431790 --> 1989680660
  904409146 --> 3742431790
  3227531497 --> 904409146
  2751680898 --> 3227531497
  632278017 --> 904409146
  2751680898 --> 632278017
  2751680898 --> 904409146
  2751680898 --> 3742431790
  3897288205 --> 1989680660
  1173018045 --> 3897288205
  1745141264 --> 1173018045
  3984060476 --> 1745141264
  37984305 --> 3984060476
  2751680898 --> 37984305
  133505739 --> 1745141264
  37984305 --> 133505739

🛈 DocStrings

Bases: BoxLayoutMixin, QHBoxLayout

Lines up widgets horizontally.

Source code in prettyqt/widgets/hboxlayout.py
4
5
6
7
class HBoxLayout(widgets.boxlayout.BoxLayoutMixin, widgets.QHBoxLayout):
    """Lines up widgets horizontally."""

    ID = "horizontal"

:fa-brands-github: Show source on GitHub