kofuna is a flat white-on-black design for Win9x-style controls in Qt5 Widgets. It is not a formal QStyle, but rather a stylesheet and custom controls to be used with Qt's builtin (crossplatform) Windows style.
I wrote this for internal use but we don't object to others using it, just don't expect any stability or support. Controls are added as we need them.
Include kofuna in your QMake project:
Apply it to your application globally:
QApplication::setStyle("windows"); QApplication a(argc, argv); QFile qssFile(":/kofuna/style.qss"); qssFile.open(QFile::ReadOnly | QFile::Text); QTextStream ts(&qssFile); a.setStyleSheet(ts.readAll());
InvertProgressBarin place of
QProgressBarfor a pure white-on-black progress bar that remains readable.
- Make a QFrame called
framefilling the window to get a 1px dark border around
- When using
QPushButtonswith icons, you'll likely want to change padding. Add a
'hasIcon' = truedynamic property to your button.