mirror of
https://github.com/thunderbug1/Spherebot-Host-GUI.git
synced 2026-03-20 00:36:51 +01:00
Version 2.0
This commit is contained in:
@@ -5,8 +5,16 @@ int main(int argc, char *argv[])
|
||||
{
|
||||
QApplication app(argc, argv);
|
||||
app.setOrganizationName("thunderbug1");
|
||||
|
||||
MainWindow w;
|
||||
w.setWindowTitle("Spherebot control");
|
||||
w.setWindowTitle("Spherebot control 2.0");
|
||||
|
||||
QFile stylesheet(":/new/stylesheet/stylesheet.txt");
|
||||
stylesheet.open(QFile::ReadOnly);
|
||||
QString setSheet = QLatin1String(stylesheet.readAll());
|
||||
qDebug()<<setSheet;
|
||||
w.setStyleSheet(setSheet);
|
||||
|
||||
w.show();
|
||||
|
||||
return app.exec();
|
||||
|
||||
Reference in New Issue
Block a user