TesterRulePage Class Reference

#include <TesterRulePage.h>

Collaboration diagram for TesterRulePage:

Collaboration graph
[legend]

List of all members.

Public Types

enum  EditRule { EnterLong, ExitLong, EnterShort, ExitShort }

Public Member Functions

 TesterRulePage (QWidget *)
 ~TesterRulePage ()
void saveEditRule (EditRule type, QString &ruleName)
void loadEditRule (EditRule type, QString &ruleName)
QString getEditRule (EditRule type)

Protected Attributes

FormulaEditenterLongEdit
FormulaEditenterShortEdit
FormulaEditexitLongEdit
FormulaEditexitShortEdit


Detailed Description

Definition at line 30 of file TesterRulePage.h.


Member Enumeration Documentation

enum TesterRulePage::EditRule

Enumerator:
EnterLong 
ExitLong 
EnterShort 
ExitShort 

Definition at line 36 of file TesterRulePage.h.


Constructor & Destructor Documentation

TesterRulePage::TesterRulePage ( QWidget *  p  ) 

Definition at line 29 of file TesterRulePage.cpp.

References enterLongEdit, enterShortEdit, exitLongEdit, exitShortEdit, and FormulaEdit::Logic.

TesterRulePage::~TesterRulePage (  ) 

Definition at line 58 of file TesterRulePage.cpp.


Member Function Documentation

void TesterRulePage::saveEditRule ( EditRule  type,
QString &  ruleName 
)

Definition at line 62 of file TesterRulePage.cpp.

References enterLongEdit, enterShortEdit, exitLongEdit, exitShortEdit, Config::getData(), FormulaEdit::getText(), and Config::TestPath.

Referenced by Tester::saveRule().

void TesterRulePage::loadEditRule ( EditRule  type,
QString &  ruleName 
)

Definition at line 103 of file TesterRulePage.cpp.

References enterLongEdit, enterShortEdit, exitLongEdit, exitShortEdit, Config::getData(), FormulaEdit::setLine(), and Config::TestPath.

Referenced by Tester::loadRule().

QString TesterRulePage::getEditRule ( EditRule  type  ) 

Definition at line 151 of file TesterRulePage.cpp.

References EnterLong, enterLongEdit, EnterShort, enterShortEdit, ExitLong, exitLongEdit, ExitShort, exitShortEdit, and FormulaEdit::getText().

Referenced by Tester::loadSignals().


Member Data Documentation

FormulaEdit* TesterRulePage::enterLongEdit [protected]

Definition at line 51 of file TesterRulePage.h.

Referenced by getEditRule(), loadEditRule(), saveEditRule(), and TesterRulePage().

FormulaEdit* TesterRulePage::enterShortEdit [protected]

Definition at line 52 of file TesterRulePage.h.

Referenced by getEditRule(), loadEditRule(), saveEditRule(), and TesterRulePage().

FormulaEdit* TesterRulePage::exitLongEdit [protected]

Definition at line 53 of file TesterRulePage.h.

Referenced by getEditRule(), loadEditRule(), saveEditRule(), and TesterRulePage().

FormulaEdit* TesterRulePage::exitShortEdit [protected]

Definition at line 54 of file TesterRulePage.h.

Referenced by getEditRule(), loadEditRule(), saveEditRule(), and TesterRulePage().


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