#include <qseoperatoreditor.h>


Public Slots | |
| bool | editorValidate () |
| void | editorApply () |
| void | editorCancel () |
Public Member Functions | |
| QseOperatorEditor (QseOperator *oper, QWidget *parent=0) | |
| void | addEditor (QseParameterEditor *editor) |
Protected Attributes | |
| QseOperator * | m_Operator |
| QList< QseParameterEditor * > | m_Editors |
Definition at line 9 of file qseoperatoreditor.h.
| QseOperatorEditor::QseOperatorEditor | ( | QseOperator * | oper, | |
| QWidget * | parent = 0 | |||
| ) |
Definition at line 5 of file qseoperatoreditor.cpp.
00006 : QWidget(parent), 00007 m_Operator(oper) 00008 { 00009 }
| void QseOperatorEditor::addEditor | ( | QseParameterEditor * | editor | ) |
Definition at line 11 of file qseoperatoreditor.cpp.
References m_Editors.
Referenced by QseParameterEditor::QseParameterEditor().
00012 { 00013 // printf("QseOperatorEditor::addEditor\n"); 00014 00015 m_Editors.append(editor); 00016 }
| bool QseOperatorEditor::editorValidate | ( | ) | [slot] |
Definition at line 18 of file qseoperatoreditor.cpp.
References QseParameterEditor::editorValidate(), and m_Editors.
Referenced by QseScanAveragerUI::dialogApply(), QseNormalizerUI::dialogApply(), QseEdgeAlignerUI::dialogApply(), and QseDataDeglitcherUI::dialogApply().
00019 { 00020 bool ok = true; 00021 00022 QseParameterEditor* ed; 00023 00024 foreach(ed, m_Editors) { 00025 if(!ed->editorValidate()) { 00026 ok = false; 00027 } 00028 } 00029 00030 return ok; 00031 }
| void QseOperatorEditor::editorApply | ( | ) | [slot] |
Definition at line 33 of file qseoperatoreditor.cpp.
References QseParameterEditor::editorApply(), and m_Editors.
Referenced by QseScanAveragerUI::dialogApply(), QseNormalizerUI::dialogApply(), QseEdgeAlignerUI::dialogApply(), and QseDataDeglitcherUI::dialogApply().
00034 { 00035 QseParameterEditor* ed; 00036 00037 foreach(ed, m_Editors) { 00038 // printf("Editor %p apply\n", ed); 00039 ed->editorApply(); 00040 } 00041 }
| void QseOperatorEditor::editorCancel | ( | ) | [slot] |
Definition at line 43 of file qseoperatoreditor.cpp.
References QseParameterEditor::editorCancel(), and m_Editors.
Referenced by QseScanAveragerUI::dialogCancel(), QseNormalizerUI::dialogCancel(), QseEdgeAlignerUI::dialogCancel(), and QseDataDeglitcherUI::dialogCancel().
00044 { 00045 QseParameterEditor* ed; 00046 00047 foreach(ed, m_Editors) { 00048 // printf("Editor %p cancel\n", ed); 00049 ed->editorCancel(); 00050 } 00051 }
QseOperator* QseOperatorEditor::m_Operator [protected] |
Definition at line 23 of file qseoperatoreditor.h.
QList<QseParameterEditor*> QseOperatorEditor::m_Editors [protected] |
Definition at line 24 of file qseoperatoreditor.h.
Referenced by addEditor(), editorApply(), editorCancel(), and editorValidate().
1.5.5