#ifndef NMWXPOINTERPOSDLG_H #define NMWXPOINTERPOSDLG_H #include #include "nmSubWxs_global.h" #include "nmDataGeoRef.h" class QLineEdit; class QComboBox; class QPushButton; class nmGUIComponentLineEdit; class nmDataAttribute; class NM_SUB_WXS_EXPORT nmWxPointerPosDlg : public QDialog { 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); // ¾­Î³¶Èת»» 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