Isis Developer Reference
PvlEditDialog.h
Go to the documentation of this file.
1 #ifndef PvlEditDialog_h
2 #define PvlEditDialog_h
3 
8 /* SPDX-License-Identifier: CC0-1.0 */
9 
10 #include <QDialog>
11 #include <QString>
12 
13 #include "Pvl.h"
14 
15 class QLabel;
16 class QLineEdit;
17 class QListWidget;
18 class QPushButton;
19 class QTextEdit;
20 
21 #include <vector>
22 
23 namespace Isis {
45  class PvlEditDialog : public QDialog {
46  Q_OBJECT
47 
48  public:
49  PvlEditDialog(Pvl &pvl, QWidget *parent = 0);
50 
51  private:
52  QTextEdit *p_textEdit;
53  QPushButton *p_saveButton;
54 
55  private slots:
56  void enableSaveButton();
57  void saveTextEdit();
58  };
59 };
60 
61 #endif
62 
63 
QWidget
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Pvl.h
PvlEditDialog.h
Isis::PvlContainer::fileName
QString fileName() const
Returns the filename used to initialise the Pvl object.
Definition: PvlContainer.h:232
Isis::PvlEditDialog::PvlEditDialog
PvlEditDialog(Pvl &pvl, QWidget *parent=0)
This constructor creates a PvlEditDialog object given a pointer to a Pvl object.
Definition: PvlEditDialog.cpp:38
IException.h
std
Namespace for the standard library.
QDialog
Isis::PvlEditDialog
PvlEditDialog creates a QDialog window in which a QTextEdit box displays the contents of a pvl file.
Definition: PvlEditDialog.h:45
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16