KDEUI
kfontcombobox.cpp
Go to the documentation of this file.
106 QList<QFontDatabase::WritingSystem> availableSystems = QFontDatabase().writingSystems(fontFamily);
virtual QSize sizeHint() const
The recommended size of the widget.
Definition: kfontcombobox.cpp:396
QString writingSystemSample(WritingSystem writingSystem)
QSize size() const
Type type() const
int width() const
void setFixedWidth(int w)
QWidget * window() const
int right() const
void setOnlyFixed(bool onlyFixed)
Toggle selectable fonts to be only those of fixed width or all.
Definition: kfontcombobox.cpp:338
qreal pointSizeF() const
QStringList split(const QString &sep, SplitBehavior behavior, Qt::CaseSensitivity cs) const
const QFont & font() const
static void getFontList(QStringList &list, uint fontListCriteria)
Creates a list of font strings.
Definition: kfontchooser.cpp:1000
void setItemDelegate(QAbstractItemDelegate *delegate)
void save()
bool isSmoothlyScalable(const QString &family, const QString &style) const
Second color; for example, comments, items which are old, inactive or disabled.
Definition: kcolorscheme.h:210
QString i18nc(const char *ctxt, const char *text)
int width() const
const QColor & color() const
QSize size() const
virtual bool event(QEvent *event)
void drawRect(const QRectF &rectangle)
void setFont(const QFont &font)
int count(const T &value) const
QBrush foreground(ForegroundRole=NormalText) const
Retrieve the requested foreground brush.
Definition: kcolorscheme.cpp:459
int top() const
void setPen(const QColor &color)
void setTop(int y)
int left() const
QList< WritingSystem > writingSystems() const
int toInt(bool *ok, int base) const
void setWidth(int width)
bool isEmpty() const
int removeAll(const T &value)
QString trimmed() const
KAction * actualSize(const QObject *recvr, const char *slot, QObject *parent)
View the document at its actual size.
Definition: kstandardaction.cpp:349
void setBrush(const QBrush &brush)
void drawText(const QPointF &position, const QString &text)
QSize actualSize(const QSize &size, Mode mode, State state) const
void setFontList(const QStringList &fontList)
Set selectable fonts to be only those present in the list.
Definition: kfontcombobox.cpp:346
virtual void setIgnoreCase(bool ignoreCase)
Setting this to true makes KCompletion behave case insensitively.
Definition: kcompletion.cpp:89
virtual void setItems(const QStringList &list)
Sets the list of items available for completion.
Definition: kcompletion.cpp:99
QScrollBar * verticalScrollBar() const
void paint(QPainter *painter, const QRect &rect, QFlags< Qt::AlignmentFlag > alignment, Mode mode, State state) const
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const =0
QString family() const
void currentFontChanged(const QFont &font)
Emitted when a new font has been selected, either through user input or by setFont().
const QFont & font() const
int width(const QString &text, int len) const
bool contains(const T &value) const
void setPointSizeF(qreal pointSize)
void restore()
void setRight(int x)
QVariant data(int role) const
void setInsertPolicy(InsertPolicy policy)
void setModel(QAbstractItemModel *model)
QStringList translateFontNameList(const QStringList &names, QHash< QString, QString > *trToRawNames)
Definition: fonthelpers.cpp:96
QFontMetrics fontMetrics() const
void setFamily(const QString &family)
int length() const
virtual QSize sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const =0
Definition: kfontchooser.h:232
QString left(int n) const
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
const QPen & pen() const
void setCurrentFont(const QFont &font)
Set the font to show as selected in the combobox.
Definition: kfontcombobox.cpp:359
QString toString() const
void setLeft(int x)
virtual QSize sizeHint() const
int lineSpacing() const
void currentIndexChanged(int index)
QAbstractItemView * view() const
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:23:59 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.