Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
AppFontManager Class Reference
+ Collaboration diagram for AppFontManager:

Public Types

using FileNameFontIdPair = std::pair<QString, int>
 
using FileNameFontIdPairs = QList<FileNameFontIdPair>
 

Public Member Functions

void save (QDesignerSettingsInterface *s, const QString &prefix) const
 
void restore (const QDesignerSettingsInterface *s, const QString &prefix)
 
int add (const QString &fontFile, QString *errorMessage)
 
bool remove (int id, QString *errorMessage)
 
bool remove (const QString &fontFile, QString *errorMessage)
 
bool removeAt (int index, QString *errorMessage)
 
const FileNameFontIdPairsfonts () const
 
void save (QDesignerSettingsInterface *s, const QString &prefix) const
 
void restore (const QDesignerSettingsInterface *s, const QString &prefix)
 
int add (const QString &fontFile, QString *errorMessage)
 
bool remove (int id, QString *errorMessage)
 
bool remove (const QString &fontFile, QString *errorMessage)
 
bool removeAt (int index, QString *errorMessage)
 
const FileNameFontIdPairsfonts () const
 

Static Public Member Functions

static AppFontManagerinstance ()
 
static AppFontManagerinstance ()
 

Detailed Description

Definition at line 44 of file appfontdialog.cpp.

Member Typedef Documentation

◆ FileNameFontIdPair

typedef std::pair< QString, int > AppFontManager::FileNameFontIdPair = std::pair<QString, int>

Definition at line 62 of file appfontdialog.cpp.

◆ FileNameFontIdPairs

Member Function Documentation

◆ add() [1/2]

int AppFontManager::add ( const QString & fontFile,
QString * errorMessage )

Definition at line 109 of file appfontdialog.cpp.

References debugAppFontWidget.

◆ add() [2/2]

int AppFontManager::add ( const QString & fontFile,
QString * errorMessage )

◆ fonts() [1/2]

const AppFontManager::FileNameFontIdPairs & AppFontManager::fonts ( ) const

Definition at line 179 of file appfontdialog.cpp.

◆ fonts() [2/2]

const FileNameFontIdPairs & AppFontManager::fonts ( ) const

◆ instance() [1/2]

AppFontManager & AppFontManager::instance ( )
static

Definition at line 72 of file appfontdialog.cpp.

Referenced by AppFontWidget::AppFontWidget(), removeFonts(), AppFontWidget::restore(), and AppFontWidget::save().

+ Here is the caller graph for this function:

◆ instance() [2/2]

static AppFontManager & AppFontManager::instance ( )
static

◆ remove() [1/4]

bool AppFontManager::remove ( const QString & fontFile,
QString * errorMessage )

Definition at line 151 of file appfontdialog.cpp.

◆ remove() [2/4]

bool AppFontManager::remove ( const QString & fontFile,
QString * errorMessage )

◆ remove() [3/4]

bool AppFontManager::remove ( int id,
QString * errorMessage )

Definition at line 141 of file appfontdialog.cpp.

◆ remove() [4/4]

bool AppFontManager::remove ( int id,
QString * errorMessage )

◆ removeAt() [1/2]

bool AppFontManager::removeAt ( int index,
QString * errorMessage )

Definition at line 161 of file appfontdialog.cpp.

References debugAppFontWidget.

◆ removeAt() [2/2]

bool AppFontManager::removeAt ( int index,
QString * errorMessage )

◆ restore() [1/2]

void AppFontManager::restore ( const QDesignerSettingsInterface * s,
const QString & prefix )

Definition at line 93 of file appfontdialog.cpp.

References debugAppFontWidget.

Referenced by AppFontWidget::restore().

+ Here is the caller graph for this function:

◆ restore() [2/2]

void AppFontManager::restore ( const QDesignerSettingsInterface * s,
const QString & prefix )

◆ save() [1/2]

void AppFontManager::save ( QDesignerSettingsInterface * s,
const QString & prefix ) const

Definition at line 78 of file appfontdialog.cpp.

References debugAppFontWidget.

Referenced by AppFontWidget::save().

+ Here is the caller graph for this function:

◆ save() [2/2]

void AppFontManager::save ( QDesignerSettingsInterface * s,
const QString & prefix ) const

The documentation for this class was generated from the following file: