KToolBarSpacerAction Class Reference
from PyKDE5.kwidgetsaddons import *
Inherits: QWidgetAction → QAction → QObject
Detailed Description
An extension to KAction which allows for adding a spacer item into a QToolBar / KToolBar.
This is useful if you want to align at the right (or left if RTL) and need something that pushes the element to the end of the tool bar.
Methods | |
__init__ (self, QObject parent) | |
QWidget | createWidget (self, QWidget parent) |
Method Documentation
__init__ | ( | self, | ||
QObject | parent | |||
) |
Creates a new toolbar spacer action.
- Parameters:
-
parent The action's parent object.
QWidget createWidget | ( | self, | ||
QWidget | parent | |||
) |
Reimplemented from
- See also:
- QActionWidget.