| 1 | /* |
| 2 | testplot_widget.h |
| 3 | SPDX-FileCopyrightText: 2006 Jason Harris <kstars@30doradus.org> |
| 4 | |
| 5 | SPDX-License-Identifier: GPL-2.0-or-later |
| 6 | */ |
| 7 | |
| 8 | #ifndef TESTPLOT_WIDGET_H |
| 9 | #define TESTPLOT_WIDGET_H |
| 10 | |
| 11 | #include <QMainWindow> |
| 12 | |
| 13 | class QComboBox; |
| 14 | class QVBoxLayout; |
| 15 | class KPlotWidget; |
| 16 | class KPlotObject; |
| 17 | |
| 18 | class TestPlot : public QMainWindow |
| 19 | { |
| 20 | Q_OBJECT |
| 21 | |
| 22 | public: |
| 23 | TestPlot(QWidget *parent = nullptr); |
| 24 | ~TestPlot() override |
| 25 | { |
| 26 | } |
| 27 | |
| 28 | public Q_SLOTS: |
| 29 | void slotSelectPlot(int index); |
| 30 | |
| 31 | private: |
| 32 | QVBoxLayout *vlay; |
| 33 | QComboBox *PlotSelector; |
| 34 | KPlotWidget *plot; |
| 35 | KPlotObject *po1, *po2; |
| 36 | }; |
| 37 | |
| 38 | #endif |
| 39 | |