Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qquickfontdialogimpl.cpp File Reference

(4bd87b903b355b53e3105ba1ae7c154c4e55cdaf)

#include "qquickfontdialogimpl_p.h"
#include "qquickfontdialogimpl_p_p.h"
#include <QtQuickTemplates2/private/qquickdialogbuttonbox_p_p.h>
#include <private/qfontdatabase_p.h>
#include <QRegularExpression>
#include "moc_qquickfontdialogimpl_p.cpp"
+ Include dependency graph for qquickfontdialogimpl.cpp:

Go to the source code of this file.

Functions

static int findFamilyInModel (const QString &selectedFamily, const QStringList &model)
 
static int findStyleInModel (const QString &selectedStyle, const QStringList &model)
 

Function Documentation

◆ findFamilyInModel()

static int findFamilyInModel ( const QString & selectedFamily,
const QStringList & model )
static

Definition at line 476 of file qquickfontdialogimpl.cpp.

References i, it, model, QFontDatabasePrivate::parseFontName(), and QStringLiteral.

Referenced by QQuickFontDialogImplAttached::selectFontInListViews(), and QQuickFontDialogImplAttached::updateFamilies().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ findStyleInModel()

static int findStyleInModel ( const QString & selectedStyle,
const QStringList & model )
static

Definition at line 513 of file qquickfontdialogimpl.cpp.

References QRegularExpression::CaseInsensitiveOption, QRegularExpression::escape(), i, model, Normal, and Unknown.

Referenced by QQuickFontDialogImplAttached::selectFontInListViews().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: