|
| KToggleToolBarAction (KToolBar *toolBar, const QString &text, QObject *parent) |
|
| ~KToggleToolBarAction () override |
|
bool | eventFilter (QObject *watched, QEvent *event) override |
|
KToolBar * | toolBar () |
|
| KToggleAction (const QIcon &icon, const QString &text, QObject *parent) |
|
| KToggleAction (const QString &text, QObject *parent) |
|
| KToggleAction (QObject *parent) |
|
void | setCheckedState (const KGuiItem &checkedItem) |
|
| QAction (const QIcon &icon, const QString &text, QObject *parent) |
|
| QAction (const QString &text, QObject *parent) |
|
| QAction (QObject *parent) |
|
QActionGroup * | actionGroup () const const |
|
void | activate (ActionEvent event) |
|
QList< QGraphicsWidget * > | associatedGraphicsWidgets () const const |
|
QList< QObject * > | associatedObjects () const const |
|
QList< QWidget * > | associatedWidgets () const const |
|
bool | autoRepeat () const const |
|
void | changed () |
|
void | checkableChanged (bool checkable) |
|
QVariant | data () const const |
|
void | enabledChanged (bool enabled) |
|
QFont | font () const const |
|
void | hover () |
|
void | hovered () |
|
QIcon | icon () const const |
|
QString | iconText () const const |
|
bool | isCheckable () const const |
|
bool | isChecked () const const |
|
bool | isEnabled () const const |
|
bool | isSeparator () const const |
|
bool | isVisible () const const |
|
QWidget * | parentWidget () const const |
|
Priority | priority () const const |
|
void | resetEnabled () |
|
void | setActionGroup (QActionGroup *group) |
|
void | setAutoRepeat (bool) |
|
void | setCheckable (bool) |
|
void | setChecked (bool) |
|
void | setData (const QVariant &data) |
|
void | setDisabled (bool b) |
|
void | setEnabled (bool) |
|
void | setFont (const QFont &font) |
|
void | setIcon (const QIcon &icon) |
|
void | setIconText (const QString &text) |
|
void | setPriority (Priority priority) |
|
void | setSeparator (bool b) |
|
void | setShortcut (const QKeySequence &shortcut) |
|
void | setShortcutContext (Qt::ShortcutContext context) |
|
void | setShortcuts (const QList< QKeySequence > &shortcuts) |
|
void | setShortcuts (QKeySequence::StandardKey key) |
|
void | setStatusTip (const QString &statusTip) |
|
void | setText (const QString &text) |
|
void | setToolTip (const QString &tip) |
|
void | setVisible (bool) |
|
void | setWhatsThis (const QString &what) |
|
QKeySequence | shortcut () const const |
|
Qt::ShortcutContext | shortcutContext () const const |
|
QList< QKeySequence > | shortcuts () const const |
|
bool | showStatusText (QObject *object) |
|
QString | statusTip () const const |
|
QString | text () const const |
|
void | toggle () |
|
void | toggled (bool checked) |
|
QString | toolTip () const const |
|
void | trigger () |
|
void | triggered (bool checked) |
|
void | visibleChanged () |
|
QString | whatsThis () const const |
|
| QObject (QObject *parent) |
|
QBindable< QString > | bindableObjectName () |
|
bool | blockSignals (bool block) |
|
const QObjectList & | children () const const |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const const |
|
void | deleteLater () |
|
void | destroyed (QObject *obj) |
|
bool | disconnect (const char *signal, const QObject *receiver, const char *method) const const |
|
bool | disconnect (const QObject *receiver, const char *method) const const |
|
void | dumpObjectInfo () const const |
|
void | dumpObjectTree () const const |
|
QList< QByteArray > | dynamicPropertyNames () const const |
|
T | findChild (const QString &name, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QRegularExpression &re, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (const QString &name, Qt::FindChildOptions options) const const |
|
QList< T > | findChildren (Qt::FindChildOptions options) const const |
|
bool | inherits (const char *className) const const |
|
void | installEventFilter (QObject *filterObj) |
|
bool | isQuickItemType () const const |
|
bool | isWidgetType () const const |
|
bool | isWindowType () const const |
|
void | killTimer (int id) |
|
virtual const QMetaObject * | metaObject () const const |
|
void | moveToThread (QThread *targetThread) |
|
QString | objectName () const const |
|
void | objectNameChanged (const QString &objectName) |
|
QObject * | parent () const const |
|
QVariant | property (const char *name) const const |
|
| Q_CLASSINFO (Name, Value) |
|
| Q_EMIT Q_EMIT |
|
| Q_ENUM (...) |
|
| Q_ENUM_NS (...) |
|
| Q_ENUMS (...) |
|
| Q_FLAG (...) |
|
| Q_FLAG_NS (...) |
|
| Q_FLAGS (...) |
|
| Q_GADGET Q_GADGET |
|
| Q_GADGET_EXPORT (EXPORT_MACRO) |
|
| Q_INTERFACES (...) |
|
| Q_INVOKABLE Q_INVOKABLE |
|
| Q_MOC_INCLUDE Q_MOC_INCLUDE |
|
| Q_NAMESPACE Q_NAMESPACE |
|
| Q_NAMESPACE_EXPORT (EXPORT_MACRO) |
|
| Q_OBJECT Q_OBJECT |
|
| Q_PROPERTY (...) |
|
| Q_REVISION Q_REVISION |
|
| Q_SET_OBJECT_NAME (Object) |
|
| Q_SIGNAL Q_SIGNAL |
|
| Q_SIGNALS Q_SIGNALS |
|
| Q_SLOT Q_SLOT |
|
| Q_SLOTS Q_SLOTS |
|
T | qobject_cast (const QObject *object) |
|
T | qobject_cast (QObject *object) |
|
| QT_NO_NARROWING_CONVERSIONS_IN_CONNECT QT_NO_NARROWING_CONVERSIONS_IN_CONNECT |
|
void | removeEventFilter (QObject *obj) |
|
void | setObjectName (const QString &name) |
|
void | setObjectName (QAnyStringView name) |
|
void | setParent (QObject *parent) |
|
bool | setProperty (const char *name, const QVariant &value) |
|
bool | setProperty (const char *name, QVariant &&value) |
|
bool | signalsBlocked () const const |
|
int | startTimer (int interval, Qt::TimerType timerType) |
|
int | startTimer (std::chrono::milliseconds interval, Qt::TimerType timerType) |
|
QThread * | thread () const const |
|
|
enum | ActionEvent |
|
enum | Priority |
|
| autoRepeat |
|
| checkable |
|
| checked |
|
| enabled |
|
| font |
|
| icon |
|
| iconText |
|
| priority |
|
| shortcut |
|
| shortcutContext |
|
| statusTip |
|
| text |
|
| toolTip |
|
| visible |
|
| whatsThis |
|
| objectName |
|
QMetaObject::Connection | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *context, Functor functor, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method, Qt::ConnectionType type) |
|
QMetaObject::Connection | connect (const QObject *sender, PointerToMemberFunction signal, Functor functor) |
|
bool | disconnect (const QMetaObject::Connection &connection) |
|
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
|
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
|
bool | disconnect (const QObject *sender, PointerToMemberFunction signal, const QObject *receiver, PointerToMemberFunction method) |
|
QString | tr (const char *sourceText, const char *disambiguation, int n) |
|
| HighPriority |
|
| Hover |
|
| LowPriority |
|
| NormalPriority |
|
| Trigger |
|
typedef | QObjectList |
|
virtual bool | event (QEvent *e) override |
|
virtual void | childEvent (QChildEvent *event) |
|
virtual void | connectNotify (const QMetaMethod &signal) |
|
virtual void | customEvent (QEvent *event) |
|
virtual void | disconnectNotify (const QMetaMethod &signal) |
|
bool | isSignalConnected (const QMetaMethod &signal) const const |
|
int | receivers (const char *signal) const const |
|
QObject * | sender () const const |
|
int | senderSignalIndex () const const |
|
virtual void | timerEvent (QTimerEvent *event) |
|
An action that takes care of everything associated with showing or hiding a toolbar by a menu action.
It will show or hide the toolbar with the given name when activated, and check or uncheck itself if the toolbar is manually shown or hidden.
If you need to perform some additional action when the toolbar is shown or hidden, connect to the toggled(bool) signal. It will be emitted after the toolbar's visibility has changed, whenever it changes.
Definition at line 39 of file ktoggletoolbaraction.h.