Isis 3 Programmer Reference
PvlEditDialog.h
1#ifndef PvlEditDialog_h
2#define PvlEditDialog_h
8/* SPDX-License-Identifier: CC0-1.0 */
9
10#include <QDialog>
11#include <QString>
12
13#include "Pvl.h"
14
15class QLabel;
16class QLineEdit;
17class QListWidget;
18class QPushButton;
19class QTextEdit;
20
21#include <vector>
22
23namespace 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
PvlEditDialog creates a QDialog window in which a QTextEdit box displays the contents of a pvl file.
void saveTextEdit()
Save the edited text as a new Pvl file.
PvlEditDialog(Pvl &pvl, QWidget *parent=0)
This constructor creates a PvlEditDialog object given a pointer to a Pvl object.
void enableSaveButton()
Allow the "Save Changes" button to be activated.
Container for cube-like labels.
Definition Pvl.h:119
This is free and unencumbered software released into the public domain.
Definition Apollo.h:16