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 NMWXMEASUREDLG_H
|
|
|
|
|
#define NMWXMEASUREDLG_H
|
|
|
|
|
|
|
|
|
|
#include "iDlgBase.h"
|
|
|
|
|
#include <QLineEdit>
|
|
|
|
|
#include "nmSubWxs_global.h"
|
|
|
|
|
#include "nmDataMeasure.h"
|
|
|
|
|
|
|
|
|
|
class QVBoxLayout;
|
|
|
|
|
class QPushButton;
|
|
|
|
|
class nmGUIComponentBase;
|
|
|
|
|
class nmDataWellBase;
|
|
|
|
|
|
|
|
|
|
class NM_SUB_WXS_EXPORT nmWxMeasureDlg : public iDlgBase
|
|
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
public:
|
|
|
|
|
explicit nmWxMeasureDlg(QWidget* parent = nullptr);
|
|
|
|
|
void initUI();
|
|
|
|
|
void initComponents();
|
|
|
|
|
void initPara();
|
|
|
|
|
|
|
|
|
|
void closeEvent(QCloseEvent* event);
|
|
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
void needDeleteMeasureObj();
|
|
|
|
|
void sigonFitStartClicked();
|
|
|
|
|
void sigonFitEndClicked();
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
|
|
QVBoxLayout* m_pMainLayout;
|
|
|
|
|
QVector<nmDataWellBase*> m_vecWellList;
|
|
|
|
|
QPushButton* m_pFitStartButton;
|
|
|
|
|
QPushButton* m_pFitEndButton;
|
|
|
|
|
|
|
|
|
|
double* m_pLength;
|
|
|
|
|
nmDataMeasure* m_pData;
|
|
|
|
|
nmGUIComponentBase* m_pLengthCom;
|
|
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
void onFitStartClicked();
|
|
|
|
|
void onFitEndClicked();
|
|
|
|
|
void updateDisplay();
|
|
|
|
|
void onCloseClicked();
|
|
|
|
|
void resetButtons();
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // NMWXMEASUREDLG_H
|