mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-11-16 10:35:49 +08:00
20 lines
470 B
C++
20 lines
470 B
C++
|
#include <QApplication>
|
||
|
#include "test_styling.h"
|
||
|
#include "jkqtplotter/jkqtplotterstyle.h"
|
||
|
|
||
|
|
||
|
int main(int argc, char* argv[])
|
||
|
{
|
||
|
QApplication 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().userActionColor=QColor("red");
|
||
|
|
||
|
TestStyling win;
|
||
|
win.show();
|
||
|
|
||
|
return app.exec();
|
||
|
}
|