QseOperatorEditor Class Reference

#include <qseoperatoreditor.h>

Inheritance diagram for QseOperatorEditor:

Inheritance graph
[legend]
Collaboration diagram for QseOperatorEditor:

Collaboration graph
[legend]

List of all members.

Public Slots

bool editorValidate ()
void editorApply ()
void editorCancel ()

Public Member Functions

 QseOperatorEditor (QseOperator *oper, QWidget *parent=0)
void addEditor (QseParameterEditor *editor)

Protected Attributes

QseOperatorm_Operator
QList< QseParameterEditor * > m_Editors


Detailed Description

Definition at line 9 of file qseoperatoreditor.h.


Constructor & Destructor Documentation

QseOperatorEditor::QseOperatorEditor ( QseOperator oper,
QWidget parent = 0 
)

Definition at line 5 of file qseoperatoreditor.cpp.

00006   : QWidget(parent),
00007     m_Operator(oper)
00008 {
00009 }


Member Function Documentation

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 }


Member Data Documentation

Definition at line 23 of file qseoperatoreditor.h.

Definition at line 24 of file qseoperatoreditor.h.

Referenced by addEditor(), editorApply(), editorCancel(), and editorValidate().


The documentation for this class was generated from the following files:

Generated on Fri May 2 16:26:42 2008 for QSE by  doxygen 1.5.5