Isis Developer Reference
|
Widget for displaying information about a target. More...
#include <TemplateEditorWidget.h>
Public Slots | |
void | saveText () |
Called when a user clicks the "Save" button. More... | |
void | saveAsText () |
Called when a user clicks the "Save As" button. More... | |
void | saveOption () |
This slot is called when the widget is closed (either via the widget itself or on project close). More... | |
void | textChanged () |
Slot called when text within widget has been changed. More... | |
Public Member Functions | |
TemplateEditorWidget (Template *currentTemplate, Directory *directory, QWidget *parent=0) | |
~TemplateEditorWidget () | |
Widget for displaying information about a target.
|
explicit |
References Isis::Template::fileName(), saveAsText(), saveText(), Isis::Template::templateType(), and textChanged().
Isis::TemplateEditorWidget::~TemplateEditorWidget | ( | ) |
References saveOption().
|
slot |
Called when a user clicks the "Save As" button.
References _FILEINFO_, Isis::Project::addTemplateFolder(), Isis::Project::addTemplates(), Isis::IException::Io, Isis::Directory::project(), and Isis::Project::setClean().
Referenced by saveOption(), and TemplateEditorWidget().
|
slot |
This slot is called when the widget is closed (either via the widget itself or on project close).
References saveAsText().
Referenced by ~TemplateEditorWidget().
|
slot |
Called when a user clicks the "Save" button.
References Isis::Template::fileName().
Referenced by TemplateEditorWidget().
|
slot |
Slot called when text within widget has been changed.
Referenced by TemplateEditorWidget().