|
@@ -3,6 +3,7 @@
|
|
#include <QPixmap>
|
|
#include <QPixmap>
|
|
#include <QScreen>
|
|
#include <QScreen>
|
|
#include <QSplashScreen>
|
|
#include <QSplashScreen>
|
|
|
|
+#include <QStyleFactory>
|
|
#include <cmath>
|
|
#include <cmath>
|
|
|
|
|
|
int main(int argc, char *argv[])
|
|
int main(int argc, char *argv[])
|
|
@@ -18,6 +19,18 @@ int main(int argc, char *argv[])
|
|
QSplashScreen splash{ splashScaled };
|
|
QSplashScreen splash{ splashScaled };
|
|
a.processEvents();
|
|
a.processEvents();
|
|
splash.show();
|
|
splash.show();
|
|
|
|
+
|
|
|
|
+ auto list = QStyleFactory::keys();
|
|
|
|
+ for (auto& str : list)
|
|
|
|
+ printf("key: %s\n", str.toStdString().c_str());
|
|
|
|
+ //a.setStyle(QStyleFactory::create("plastique"));
|
|
|
|
+ /*QPalette p = qApp->palette();
|
|
|
|
+ p.setColor(QPalette::Window, QColor(53,53,53));
|
|
|
|
+ p.setColor(QPalette::Button, QColor(53,53,53));
|
|
|
|
+ p.setColor(QPalette::Highlight, QColor(142,45,197));
|
|
|
|
+ p.setColor(QPalette::ButtonText, QColor(255,255,255));
|
|
|
|
+ p.setColor(QPalette::WindowText, QColor(255,255,255));
|
|
|
|
+ qApp->setPalette(p);*/
|
|
Almond w;
|
|
Almond w;
|
|
splash.finish(&w);
|
|
splash.finish(&w);
|
|
a.processEvents();
|
|
a.processEvents();
|