Layout (hwx.gui)#

class Layout#

Bases: object

Base class for BoxLayout and GridLayout.

Attribute Table#

Name

Type

border

property

margin

property

resizeMode

property

spacing

property

Method Table#

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

Attribute Table#

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.