KDEUI
kactionmenu.cpp
Go to the documentation of this file.
95 QObject::connect(button, SIGNAL(triggered(QAction*)), parent, SIGNAL(actionTriggered(QAction*)));
void setText(const QString &text)
void setSeparator(bool b)
void setDefaultAction(QAction *action)
void setFocusPolicy(Qt::FocusPolicy policy)
void setMenu(QMenu *menu)
toolButtonStyle
void setStickyMenu(bool sticky)
If set to true, this action will create a sticky popup menu when plugged in a KToolBar.
Definition: kactionmenu.cpp:158
void insertAction(QAction *before, QAction *action)
void setShortcutConfigurable(bool configurable)
Indicate whether the user may configure the action's shortcut.
Definition: kaction.cpp:178
void setIconSize(const QSize &size)
QAction * insertSeparator(QAction *before)
Definition: kactionmenu.cpp:128
bool delayed() const
Returns true if this action creates a delayed popup menu when plugged in a KToolBar.
void setAutoRaise(bool enable)
bool stickyMenu() const
Returns true if this action creates a sticky popup menu.
virtual QWidget * createWidget(QWidget *parent)
Definition: kactionmenu.cpp:80
void triggered(Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers)
Emitted when the action is triggered.
virtual QWidget * createWidget(QWidget *parent)
void insertAction(QAction *before, QAction *action)
Definition: kactionmenu.cpp:136
void setPopupMode(ToolButtonPopupMode mode)
void removeAction(QAction *action)
iconSize
QAction(QObject *parent)
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 setDelayed(bool delayed)
If set to true, this action will create a delayed popup menu when plugged in a KToolBar.
Definition: kactionmenu.cpp:150
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:58 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:23:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.