GraphicsLayoutItemMixin
Subclasses
Class | Module | Description |
---|---|---|
GraphicsLayoutItem | prettyqt.widgets.graphicslayoutitem | |
GraphicsLayoutMixin | prettyqt.widgets.graphicslayout | |
GraphicsWidgetMixin | prettyqt.widgets.graphicswidget |
⋔ Inheritance diagram
graph TD
1473293712640["widgets.GraphicsLayoutItemMixin"]
140713234304496["builtins.object"]
140713234304496 --> 1473293712640
🛈 DocStrings
Source code in prettyqt\widgets\graphicslayoutitem.py
set_size_policy(horizontal: widgets.sizepolicy.SizePolicyStr, vertical: widgets.sizepolicy.SizePolicyStr, control_type: widgets.sizepolicy.ControlTypeStr = 'default')
Set the size policy.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
horizontal |
SizePolicyStr
|
horizontal size policy |
required |
vertical |
SizePolicyStr
|
vertical size policy |
required |
control_type |
ControlTypeStr
|
control type associated with the widget |
'default'
|