Isis 3 Programmer Reference
|
PvlEditDialog creates a QDialog window in which a QTextEdit box displays the contents of a pvl file. More...
#include <PvlEditDialog.h>
Public Member Functions | |
PvlEditDialog (Pvl &pvl, QWidget *parent=0) | |
This constructor creates a PvlEditDialog object given a pointer to a Pvl object. More... | |
Private Slots | |
void | enableSaveButton () |
Allow the "Save Changes" button to be activated. More... | |
void | saveTextEdit () |
Save the edited text as a new Pvl file. More... | |
Private Attributes | |
QTextEdit * | p_textEdit |
QPushButton * | p_saveButton |
PvlEditDialog creates a QDialog window in which a QTextEdit box displays the contents of a pvl file.
This file may be viewed or edited and saved as a new pvl file.
Definition at line 45 of file PvlEditDialog.h.
This constructor creates a PvlEditDialog object given a pointer to a Pvl object.
pvl | Pvl file to be viewed or edited |
Definition at line 38 of file PvlEditDialog.cpp.
References enableSaveButton(), Isis::PvlContainer::fileName(), and saveTextEdit().
|
privateslot |
Allow the "Save Changes" button to be activated.
Definition at line 92 of file PvlEditDialog.cpp.
Referenced by PvlEditDialog().
|
privateslot |
Save the edited text as a new Pvl file.
Definition at line 106 of file PvlEditDialog.cpp.
References Isis::IException::toString(), and Isis::Pvl::write().
Referenced by PvlEditDialog().