The spacers module

The spacers module contains classes which provide the ability to easily create horizontal or vertical QSpacerItems.

The VerticalSpacer class

Inheritance diagram of pyamp.ui.qt.spacers.VerticalSpacer

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

Inheritance diagram of pyamp.ui.qt.spacers.FixedVerticalSpacer

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

Inheritance diagram of pyamp.ui.qt.spacers.HorizontalSpacer

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

Inheritance diagram of pyamp.ui.qt.spacers.FixedHorizontalSpacer

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

Table Of Contents

Previous topic

The resizePolicy module

Next topic

The styleSheet module

This Page