Ongoing GUI updates.
This commit is contained in:
19
main.cpp
19
main.cpp
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user