You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
|
#ifndef NMWXMEASURINGSCALEDLG_H
|
|
|
|
|
|
#define NMWXMEASURINGSCALEDLG_H
|
|
|
|
|
|
|
|
|
|
|
|
#include "iDlgBase.h"
|
|
|
|
|
|
#include "nmSubWxs_global.h"
|
|
|
|
|
|
#include "nmDataMeasuringScale.h"
|
|
|
|
|
|
|
|
|
|
|
|
class QTableWidget;
|
|
|
|
|
|
class QVBoxLayout;
|
|
|
|
|
|
class nmGUIComponentBase;
|
|
|
|
|
|
|
|
|
|
|
|
//class nmDataAttribute;
|
|
|
|
|
|
|
|
|
|
|
|
class NM_SUB_WXS_EXPORT nmWxMeasuringScaleDlg : public iDlgBase {
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
public:
|
|
|
|
|
|
nmWxMeasuringScaleDlg(QPointF startPoint, QPointF endPoint, double* pLength);
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
void initUI();
|
|
|
|
|
|
void initComponents();
|
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
QPointF m_startPoint;
|
|
|
|
|
|
QPointF m_endPoint;
|
|
|
|
|
|
QString m_sStartPoint;
|
|
|
|
|
|
QString m_sEndPoint;
|
|
|
|
|
|
double* m_pLength;
|
|
|
|
|
|
|
|
|
|
|
|
QVBoxLayout* m_mainLayout;
|
|
|
|
|
|
|
|
|
|
|
|
// 组件列表
|
|
|
|
|
|
QList<nmGUIComponentBase*> m_listComUIs;
|
|
|
|
|
|
|
|
|
|
|
|
nmDataMeasuringScale m_data;
|
|
|
|
|
|
protected:
|
|
|
|
|
|
void accept() override;
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // NMWXMEASURINGSCALEDLG_H
|