USGS

Isis 3.0 Object Programmers' Reference

Home

QnetNewPointDialog.h
1 #ifndef QnetNewPointDialog_h
2 #define QnetNewPointDialog_h
3 
4 #include <QDialog>
5 
6 class QLabel;
7 class QLineEdit;
8 class QListWidget;
9 class QPushButton;
10 class QString;
11 class QStringList;
12 
13 namespace Isis {
14  class QnetTool;
15 
27  class QnetNewPointDialog : public QDialog {
28 
29  Q_OBJECT
30 
31  public:
32  QnetNewPointDialog(QnetTool *qnetTool, QString defaultPointId, QWidget *parent = 0);
33 
34  QString pointId() const;
35  QStringList selectedFiles() const;
36  void setFiles(QStringList pointFiles);
37 
38  private slots:
39  void enableOkButton(const QString &text);
40 
41  private:
42  QLabel *m_ptIdLabel;
43  QPushButton *m_okButton;
44  QLineEdit *m_ptIdEdit;
45  QListWidget *m_fileList;
46  QStringList *m_pointFiles;
47  QnetTool *m_qnetTool;
48 
49  };
50 };
51 
52 #endif
53 
54