blob: 10ed1590c86766f5ccfba720f8715576ba24d7b1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright (C) 2016 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only
#include <QtWidgets/QApplication>
#include <QtWidgets/QMainWindow>
#include "chartview.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QMainWindow window;
ChartView chartView(&window);
window.setCentralWidget(&chartView);
window.resize(400, 300);
window.show();
return a.exec();
}
|