File indexing completed on 2024-06-16 04:09:03
0001 /** 0002 * SPDX-FileCopyrightText: 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved. 0003 * 0004 * This file is part of the KD Chart library. 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #ifndef MAINWINDOW_H 0010 #define MAINWINDOW_H 0011 0012 #include "ui_mainwindow.h" 0013 0014 namespace KChart{ 0015 class Widget; 0016 } 0017 0018 class MainWindow : public QWidget, private Ui::MainWindow 0019 { 0020 Q_OBJECT 0021 0022 public: 0023 MainWindow( QWidget* parent = nullptr ); 0024 0025 KChart::Widget* widget; 0026 0027 public Q_SLOTS: 0028 void changeType(); 0029 void changeLeading( int leading ); 0030 void addDataset(); 0031 0032 private: 0033 int datasetCount; 0034 }; 0035 0036 #endif