KDE 5.0 PyKDE API Reference
  • KDE's Python API
  • Overview
  • PyKDE Home
  • Sitemap
  • Contact Us
 

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.

Author:
Hamish Rodda <rodda@kde.org>


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.

  • Full Index

Modules

  • karchive
  • kcoreaddons
  • kguiaddons
  • kitemmodels
  • kitemviews
  • kplotting
  • kwidgetsaddons
  • solid
  • sonnet
This documentation is maintained by Simon Edwards.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal