The spacers module
The spacers module contains classes which provide the ability to easily
create horizontal or vertical QSpacerItems.
The VerticalSpacer class
-
class pyamp.ui.qt.spacers.VerticalSpacer(width=10, height=10)[source]
Create a vertically expanding spacer.
- width – The fixed width
- height – The minimum height
The FixedVerticalSpacer class
-
class pyamp.ui.qt.spacers.FixedVerticalSpacer(width=10, height=10)[source]
Create a vertically fixed spacer item.
- width – The width for the spacer
- height – The fixed height
The HorizontalSpacer class
-
class pyamp.ui.qt.spacers.HorizontalSpacer(width=10, height=10)[source]
Create a horizontallay expanding spacer.
- width – The minimum width
- height – The fixed height
The FixedHorizontalSpacer class
-
class pyamp.ui.qt.spacers.FixedHorizontalSpacer(width=10, height=10)[source]
Create a horizontally fixed spacer item.
- width – The fixed width
- height – The height for the spacer