1
/****************************************************************************
2
** Copyright (C) 2006 Klarälvdalens Datakonsult AB. All rights reserved.
4
** This file is part of the KD Chart library.
6
** This file may be distributed and/or modified under the terms of the
7
** GNU General Public License version 2 as published by the Free Software
8
** Foundation and appearing in the file LICENSE.GPL included in the
9
** packaging of this file.
11
** Licensees holding valid commercial KD Chart licenses may use this file in
12
** accordance with the KD Chart Commercial License Agreement provided with
15
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
16
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
18
** See http://www.kdab.net/kdchart for
19
** information about KDChart Commercial License Agreements.
21
** Contact info@kdab.net if any conditions of this
22
** licensing are not clear to you.
24
**********************************************************************/
29
#include "ui_mainwindow.h"
32
class QStandardItemModel;
40
class MainWindow : public QWidget, private Ui::MainWindow
45
MainWindow( QWidget* parent = 0 );
49
void initializeDataModels();
51
void on_pushButtonSave_clicked();
53
void on_pushButtonClear_clicked();
54
void removeTheChart();
55
void on_pushButtonLoad_clicked();
59
QHBoxLayout* m_chartLayout;
61
KDChart::Chart* m_chart;
63
QStandardItemModel* m_model1;
64
QStandardItemModel* m_model2;
68
#endif /* MAINWINDOW_H */