JKQtPlotter/examples/styling/test_styling.h

35 lines
752 B
C
Raw Normal View History

#ifndef TEST_STYLING_H
#define TEST_STYLING_H
#include <QMainWindow>
#include "jkqtplotter/jkqtplotter.h"
2020-10-02 21:41:26 +08:00
QT_BEGIN_NAMESPACE
namespace Ui {
class TestStyling;
}
2020-10-02 21:41:26 +08:00
QT_END_NAMESPACE
class TestStyling : public QMainWindow
{
Q_OBJECT
public:
explicit TestStyling(QWidget *parent = nullptr);
~TestStyling();
protected Q_SLOTS:
void on_btnUpdate_clicked();
void on_btnLoad_clicked(const QString &filename=QString());
void on_btnSave_clicked();
private:
Ui::TestStyling *ui;
void initPlot();
QPointer<JKQTPlotter> plotExtra;
QVector<JKQTPlotter*> plots;
QVector<JKQTBasePlotter*> bplots;
};
#endif // TEST_STYLING_H