musrWiz 0.1.0
Loading...
Searching...
No Matches
PTheoPage Class Reference

#include <PMusrWiz.h>

Inheritance diagram for PTheoPage:

Public Member Functions

 PTheoPage (PAdmin *admin, PMsrData *data, QWidget *parent=0)
 PTheoPage::PTheoPage.
 
int nextId () const Q_DECL_OVERRIDE
 PTheoPage::nextId.
 
void initializePage () override
 
bool validatePage () override
 PTheoPage::validatePage.
 

Private Slots

void templateState (int)
 
void clearAll ()
 
void addTheory ()
 PTheoPage::addTheory.
 
void checkTheory ()
 PTheoPage::checkTheory.
 

Private Member Functions

QString getTheoryFunction (int idx)
 PTheoPage::getTheoryFunction.
 
bool analyzeTokens (QString str, int noOfTokens)
 PTheoPage::analyzeTokens.
 
void dealWithParam (QString theo, int paramNo, int paramIdx)
 PTheoPage::dealWithParam.
 
void dealWithMap (QString theo, int mapNo, int paramIdx)
 PTheoPage::dealWithMap.
 
void dealWithFun (int funNo)
 PTheoPage::dealWithFun.
 

Private Attributes

PAdminfAdmin
 
PMsrDatafMsrData
 
bool fTheoValid
 
bool fHaveMap
 
bool fHaveFunc
 
int fTheoBlockNo
 
QVector< PParamfParamList
 
QVector< PParamfMapList
 
QVector< int > fFunList
 
std::unique_ptr< QPlainTextEdit > fTheo
 
std::unique_ptr< QCheckBox > fEditTemplate
 
std::unique_ptr< QPushButton > fClearAll
 
std::unique_ptr< QComboBox > fTheoSelect
 
std::unique_ptr< QPushButton > fTheoAdd
 
std::unique_ptr< QPushButton > fCheckTheo
 

Constructor & Destructor Documentation

◆ PTheoPage()

PTheoPage::PTheoPage ( PAdmin * admin,
PMsrData * data,
QWidget * parent = 0 )

PTheoPage::PTheoPage.

Parameters
data
parent

Member Function Documentation

◆ addTheory

void PTheoPage::addTheory ( )
privateslot

◆ analyzeTokens()

bool PTheoPage::analyzeTokens ( QString str,
int noOfTokens )
private

PTheoPage::analyzeTokens.

Parameters
str
noOfTokens
Returns

◆ checkTheory

void PTheoPage::checkTheory ( )
privateslot

◆ clearAll

void PTheoPage::clearAll ( )
privateslot

◆ dealWithFun()

void PTheoPage::dealWithFun ( int funNo)
private

PTheoPage::dealWithFun.

Parameters
funNo

◆ dealWithMap()

void PTheoPage::dealWithMap ( QString theo,
int mapNo,
int paramIdx )
private

PTheoPage::dealWithMap.

Parameters
theo
mapNo
paramIdx

◆ dealWithParam()

void PTheoPage::dealWithParam ( QString theo,
int paramNo,
int paramIdx )
private

PTheoPage::dealWithParam.

Parameters
theo
paramNo
paramIdx

◆ getTheoryFunction()

QString PTheoPage::getTheoryFunction ( int idx)
private

PTheoPage::getTheoryFunction.

Parameters
idx
Returns

◆ initializePage()

void PTheoPage::initializePage ( )
override

◆ nextId()

int PTheoPage::nextId ( ) const

◆ templateState

void PTheoPage::templateState ( int state)
privateslot

◆ validatePage()

bool PTheoPage::validatePage ( )
override

Member Data Documentation

◆ fAdmin

PAdmin* PTheoPage::fAdmin
private

◆ fCheckTheo

std::unique_ptr<QPushButton> PTheoPage::fCheckTheo
private

◆ fClearAll

std::unique_ptr<QPushButton> PTheoPage::fClearAll
private

◆ fEditTemplate

std::unique_ptr<QCheckBox> PTheoPage::fEditTemplate
private

◆ fFunList

QVector<int> PTheoPage::fFunList
private

◆ fHaveFunc

bool PTheoPage::fHaveFunc
private

◆ fHaveMap

bool PTheoPage::fHaveMap
private

◆ fMapList

QVector<PParam> PTheoPage::fMapList
private

◆ fMsrData

PMsrData* PTheoPage::fMsrData
private

◆ fParamList

QVector<PParam> PTheoPage::fParamList
private

◆ fTheo

std::unique_ptr<QPlainTextEdit> PTheoPage::fTheo
private

◆ fTheoAdd

std::unique_ptr<QPushButton> PTheoPage::fTheoAdd
private

◆ fTheoBlockNo

int PTheoPage::fTheoBlockNo
private

◆ fTheoSelect

std::unique_ptr<QComboBox> PTheoPage::fTheoSelect
private

◆ fTheoValid

bool PTheoPage::fTheoValid
private

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