Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qquickfontdialogimpl.cpp File Reference
#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, QString::isEmpty(), model, Normal, and Unknown.

Referenced by QQuickFontDialogImplAttached::selectFontInListViews().

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