mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refs #446, style sheet adjustments
* split up style sheets * prepared stylesheet, also include placeholder for forthcoming data GUI
This commit is contained in:
committed by
Mathew Sutcliffe
parent
9d0408138a
commit
091c61c909
@@ -134,7 +134,7 @@ namespace BlackGui
|
||||
QString CStyleSheetUtility::styles(const QStringList &fileNames) const
|
||||
{
|
||||
QString style;
|
||||
foreach(QString fileName, fileNames)
|
||||
for (const QString &fileName : fileNames)
|
||||
{
|
||||
if (!this->containsStyle(fileName)) { continue; }
|
||||
QString s = this->m_styleSheets[fileName.toLower()].trimmed();
|
||||
@@ -232,9 +232,9 @@ namespace BlackGui
|
||||
return f;
|
||||
}
|
||||
|
||||
const QString &CStyleSheetUtility::fileNameMainWindow()
|
||||
const QString &CStyleSheetUtility::fileNameSwiftStandardGui()
|
||||
{
|
||||
static const QString f("mainwindow.qss");
|
||||
static const QString f("swiftstdgui.qss");
|
||||
return f;
|
||||
}
|
||||
|
||||
@@ -256,6 +256,12 @@ namespace BlackGui
|
||||
return f;
|
||||
}
|
||||
|
||||
const QString &CStyleSheetUtility::fileNameStandardWidget()
|
||||
{
|
||||
static const QString f("stdwidget.qss");
|
||||
return f;
|
||||
}
|
||||
|
||||
const QString &CStyleSheetUtility::fileNameInfoWindow()
|
||||
{
|
||||
static const QString f("stylesheetinfo.qss");
|
||||
@@ -280,6 +286,12 @@ namespace BlackGui
|
||||
return f;
|
||||
}
|
||||
|
||||
const QString &CStyleSheetUtility::fileNameSwiftData()
|
||||
{
|
||||
static const QString f("swiftdata.qss");
|
||||
return f;
|
||||
}
|
||||
|
||||
const QString &CStyleSheetUtility::fileNameIniFile()
|
||||
{
|
||||
static const QString f("gui.ini");
|
||||
|
||||
Reference in New Issue
Block a user