##// END OF EJS Templates
Added another chart type choice
Added another chart type choice

File last commit:

r198:d1d1af3adb63
r268:bd1ae0fe1b01
Show More
main.cpp
18 lines | 369 B | text/x-c | CppLexer
Tero Ahola
Added example with multiple chart views
r198 #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();
}