KDEUI
ktoolbarpopupaction.cpp
Go to the documentation of this file.
50 KToolBarPopupAction::KToolBarPopupAction(const KIcon& icon, const QString& text, QObject *parent)
virtual ~KToolBarPopupAction()
Destroys the toolbar popup action.
Definition: ktoolbarpopupaction.cpp:57
KToolBarPopupAction(const KIcon &icon, const QString &text, QObject *parent)
Create a KToolBarPopupAction, with a text, an icon, a parent and a name.
Definition: ktoolbarpopupaction.cpp:50
void setDefaultAction(QAction *action)
void setFocusPolicy(Qt::FocusPolicy policy)
void setMenu(QMenu *menu)
bool delayed() const
Returns true if this action creates a delayed popup menu when plugged in a KToolBar.
toolButtonStyle
KMenu * popupMenu() const
The popup menu that is shown when clicking (some time) on the toolbar button.
Definition: ktoolbarpopupaction.cpp:64
void setIconSize(const QSize &size)
void setAutoRaise(bool enable)
void triggered(Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
Emitted when the action is triggered.
virtual QWidget * createWidget(QWidget *parent)
void setPopupMode(ToolButtonPopupMode mode)
bool stickyMenu() const
Returns true if this action creates a sticky popup menu.
void setDelayed(bool delayed)
If set to true, this action will create a delayed popup menu when plugged in a KToolBar.
Definition: ktoolbarpopupaction.cpp:105
iconSize
virtual QWidget * createWidget(QWidget *parent)
Reimplemented from.
Definition: ktoolbarpopupaction.cpp:70
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
QObject * parent() const
void setToolButtonStyle(Qt::ToolButtonStyle style)
void setStickyMenu(bool sticky)
If set to true, this action will create a sticky popup menu when plugged in a KToolBar.
Definition: ktoolbarpopupaction.cpp:115
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:00 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.