![]()  | 
  
    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.   | |
Private Slots | |
| void | enableSaveButton () | 
| Allow the "Save Changes" button to be activated.   | |
| void | saveTextEdit () | 
| Save the edited text as a new Pvl file.   | |
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.
2008-12-10 Jeannie Walldren - Original version written to view and edit the template file in the qnet application.
2008-12-10 Jeannie Walldren - Changed namespace from Qisis to Isis
2008-12-10 Jeannie Walldren - Cleaned up code and fixed bugs arising from moving this class from Qisis and to Isis. Added moc commands to Makefile.
2008-12-15 Jeannie Walldren - Added a verification that the edited file is in Pvl format. Replaced error throws with QMessage warning boxes.
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 | 
2008-12-10 Jeannie Walldren - Original Version
2008-12-15 Jeannie Walldren - Removed unneccesary error catch.
Definition at line 38 of file PvlEditDialog.cpp.
References enableSaveButton(), 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.
2008-12-10 Jeannie Walldren - Original Version.
2008-12-15 Jeannie Walldren - Added a verification that the edited file is in Pvl format before allowing save. Replaced error throw with QMessageBox warning.
Definition at line 106 of file PvlEditDialog.cpp.
Referenced by PvlEditDialog().
      
  | 
  private | 
Definition at line 53 of file PvlEditDialog.h.
      
  | 
  private | 
Definition at line 52 of file PvlEditDialog.h.