mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-22 05:05:38 +08:00
refs #485, moved stylesheet utility into CGuiApplication
This commit is contained in:
committed by
Mathew Sutcliffe
parent
b73562b33c
commit
18a907086d
@@ -48,7 +48,10 @@ namespace BlackGui
|
||||
bool updateFonts(const QString &fontFamily, const QString &fontSize, const QString &fontStyle, const QString &fontWeight, const QString &fontColor);
|
||||
|
||||
//! Current font color from style sheet
|
||||
QString fontColor();
|
||||
QString fontColor() const;
|
||||
|
||||
//! Read the *.qss files
|
||||
bool read();
|
||||
|
||||
//! GUI ini file data
|
||||
const QSettings *iniFile() const { return m_iniFile.data(); }
|
||||
@@ -59,9 +62,6 @@ namespace BlackGui
|
||||
//! Get the font weight
|
||||
static QString fontWeight(const QString &combinedStyleAndWeight);
|
||||
|
||||
//! Central reader
|
||||
static CStyleSheetUtility &instance();
|
||||
|
||||
//! File name fonts.qss
|
||||
static const QString &fileNameFonts();
|
||||
|
||||
@@ -135,9 +135,6 @@ namespace BlackGui
|
||||
void styleSheetsChanged();
|
||||
|
||||
private:
|
||||
//! Read the *.qss files
|
||||
bool read();
|
||||
|
||||
QMap<QString, QString> m_styleSheets; //!< filename, stylesheet
|
||||
QScopedPointer<QSettings> m_iniFile;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user