2019-02-08 00:24:46 +08:00
|
|
|
#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
|
2019-02-08 00:24:46 +08:00
|
|
|
namespace Ui {
|
|
|
|
class TestStyling;
|
|
|
|
}
|
2020-10-02 21:41:26 +08:00
|
|
|
QT_END_NAMESPACE
|
2019-02-08 00:24:46 +08:00
|
|
|
|
|
|
|
class TestStyling : public QMainWindow
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit TestStyling(QWidget *parent = nullptr);
|
|
|
|
~TestStyling();
|
|
|
|
|
|
|
|
protected 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;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TEST_STYLING_H
|