##// END OF EJS Templates
Added an example for QChartView for qdoc purposes
Added an example for QChartView for qdoc purposes

File last commit:

r198:d1d1af3adb63
r317:086152b8b33c
Show More
main.cpp
18 lines | 369 B | text/x-c | CppLexer
#include <QtGui/QApplication>
#include <QMainWindow>
#include "multichartwidget.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
MultiChartWidget *multi = new MultiChartWidget();
// Use the chart widget as the central widget
QMainWindow w;
w.resize(640, 480);
w.setCentralWidget(multi);
w.show();
return a.exec();
}