Ongoing GUI updates.

This commit is contained in:
2026-01-05 23:39:45 +01:00
parent e0b1e90f6c
commit 5d1e66f5fa
14 changed files with 271 additions and 123 deletions

View File

@@ -39,32 +39,15 @@
#include <bcmainwindow.h>
#include <expected>
#include <iostream>
bool setApplicationStyleSheet( QAnyStringView path )
{
QFile styleFile( path.toString() );
if (styleFile.open(QIODevice::ReadOnly | QIODevice::Text))
{
QString style = styleFile.readAll();
qApp->setStyleSheet(style);
styleFile.close();
return true;
}
qWarning() << "Konnte Stylesheet nicht laden:" << styleFile.errorString();
return true;
}
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
//setApplicationStyleSheet( ":/claude_light_mode.qss"_L1 );
/*
/*
app.setStyleSheet(R"(
QWidget {
background-color: #F3F3F3;