MDIDemo Example
#include <QApplication>
#include "window.h"
int main(int argc, char *argv[])
{
#if 0
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
QApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
QApplication app(argc, argv);
app.setOrganizationName(QStringLiteral("Developer Machines"));
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
app.setHighDpiScaleFactorRoundingPolicy(Qt::HighDpiScaleFactorRoundingPolicy::Round);
#endif
ColorizedStyle* style = new ColorizedStyle();
app.setStyle(style);
Window w;
w.show();
return app.exec();
}