diff options
-rw-r--r-- | main.cpp | 7 | ||||
-rw-r--r-- | release/css/default.css | 6 |
2 files changed, 13 insertions, 0 deletions
@@ -63,6 +63,13 @@ int main(int argc, char *argv[]) #endif app.installTranslator(&translator2); + // css + QFile file(qApp->applicationDirPath() + "/css/default.css"); + file.open(QFile::ReadOnly); + QString styleSheet = QLatin1String(file.readAll()); + qApp->setStyleSheet(styleSheet); + //qDebug() << "css: " << styleSheet; + GpgWin *window = new GpgWin(); window->show(); diff --git a/release/css/default.css b/release/css/default.css new file mode 100644 index 0000000..8b81422 --- /dev/null +++ b/release/css/default.css @@ -0,0 +1,6 @@ + +/* + QLabel, QAbstractButton { + font: bold; +} +*/ |