30 lines
602 B
C++
30 lines
602 B
C++
#ifndef PST_GRAPH2D_H
|
|
#define PST_GRAPH2D_H
|
|
|
|
#include <QWidget>
|
|
|
|
namespace pst
|
|
{
|
|
class Graph2DSettings;
|
|
class SelectDatatDialog;
|
|
class Curve2DPlotor;
|
|
/// @brief 二维图形
|
|
class Graph2D : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit Graph2D(QWidget* parent = 0);
|
|
~Graph2D();
|
|
|
|
private:
|
|
void initConnections();
|
|
private:
|
|
Curve2DPlotor* m_customPlot{ nullptr };
|
|
/// @brief 二维图形设置
|
|
Graph2DSettings* m_settings{ nullptr };
|
|
SelectDatatDialog* m_selecetDataDialog;
|
|
};
|
|
}
|
|
|
|
#endif // PST_GRAPH2D_H
|