mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-09-23 16:49:07 +03:00
Dark theme dir renamed
This commit is contained in:
@@ -20,7 +20,8 @@ INCLUDEPATH += $$PWD/../include
|
||||
DEPENDPATH += $$PWD/../include
|
||||
|
||||
RESOURCES += \
|
||||
demo_r2.qrc
|
||||
demo_r2.qrc \
|
||||
../3rdparty/QDarkStyleSheet/qdarkstyle/style.qrc
|
||||
|
||||
EXTRA_DIR += $$PWD/demo_reports
|
||||
DEST_DIR = $${DEST_BINS}
|
||||
|
@@ -4,6 +4,18 @@
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication a(argc, argv);
|
||||
QFile f(":qdarkstyle/style.qss");
|
||||
if (!f.exists())
|
||||
{
|
||||
printf("Unable to set stylesheet, file not found\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
f.open(QFile::ReadOnly | QFile::Text);
|
||||
QTextStream ts(&f);
|
||||
a.setStyleSheet(ts.readAll());
|
||||
//a.setStyleSheet("");
|
||||
}
|
||||
MainWindow w;
|
||||
w.show();
|
||||
|
||||
|
Reference in New Issue
Block a user