Pages
API Documentation
On this page

KToolBarSpacerAction Class

An extension to QAction which allows for adding a spacer item into a QToolBar / KToolBar. More...

  • Header: #include <KToolBarSpacerAction>
  • CMake: find_package(KF6 REQUIRED COMPONENTS WidgetsAddons)
    target_link_libraries(mytarget PRIVATE KF6::WidgetsAddons)
  • Inherits: QWidgetAction

List of all members, including inherited members

Public Functions

Detailed Description

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.

Member Function Documentation

[explicit] KToolBarSpacerAction::KToolBarSpacerAction(QObject *parent)

Creates a new toolbar spacer action.

parent The action's parent object.

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.