KWidgetsAddons
ktoolbarpopupaction.h
63 DelayedPopup = QToolButton::DelayedPopup, ///< Clicking anywhere on the toolbar button triggers the default action.
65 MenuButtonPopup = QToolButton::MenuButtonPopup, ///< The toolbar button is split in a main button (triggers default action)
67 InstantPopup = QToolButton::InstantPopup, ///< Clicking anywhere on the toolbar button opens the popup menu.
This action is a normal action everywhere, except in a toolbar where it also has a popupmenu (optiona...
Definition ktoolbarpopupaction.h:47
QMenu * popupMenu() const
The popup menu that is shown when clicking (some time) on the toolbar button.
Definition ktoolbarpopupaction.cpp:103
@ MenuButtonPopup
The toolbar button is split in a main button (triggers default action) and an arrow button (opens the...
Definition ktoolbarpopupaction.h:65
@ InstantPopup
Clicking anywhere on the toolbar button opens the popup menu.
Definition ktoolbarpopupaction.h:67
@ DelayedPopup
Clicking anywhere on the toolbar button triggers the default action.
Definition ktoolbarpopupaction.h:63
void setPopupMode(PopupMode popupMode)
Determines the popup mode of the toolbar button.
Definition ktoolbarpopupaction.cpp:91
KToolBarPopupAction(const QIcon &icon, const QString &text, QObject *parent)
Create a KToolBarPopupAction, with a text, an icon, a parent and a name.
Definition ktoolbarpopupaction.cpp:55
~KToolBarPopupAction() override
Destroys the toolbar popup action.
Q_ENUM(...)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
QObject * parent() const const
DelayedPopup
QWidgetAction(QObject *parent)
virtual QWidget * createWidget(QWidget *parent)
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:56:58 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.