6#include <QtGui/qfontdatabase.h>
7#include <QtQuickTemplates2/private/qquicktheme_p.h>
14 QFont groupBoxTitleFont;
22 groupBoxTitleFont.setFamilies(families);
23 tabButtonFont.setFamilies(families);
29 groupBoxTitleFont.setPixelSize(15);
33 tabButtonFont.setPixelSize(24);
static QStringList families(WritingSystem writingSystem=Any)
Returns a sorted list of the available font families which support the writingSystem.
QString family() const
Returns the requested font family name.
void setFamilies(const QStringList &)
void setPixelSize(int)
Sets the font size to pixelSize pixels, with a maxiumum size of an unsigned 16-bit integer.
void setFont(Scope scope, const QFont &font)
static void initialize(QQuickTheme *theme)
Combined button and popup list for selecting options.
static bool contains(const QJsonArray &haystack, unsigned needle)