File indexing completed on 2024-04-28 15:29:29
0001 /* 0002 testplot_widget.h 0003 SPDX-FileCopyrightText: 2006 Jason Harris <kstars@30doradus.org> 0004 0005 SPDX-License-Identifier: GPL-2.0-or-later 0006 */ 0007 0008 #ifndef TESTPLOT_WIDGET_H 0009 #define TESTPLOT_WIDGET_H 0010 0011 #include <QMainWindow> 0012 0013 class QComboBox; 0014 class QVBoxLayout; 0015 class KPlotWidget; 0016 class KPlotObject; 0017 0018 class TestPlot : public QMainWindow 0019 { 0020 Q_OBJECT 0021 0022 public: 0023 TestPlot(QWidget *parent = nullptr); 0024 ~TestPlot() override 0025 { 0026 } 0027 0028 public Q_SLOTS: 0029 void slotSelectPlot(int index); 0030 0031 private: 0032 QVBoxLayout *vlay; 0033 QComboBox *PlotSelector; 0034 KPlotWidget *plot; 0035 KPlotObject *po1, *po2; 0036 }; 0037 0038 #endif