KFontAction
KFontAction Class Reference
#include <KFontAction>
Inheritance diagram for KFontAction:
Properties | |
QString | font |
Properties inherited from KSelectAction | |
int | comboWidth |
QAction * | currentAction |
int | currentItem |
QString | currentText |
bool | editable |
QStringList | items |
ToolBarMode | toolBarMode |
QToolButton::ToolButtonPopupMode | toolButtonPopupMode |
Properties inherited from QAction | |
autoRepeat | |
checkable | |
checked | |
enabled | |
font | |
icon | |
iconText | |
iconVisibleInMenu | |
menuRole | |
priority | |
shortcut | |
shortcutContext | |
shortcutVisibleInContextMenu | |
statusTip | |
text | |
toolTip | |
visible | |
whatsThis | |
Properties inherited from QObject | |
objectName | |
Additional Inherited Members | |
Public Types inherited from KSelectAction | |
enum | ToolBarMode { MenuMode , ComboBoxMode } |
Public Types inherited from QAction | |
enum | ActionEvent |
enum | MenuRole |
enum | Priority |
Public Types inherited from QObject | |
typedef | QObjectList |
Signals inherited from KSelectAction | |
void | actionTriggered (QAction *action) |
void | indexTriggered (int index) |
void | textTriggered (const QString &text) |
Static Public Member Functions inherited from QObject | |
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) |
Public Attributes inherited from QAction | |
AboutQtRole | |
AboutRole | |
ApplicationSpecificRole | |
HighPriority | |
Hover | |
LowPriority | |
NormalPriority | |
NoRole | |
PreferencesRole | |
QuitRole | |
TextHeuristicRole | |
Trigger | |
Protected Slots inherited from KSelectAction | |
virtual void | slotActionTriggered (QAction *action) |
void | slotToggled (bool) |
Protected Member Functions inherited from KSelectAction | |
KWIDGETSADDONS_NO_EXPORT | KSelectAction (KSelectActionPrivate &dd, QObject *parent) |
QWidget * | createWidget (QWidget *parent) override |
void | deleteWidget (QWidget *widget) override |
bool | event (QEvent *event) override |
bool | eventFilter (QObject *watched, QEvent *event) override |
Protected Member Functions inherited from QWidgetAction | |
QList< QWidget * > | createdWidgets () const const |
Protected Member Functions inherited from QAction | |
Protected Member Functions inherited from QObject | |
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) |
Protected Attributes inherited from KSelectAction | |
std::unique_ptr< class KSelectActionPrivate > const | d_ptr |
Detailed Description
An action to select a font family.
On a toolbar this will show a combobox with all the fonts on the system.
Definition at line 29 of file kfontaction.h.
Property Documentation
◆ font
|
readwrite |
Definition at line 32 of file kfontaction.h.
Constructor & Destructor Documentation
◆ KFontAction() [1/4]
KFontAction::KFontAction | ( | uint | fontListCriteria, |
QObject * | parent ) |
Definition at line 87 of file kfontaction.cpp.
◆ KFontAction() [2/4]
|
explicit |
Definition at line 104 of file kfontaction.cpp.
◆ KFontAction() [3/4]
Definition at line 111 of file kfontaction.cpp.
◆ KFontAction() [4/4]
Definition at line 119 of file kfontaction.cpp.
Member Function Documentation
◆ createWidget()
Reimplemented from QWidgetAction.
Definition at line 135 of file kfontaction.cpp.
◆ font()
QString KFontAction::font | ( | ) | const |
Definition at line 130 of file kfontaction.cpp.
◆ setFont()
void KFontAction::setFont | ( | const QString & | family | ) |
Definition at line 163 of file kfontaction.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:58:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 29 2024 11:58:19 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.