class documentation
class QLayouted:
Known subclasses: magneticalc.QtWidgets2.QDialog2.QDialog2, magneticalc.QtWidgets2.QGroupBox2.QGroupBox2
Constructor: QLayouted(direction)
QLayouted class.
| Method | __init__ |
Initializes the QLayouted class. This adds a layout and several related functions like addWidget() to the parent class. |
| Method | add |
Adds buttons. |
| Method | add |
Adds layout. |
| Method | add |
Adds spacing. |
| Method | add |
Adds widget. |
| Method | install |
Installs this layout in the parent. |
| Instance Variable | _layout |
Undocumented |
overridden in
magneticalc.QtWidgets2.QDialog2.QDialog2, magneticalc.QtWidgets2.QGroupBox2.QGroupBox2Initializes the QLayouted class. This adds a layout and several related functions like addWidget() to the parent class.
| Parameters | |
direction:str | Sets "vertical" or "horizontal" layout |
Adds buttons.
| Parameters | |
data:dict[ | Dictionary {text: (icon, callback), …} |
| Returns | |
dict[ | Dictionary {index: QPushButton, …} |