Layout (hwx.gui)#
- class Layout#
Bases:
object
Base class for BoxLayout and GridLayout.
# Name
Type
property
property
property
property
# Name
Description
setProperties
(self, kwds)Internal method called from constructors.
- property margin#
The spacing around the sides.
- property border#
The spacing around the sides.
- property spacing#
The spacing between widgets.
- class ResizeMode(value)#
Bases:
Enum
FreeResize: The widget is not constrained. Minimum: size > minimumSize Maximum: size < maximumSize MinAndMaxSize: minimumSize < size < maximumSize Fixed: Fixed at SizeHint() and cannot be resized. Auto: size > minimumSize
# Name
Type
Auto
ResizeMode
Fixed
ResizeMode
FreeResize
ResizeMode
Maximum
ResizeMode
MinAndMaxSize
ResizeMode
Minimum
ResizeMode
- property resizeMode#
The widget is not constrained. Minimum: size > minimumSize Maximum: size < maximumSize MinAndMaxSize: minimumSize < size < maximumSize Fixed: Fixed at SizeHint() and cannot be resized. Auto: size > minimumSize
- Type:
FreeResize
- setProperties(kwds)#
Internal method called from constructors.