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.
nmWTAI-Platform/Include/nmNum/nmSubWxs/nmWxPointerPosDlg.h

49 lines
915 B
C

#ifndef NMWXPOINTERPOSDLG_H
#define NMWXPOINTERPOSDLG_H
#include "iDlgBase.h"
#include "nmSubWxs_global.h"
#include "nmDataGeoRef.h"
class QLineEdit;
class QComboBox;
class QPushButton;
class nmGUIComponentLineEdit;
class nmDataAttribute;
class NM_SUB_WXS_EXPORT nmWxPointerPosDlg : public iDlgBase
{
Q_OBJECT
public:
explicit nmWxPointerPosDlg(QWidget* parent = 0);
public slots:
void setPointerPos(double x, double y);
private:
void initUI();
void loadGeoRefDataToUI();
QString formatCoordinate(double coordinate, bool isLatitude); // <20><>γ<EFBFBD><CEB3>ת<EFBFBD><D7AA>
nmGUIComponentLineEdit* m_pX;
nmGUIComponentLineEdit* m_pY;
nmDataAttribute* m_pAttrX;
nmDataAttribute* m_pAttrY;
QLineEdit* m_pLonEdit;
QLineEdit* m_pLatEdit;
QComboBox* m_pUtmZoneCombo;
QLineEdit* m_pEastingEdit;
QLineEdit* m_pNorthingEdit;
QPushButton* m_pCloseButton;
nmDataGeoRef* m_pGeoRefData;
};
#endif // NMWXPOINTERPOSDLG_H