Isis 3 Programmer Reference
PvlEditDialog.h
1 #ifndef PvlEditDialog_h
2 #define PvlEditDialog_h
3 
4 #include <QDialog>
5 #include <QString>
6 
7 #include "Pvl.h"
8 
9 class QLabel;
10 class QLineEdit;
11 class QListWidget;
12 class QPushButton;
13 class QTextEdit;
14 
15 #include <vector>
16 
17 namespace Isis {
39  class PvlEditDialog : public QDialog {
40  Q_OBJECT
41 
42  public:
43  PvlEditDialog(Pvl &pvl, QWidget *parent = 0);
44 
45  private:
46  QTextEdit *p_textEdit;
47  QPushButton *p_saveButton;
48 
49  private slots:
50  void enableSaveButton();
51  void saveTextEdit();
52  };
53 };
54 
55 #endif
56 
57 
void enableSaveButton()
Allow the "Save Changes" button to be activated.
PvlEditDialog(Pvl &pvl, QWidget *parent=0)
This constructor creates a PvlEditDialog object given a pointer to a Pvl object.
Container for cube-like labels.
Definition: Pvl.h:135
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void saveTextEdit()
Save the edited text as a new Pvl file.
PvlEditDialog creates a QDialog window in which a QTextEdit box displays the contents of a pvl file...
Definition: PvlEditDialog.h:39