class QLayouted:
Known subclasses: magneticalc.QtWidgets2.QDialog2.QDialog2
, magneticalc.QtWidgets2.QGroupBox2.QGroupBox2
Method | __init__ |
Initializes the QLayouted class. This adds a layout and several related functions like addWidget() to the parent class. |
Method | addButtons |
Adds buttons. |
Method | addLayout |
Adds layout. |
Method | addSpacing |
Adds spacing. |
Method | addWidget |
Adds widget. |
Method | install_layout |
Installs this layout in the parent. |
Instance Variable | _layout |
Undocumented |
magneticalc.QtWidgets2.QDialog2.QDialog2
, magneticalc.QtWidgets2.QGroupBox2.QGroupBox2
Parameters | |
direction:str | Sets "vertical" or "horizontal" layout |
Parameters | |
data:Dict[ | Dictionary {text: (icon, callback), …} |
Returns | |
Dict[ | Dictionary {index: QPushButton, …} |
Parameters | |
widget | QWidget |
alignment:Optional[ | Alignment |