2019-02-03 21:04:48 +08:00
|
|
|
#ifndef TEST_MULTIPLOT_UI_H
|
|
|
|
#define TEST_MULTIPLOT_UI_H
|
|
|
|
|
|
|
|
#include <QDialog>
|
|
|
|
#include "jkqtplotter/jkqtplotter.h"
|
|
|
|
#include <QGridLayout>
|
|
|
|
|
2020-10-02 21:41:26 +08:00
|
|
|
QT_BEGIN_NAMESPACE
|
2019-02-03 21:04:48 +08:00
|
|
|
namespace Ui {
|
|
|
|
class TestMultiplotUI;
|
|
|
|
}
|
2020-10-02 21:41:26 +08:00
|
|
|
QT_END_NAMESPACE
|
2019-02-03 21:04:48 +08:00
|
|
|
|
|
|
|
class TestMultiplotUI : public QDialog
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
public:
|
|
|
|
explicit TestMultiplotUI(JKQTPlotter* plotTop_, JKQTPlotter* plotBot_, JKQTPlotter* plotRight_, QGridLayout* plotLayout_, QWidget *parent = nullptr);
|
|
|
|
~TestMultiplotUI();
|
|
|
|
|
|
|
|
protected slots:
|
|
|
|
void updatePlot();
|
|
|
|
private:
|
|
|
|
JKQTPlotter* plotTop;
|
|
|
|
JKQTPlotter* plotBot;
|
|
|
|
JKQTPlotter* plotRight;
|
|
|
|
QGridLayout* plotLayout;
|
|
|
|
|
|
|
|
Ui::TestMultiplotUI *ui;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // TEST_MULTIPLOT_UI_H
|