##// END OF EJS Templates
Fixed deployment of chartwidgettest
Fixed deployment of chartwidgettest

File last commit:

r246:b65459a7fb5b
r270:9b153722c836
Show More
main.cpp
16 lines | 418 B | text/x-c | CppLexer
#include "chartview.h"
#include <QApplication>
#include <QMainWindow>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QMainWindow window;
ChartView chartView(&window);
chartView.setRenderHint(QPainter::Antialiasing);
chartView.setChartTitle("Three random line charts");
window.setCentralWidget(&chartView);
window.resize(400, 300);
window.show();
return a.exec();
}