00001 #ifndef GLACIERIDDLG_H 00002 #define GLACIERIDDLG_H 00003 00004 // QT 00005 #include <qdialog.h> 00006 #include <qevent.h> 00007 #include <qlineedit.h> 00008 #include <qpushbutton.h> 00009 #include <qcombobox.h> 00010 #include <qlayout.h> 00011 #include <qhbox.h> 00012 #include <qvbox.h> 00013 #include <qgrid.h> 00014 #include <qlabel.h> 00015 00016 // LOCAL 00017 #include "glimsglobals.h" 00018 #include "glimsgiddata.h" 00019 00020 #include <cstdlib> 00021 00039 class GlacierIDDlg : public QDialog { 00040 Q_OBJECT 00041 protected: 00042 int miGID; 00043 GLIMSGIDData &mGIDData; 00044 QLineEdit *mtxtLat; 00045 00046 QLineEdit *mtxtLon; 00047 00048 QLineEdit *mtxtName; 00049 00050 QLineEdit *mtxtWGMSID; 00051 00052 QLineEdit *mtxtLocalID; 00053 00054 QLineEdit *mtxtParentIMID; 00055 00056 /* 00057 QLineEdit *mtxtDataSource; 00058 QLineEdit *mtxtFName; 00059 QLineEdit *mtxtLName; 00060 QLineEdit *mtxtProcDesc; 00061 QLineEdit *mtxt3dDesc; 00062 */ 00063 00064 QComboBox *mcmbPrimCsfn; 00065 00066 QComboBox *mcmbForm; 00067 00068 QComboBox *mcmbFrntChar; 00069 00070 QComboBox *mcmbLonChar; 00071 00072 QComboBox *mcmbDomMassSrc; 00073 00074 QComboBox *mcmbTongueAct; 00075 00076 QLineEdit *mtxtWidth; 00077 00078 QLineEdit *mtxtLength; 00079 00080 QLineEdit *mtxtArea; 00081 00082 QLineEdit *mtxtAbzoneArea; 00083 00084 QLineEdit *mtxtSpeed; 00085 00086 QLineEdit *mtxtELA; 00087 00088 QLineEdit *mtxtELADesc; 00089 00090 QLineEdit *mtxtSnowLineElev; 00091 00098 void loadValids( ); 00099 00104 void loadGID( ); 00105 00110 void initialize( ); 00111 00112 public: 00113 00118 GlacierIDDlg( GLIMSGIDData & ); 00119 00125 GlacierIDDlg( GLIMSGIDData &, int ); 00126 ~GlacierIDDlg( ); 00127 00134 void keyPressEvent( QKeyEvent * ); 00135 00136 public slots: 00143 void addClicked( ); 00144 00149 void cancelClicked( ); 00150 00151 signals: 00152 void gidSetChanged( ); 00153 00154 }; 00155 00156 #endif 00157 00158 00159
Home |
Search |
Disclaimers & Privacy |
Contact Us GLIMSView Maintainer: dsoltesz@usgs.gov |