mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 21:45:34 +08:00
Ref T34, OS specific stylesheets
e.g. fonts.mac.qss / default is fonts.qss
This commit is contained in:
@@ -151,6 +151,12 @@ namespace BlackGui
|
||||
void ps_qssDirectoryChanged(const QString &file);
|
||||
|
||||
private:
|
||||
//! Most suitable filename based on OS/existing file
|
||||
static QString getBestFileName(const QString &fileName);
|
||||
|
||||
//! Check existance of qss file
|
||||
static bool qssFileExists(const QString &filename);
|
||||
|
||||
QMap<QString, QString> m_styleSheets; //!< filename, stylesheet
|
||||
QFileSystemWatcher m_fileWatcher {this}; //!< Monitor my qss files
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user