mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-15 18:15:52 +08:00
24 lines
581 B
C++
24 lines
581 B
C++
#include <QApplication>
|
|
#include "test_styling.h"
|
|
#include "jkqtplotter/jkqtplotterstyle.h"
|
|
#include "jkqtpexampleapplication.h"
|
|
|
|
|
|
int main(int argc, char* argv[])
|
|
{
|
|
|
|
JKQTPAppSettingController highDPIController(argc, argv);
|
|
JKQTPExampleApplication app(argc, argv);
|
|
|
|
|
|
// you can set the system-wide default style properties early on
|
|
// all JKQTPlotter instance created after this, will use these
|
|
// settings as their initial settings
|
|
JKQTPGetSystemDefaultStyle().userActionFontSize=12;
|
|
|
|
TestStyling win;
|
|
win.show();
|
|
|
|
return app.exec();
|
|
}
|