![]() |
tuchulcha
0.10.1
Graphical Workflow Configuration Editor
|
A widget to display comments for the current workflow. More...
#include <WorkflowComments.h>

Public Slots | |
| void | load () |
| load the comment from the model and display it in the text field | |
| void | save () |
| save the comment to the model | |
| void | update (ParameterFileModel *model) |
| change the active model and call load() More... | |
Public Member Functions | |
| WorkflowComments (QWidget *parent=0) | |
| Default Constructor. More... | |
Private Attributes | |
| ParameterFileModel * | _model |
| The currently active model. | |
| QMutex * | _textChangeLock |
| Stop load() from doing anything while save() is executing. More... | |
Definition at line 36 of file WorkflowComments.h.
| WorkflowComments::WorkflowComments | ( | QWidget * | parent = 0 | ) |
| parent | pointer to the parent widget |
Definition at line 37 of file WorkflowComments.cpp.
References save().
|
slot |
| model | the new model |
Definition at line 81 of file WorkflowComments.cpp.
References _model, _textChangeLock, and load().
|
private |
This prevents weird behavior of the QTextEdit box due to emitted signals while editting the model.
Definition at line 68 of file WorkflowComments.h.