Isis 3 Programmer Reference
|
Widget for displaying information about a target. More...
#include <TemplateEditorWidget.h>
Public Slots | |
void | saveText () |
Called when a user clicks the "Save" button. | |
void | saveAsText () |
Called when a user clicks the "Save As" button. | |
void | saveOption () |
This slot is called when the widget is closed (either via the widget itself or on project close). | |
void | textChanged () |
Slot called when text within widget has been changed. | |
Public Member Functions | |
TemplateEditorWidget (Template *currentTemplate, Directory *directory, QWidget *parent=0) | |
Private Attributes | |
Ui::TemplateEditorWidget * | m_ui |
Directory * | m_directory |
Template * | m_template |
QString | m_fileType |
bool | m_textChanged |
Widget for displaying information about a target.
2017-12-05 Christopher Combs - Original version.
2018-07-07 Summer Stapleton - Implemented the SaveAs option in the widget. This allows a user to save the file externally to the project as well as to immediately import the template with a simple checkbox in the filedialog. Users are also prompted to save if there have been changes made to the template file since saving if the widget or the ipce main window is closed.
Definition at line 35 of file TemplateEditorWidget.h.
|
explicit |
Definition at line 17 of file TemplateEditorWidget.cpp.
Isis::TemplateEditorWidget::~TemplateEditorWidget | ( | ) |
Definition at line 38 of file TemplateEditorWidget.cpp.
|
slot |
Called when a user clicks the "Save As" button.
Definition at line 68 of file TemplateEditorWidget.cpp.
|
slot |
This slot is called when the widget is closed (either via the widget itself or on project close).
Definition at line 161 of file TemplateEditorWidget.cpp.
|
slot |
Called when a user clicks the "Save" button.
Definition at line 50 of file TemplateEditorWidget.cpp.
|
slot |
Slot called when text within widget has been changed.
Definition at line 151 of file TemplateEditorWidget.cpp.
|
private |
Definition at line 52 of file TemplateEditorWidget.h.
|
private |
Definition at line 54 of file TemplateEditorWidget.h.
|
private |
Definition at line 53 of file TemplateEditorWidget.h.
|
private |
Definition at line 55 of file TemplateEditorWidget.h.
|
private |
Definition at line 50 of file TemplateEditorWidget.h.