Public Member Functions | Protected Slots | Private Attributes

LoadAutomataDialog Class Reference

#include <dialogs.h>

Collaboration diagram for LoadAutomataDialog:

List of all members.

Public Member Functions

 LoadAutomataDialog (Editor *editor, const QString &dialogTitle, int count, const QStringList &drawAlgorithmList, bool useCurrent, IAlgorithm *algorithm)
bool alphabetIsSet () const
bool alphabetSymbolIsSet () const
bool epsilonSymbolIsSet () const
ITransition::TCharSet getAlphabet () const
QString getAlphabetSymbol () const
int getDrawAlgorithmIndex () const
QString getEpsilonSymbol () const
QStringList getFileNames () const
void setDrawAlgorithmIndex (int index)
bool useCurrentAutomaton () const

Protected Slots

void algorithmSettings ()
void buttonClicked ()
void checkAlphabetChanged (int)
void checkAlphabetSymbChanged (int)
void checkChanged (int state)
void checkEpsilonSymbChanged (int)
void myAccept ()

Private Attributes

IAlgorithmm_algorithm
ITransition::TCharSet m_alphabet
QRegExp m_alphabetRegex
QString m_alphabetSymbol
QCheckBox * m_checkAlphabet
QCheckBox * m_checkAlphabetSymbol
QCheckBox * m_checkEpsilonSymbol
QCheckBox * m_checkUseCurrent
QComboBox * m_comboDrawList
int m_count
QString m_editorFileName
QLineEdit * m_edtAlphabet
QLineEdit * m_edtAlphabetSymbol
QLineEdit * m_edtEpsilonSymbol
QString m_epsilonSymbol
QList< QPushButton * > m_fileButtons
QList< QLineEdit * > m_fileEdits
QString m_lastFileName

Detailed Description

Definition at line 192 of file dialogs.h.


Constructor & Destructor Documentation

LoadAutomataDialog::LoadAutomataDialog ( Editor editor,
const QString &  dialogTitle,
int  count,
const QStringList &  drawAlgorithmList,
bool  useCurrent,
IAlgorithm algorithm 
)

Member Function Documentation

void LoadAutomataDialog::algorithmSettings (  )  [protected, slot]

Definition at line 1103 of file dialogs.cpp.

References m_algorithm, and IAlgorithm::runSettingsDialog().

Referenced by LoadAutomataDialog().

Here is the call graph for this function:

Here is the caller graph for this function:

bool LoadAutomataDialog::alphabetIsSet (  )  const

Definition at line 917 of file dialogs.cpp.

References m_checkAlphabet.

Referenced by Editor::loadAutomaton().

Here is the caller graph for this function:

bool LoadAutomataDialog::alphabetSymbolIsSet (  )  const

Definition at line 922 of file dialogs.cpp.

References m_checkAlphabetSymbol.

Referenced by getAlphabetSymbol(), and Editor::loadAutomaton().

Here is the caller graph for this function:

void LoadAutomataDialog::buttonClicked (  )  [protected, slot]

Definition at line 1050 of file dialogs.cpp.

References m_fileButtons, m_fileEdits, and m_lastFileName.

Referenced by LoadAutomataDialog().

Here is the caller graph for this function:

void LoadAutomataDialog::checkAlphabetChanged ( int  state  )  [protected, slot]

Definition at line 1067 of file dialogs.cpp.

References m_edtAlphabet.

Referenced by LoadAutomataDialog().

Here is the caller graph for this function:

void LoadAutomataDialog::checkAlphabetSymbChanged ( int  state  )  [protected, slot]

Definition at line 1079 of file dialogs.cpp.

References m_edtAlphabetSymbol.

Referenced by LoadAutomataDialog().

Here is the caller graph for this function:

void LoadAutomataDialog::checkChanged ( int  state  )  [protected, slot]

Definition at line 1029 of file dialogs.cpp.

References m_editorFileName, m_fileButtons, and m_fileEdits.

Referenced by LoadAutomataDialog().

Here is the caller graph for this function:

void LoadAutomataDialog::checkEpsilonSymbChanged ( int  state  )  [protected, slot]

Definition at line 1091 of file dialogs.cpp.

References m_edtEpsilonSymbol.

Referenced by LoadAutomataDialog().

Here is the caller graph for this function:

bool LoadAutomataDialog::epsilonSymbolIsSet (  )  const

Definition at line 927 of file dialogs.cpp.

References m_checkEpsilonSymbol.

Referenced by getEpsilonSymbol(), and Editor::loadAutomaton().

Here is the caller graph for this function:

ITransition::TCharSet LoadAutomataDialog::getAlphabet (  )  const

Definition at line 932 of file dialogs.cpp.

References DBGLOG, DBGPAR, and m_alphabet.

Referenced by Editor::loadAutomaton().

Here is the caller graph for this function:

QString LoadAutomataDialog::getAlphabetSymbol (  )  const

Definition at line 940 of file dialogs.cpp.

References alphabetSymbolIsSet(), DBGLOG, DBGPAR, and m_alphabetSymbol.

Referenced by Editor::loadAutomaton().

Here is the call graph for this function:

Here is the caller graph for this function:

int LoadAutomataDialog::getDrawAlgorithmIndex (  )  const

Definition at line 903 of file dialogs.cpp.

References m_comboDrawList.

QString LoadAutomataDialog::getEpsilonSymbol (  )  const

Definition at line 948 of file dialogs.cpp.

References DBGLOG, DBGPAR, epsilonSymbolIsSet(), and m_epsilonSymbol.

Referenced by Editor::loadAutomaton().

Here is the call graph for this function:

Here is the caller graph for this function:

QStringList LoadAutomataDialog::getFileNames (  )  const

Definition at line 876 of file dialogs.cpp.

References m_count, and m_fileEdits.

void LoadAutomataDialog::myAccept (  )  [protected, slot]
void LoadAutomataDialog::setDrawAlgorithmIndex ( int  index  ) 

Definition at line 910 of file dialogs.cpp.

References m_comboDrawList.

bool LoadAutomataDialog::useCurrentAutomaton (  )  const

Definition at line 893 of file dialogs.cpp.

References m_checkUseCurrent, and m_count.


Member Data Documentation

Definition at line 236 of file dialogs.h.

Referenced by algorithmSettings(), and LoadAutomataDialog().

Definition at line 232 of file dialogs.h.

Referenced by getAlphabet(), and myAccept().

Definition at line 231 of file dialogs.h.

Referenced by LoadAutomataDialog().

Definition at line 233 of file dialogs.h.

Referenced by getAlphabetSymbol(), and myAccept().

Definition at line 219 of file dialogs.h.

Referenced by alphabetIsSet(), LoadAutomataDialog(), and myAccept().

Definition at line 220 of file dialogs.h.

Referenced by alphabetSymbolIsSet(), LoadAutomataDialog(), and myAccept().

Definition at line 221 of file dialogs.h.

Referenced by epsilonSymbolIsSet(), LoadAutomataDialog(), and myAccept().

Definition at line 215 of file dialogs.h.

Referenced by LoadAutomataDialog(), myAccept(), and useCurrentAutomaton().

Definition at line 238 of file dialogs.h.

Referenced by getDrawAlgorithmIndex(), LoadAutomataDialog(), and setDrawAlgorithmIndex().

Definition at line 227 of file dialogs.h.

Referenced by getFileNames(), LoadAutomataDialog(), myAccept(), and useCurrentAutomaton().

Definition at line 228 of file dialogs.h.

Referenced by checkChanged().

QLineEdit* LoadAutomataDialog::m_edtAlphabet [private]

Definition at line 223 of file dialogs.h.

Referenced by checkAlphabetChanged(), LoadAutomataDialog(), and myAccept().

Definition at line 224 of file dialogs.h.

Referenced by checkAlphabetSymbChanged(), LoadAutomataDialog(), and myAccept().

Definition at line 225 of file dialogs.h.

Referenced by checkEpsilonSymbChanged(), LoadAutomataDialog(), and myAccept().

Definition at line 234 of file dialogs.h.

Referenced by getEpsilonSymbol(), and myAccept().

QList<QPushButton*> LoadAutomataDialog::m_fileButtons [private]

Definition at line 217 of file dialogs.h.

Referenced by buttonClicked(), checkChanged(), and LoadAutomataDialog().

QList<QLineEdit*> LoadAutomataDialog::m_fileEdits [private]

Definition at line 216 of file dialogs.h.

Referenced by buttonClicked(), checkChanged(), getFileNames(), LoadAutomataDialog(), and myAccept().

Definition at line 229 of file dialogs.h.

Referenced by buttonClicked().


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