chore: spike on qt widgets and ui files

This commit is contained in:
talksik
2026-01-24 11:21:31 -08:00
parent 213b01b784
commit 7e1c8418c5
7 changed files with 1172 additions and 180 deletions
+8
View File
@@ -1,4 +1,5 @@
#include <QApplication>
#include <QFile>
#include "src/MainWindow.h"
int main(int argc, char *argv[])
@@ -6,6 +7,13 @@ int main(int argc, char *argv[])
qDebug() << "hello world";
QApplication a(argc, argv);
// Load reMarkable e-ink stylesheet
QFile styleFile(":/styles/remarkable.qss");
if (styleFile.open(QFile::ReadOnly | QFile::Text)) {
a.setStyleSheet(styleFile.readAll());
styleFile.close();
}
MainWindow w;
w.show();
return a.exec();