KDEUI
#include <ktoolbarspaceraction.h>
Properties | |
int | maximumWidth |
int | minimumWidth |
int | width |
Properties inherited from KAction | |
KShortcut | globalShortcut |
bool | globalShortcutAllowed |
bool | globalShortcutEnabled |
KShortcut | shortcut |
bool | shortcutConfigurable |
Properties inherited from QAction | |
autoRepeat | |
checkable | |
checked | |
enabled | |
font | |
icon | |
iconText | |
iconVisibleInMenu | |
menuRole | |
priority | |
shortcut | |
shortcutContext | |
softKeyRole | |
statusTip | |
text | |
toolTip | |
visible | |
whatsThis | |
Properties inherited from QObject | |
objectName | |
Additional Inherited Members | |
Public Types inherited from KAction | |
enum | GlobalShortcutLoading { Autoloading = 0x0, NoAutoloading = 0x4 } |
enum | ShortcutType { ActiveShortcut = 0x1, DefaultShortcut = 0x2 } |
Signals inherited from KAction | |
void | authorized (KAuth::Action *action) |
void | globalShortcutChanged (const QKeySequence &) |
void | triggered (Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers) |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
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) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Protected Member Functions inherited from QWidgetAction | |
QList< QWidget * > | createdWidgets () const |
virtual bool | eventFilter (QObject *obj, QEvent *event) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Detailed Description
An extension to KAction which allows for adding a spacer item into a QToolBar / KToolBar.
Use this as the replacement for the old KToolBar::alignItemRight().
Definition at line 32 of file ktoolbarspaceraction.h.
Constructor & Destructor Documentation
|
explicit |
Creates a new toolbar spacer action.
- Parameters
-
parent The action's parent object.
Definition at line 42 of file ktoolbarspaceraction.cpp.
KToolBarSpacerAction::~KToolBarSpacerAction | ( | ) |
Definition at line 48 of file ktoolbarspaceraction.cpp.
Member Function Documentation
Reimplemented from.
- See also
- QActionWidgetFactory.
Reimplemented from QWidgetAction.
Definition at line 101 of file ktoolbarspaceraction.cpp.
|
virtual |
Reimplemented from.
- See also
- QWidgetAction.
Reimplemented from QWidgetAction.
Definition at line 116 of file ktoolbarspaceraction.cpp.
int KToolBarSpacerAction::maximumWidth | ( | ) | const |
Returns the maximum width of the spacer item.
int KToolBarSpacerAction::minimumWidth | ( | ) | const |
Returns the minimum width of the spacer item.
void KToolBarSpacerAction::setMaximumWidth | ( | int | width | ) |
Sets the maximum.
- Parameters
-
width of the spacer item.
Definition at line 90 of file ktoolbarspaceraction.cpp.
void KToolBarSpacerAction::setMinimumWidth | ( | int | width | ) |
Sets the minimum.
- Parameters
-
width of the spacer item.
Definition at line 74 of file ktoolbarspaceraction.cpp.
void KToolBarSpacerAction::setWidth | ( | int | width | ) |
Sets the.
- Parameters
-
width of the spacer item.
Definition at line 58 of file ktoolbarspaceraction.cpp.
int KToolBarSpacerAction::width | ( | ) | const |
Returns the width of the spacer item.
Property Documentation
|
readwrite |
Definition at line 37 of file ktoolbarspaceraction.h.
|
readwrite |
Definition at line 36 of file ktoolbarspaceraction.h.
|
readwrite |
Definition at line 35 of file ktoolbarspaceraction.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:24:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.