KWidgetsAddons
ktoolbarlabelaction.cpp
111 d->label->setAlignment((QApplication::isRightToLeft() ? Qt::AlignRight : Qt::AlignLeft) | Qt::AlignVCenter);
QWidget * createWidget(QWidget *parent) override
Reimplemented from QWidgetAction.
Definition ktoolbarlabelaction.cpp:99
void textChanged(const QString &newText)
This signal is emitted whenever the text of this action is changed.
KToolBarLabelAction(const QString &text, QObject *parent)
Creates a toolbar label.
Definition ktoolbarlabelaction.cpp:22
QAction * buddy() const
Returns the label's buddy or a null pointer if no buddy is currently set.
Definition ktoolbarlabelaction.cpp:67
AKONADI_CALENDAR_EXPORT KCalendarCore::Event::Ptr event(const Akonadi::Item &item)
QList< QWidget * > associatedWidgets() const const
QList< QObject * > associatedObjects() const const
void setText(const QString &text)
ActionChanged
bool isRightToLeft()
void append(QList< T > &&value)
Q_EMITQ_EMIT
QObject * parent() const const
T qobject_cast(QObject *object)
Button
AlignRight
virtual QWidget * createWidget(QWidget *parent)
virtual bool event(QEvent *event) override
virtual bool eventFilter(QObject *obj, QEvent *event) override
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:05:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Oct 4 2024 12:05:10 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.