KProperty
fontedit.cpp
70 if (!KPropertyUtilsPrivate::shouldUseNativeDialogs()) { // switch to Qt's dialog outside of KDE desktops
115 const QString txt( QObject::tr("Abc", "Font sample for property editor item, typically \"Abc\"") );
121 painter->drawText(rect, Qt::AlignLeft | Qt::AlignVCenter, valueToString(index.data(Qt::EditRole), QLocale()));
KIOCORE_EXPORT QStringList list(const QString &fileClass)
KGuiItem ok()
void addStretch(int stretch)
void addWidget(QWidget *widget, int stretch, Qt::Alignment alignment)
virtual void setSpacing(int spacing) override
FontDialogOptions
QFont getFont(bool *ok, QWidget *parent)
void setContentsMargins(const QMargins &margins)
QLocale c()
QString createSeparatedList(const QStringList &list) const const
Language language() const const
QVariant data(int role) const const
QString tr(const char *sourceText, const char *disambiguation, int n)
void drawText(const QPoint &position, const QString &text)
const QFont & font() const const
QFontMetrics fontMetrics() const const
void setFont(const QFont &font)
Base
QString arg(Args &&... args) const const
QString fromLatin1(QByteArrayView str)
AlignLeft
EditRole
QFuture< ArgsType< Signal > > connect(Sender *sender, Signal signal)
T value() const const
virtual bool event(QEvent *event) override
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:09 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.