|
QSS Solver GUI
4.5.3
|
#include <utils.hpp>
Public Member Functions | |
| ~Utils ()=default | |
| QString | appCommand (AppCmds c) |
| QString | appDir (AppDirs d) |
| QString | appFlag (AppFlags f) |
| QString | defaultValue (QString tok) |
| bool | isSet (AppFlags f) |
| QString | relativePath (AppDirs d) |
| void | setCommand (AppCmds c, QString value) |
| void | setDir (AppDirs d, QString value) |
| void | setFlag (AppFlags f, QString value) |
Protected Member Functions | |
| QString | getDir (AppDirs dir) |
| QString | getDebugValue () |
| QString | appFlagName (AppFlags flag) |
| QString | appDirsName (AppDirs dir) |
| QString | appCommandsName (AppCmds cmd) |
|
default |
| QString Utils::appCommand | ( | AppCmds | c | ) |
Definition at line 22 of file utils.cpp.
References appCommandsName().
Referenced by MmomeGui::comp_finished(), MmomeGui::compile(), MmomeGui::on_actionGraphics_triggered(), MmomeGui::on_actionImport_triggered(), MmomeGui::on_actionLog_triggered(), MmomeGui::run(), and SettingsDlg::SettingsDlg().

|
protected |
Definition at line 151 of file utils.cpp.
References CMD_BUILD, CMD_COMPILE, CMD_LOG, CMD_PLOT, CMD_SBML, and CMD_SIMULATE.
Referenced by appCommand(), and setCommand().
| QString Utils::appDir | ( | AppDirs | d | ) |
Definition at line 28 of file utils.cpp.
References getDir().
Referenced by MmomeGui::addVariables(), MmomeGui::cleanBuildDir(), MmomeGui::comp_finished(), MmomeGui::compile(), MmomeGui::log_finished(), MmomeGui::make_finished(), ModelEditor::newFileName(), MmomeGui::on_action_Load_triggered(), MmomeGui::on_actionClear_Log_triggered(), MmomeGui::on_actionGraphics_triggered(), MmomeGui::on_actionImport_triggered(), MmomeGui::on_actionLog_triggered(), MmomeGui::plotScript(), MmomeGui::run(), MmomeGui::run_finished(), and MmomeGui::runDlgClose().

|
protected |
Definition at line 179 of file utils.cpp.
References MMOC_BIN, MMOC_BUILD, MMOC_ENGINE, MMOC_INCLUDE, MMOC_LIBRARIES, MMOC_LIBS, MMOC_MODELS, MMOC_OUTPUT, MMOC_PACKAGES, and MMOC_SOURCE.
| QString Utils::appFlag | ( | AppFlags | f | ) |
Definition at line 78 of file utils.cpp.
References appFlagName(), FLG_DEBUG, and getDebugValue().
Referenced by MmomeGui::compile(), MmomeGui::on_actionAbout_triggered(), MmomeGui::on_actionGraphics_triggered(), and SettingsDlg::SettingsDlg().

|
protected |
Definition at line 105 of file utils.cpp.
References FLG_DBG_ALL, FLG_DBG_DT, FLG_DBG_EXTERNAL_EVENT, FLG_DBG_INIT_VALUES, FLG_DBG_MEMORY, FLG_DBG_STEP_INFO, FLG_DBG_SYNCHRONIZE, FLG_DBG_VAR_CHANGES, FLG_DBG_WAIT_FOR, FLG_DBG_WEIGHTS, FLG_FLAGS, and FLG_PLOT.
| QString Utils::defaultValue | ( | QString | tok | ) |
|
protected |
Definition at line 42 of file utils.cpp.
References FLG_DBG_ALL, FLG_DBG_DT, FLG_DBG_EXTERNAL_EVENT, FLG_DBG_INIT_VALUES, FLG_DBG_MEMORY, FLG_DBG_STEP_INFO, FLG_DBG_SYNCHRONIZE, FLG_DBG_VAR_CHANGES, FLG_DBG_WAIT_FOR, FLG_DBG_WEIGHTS, and isSet().
Referenced by appFlag().

|
protected |
Definition at line 92 of file utils.cpp.
References appDirsName().
Referenced by appDir(), and relativePath().

| bool Utils::isSet | ( | AppFlags | f | ) |
Definition at line 35 of file utils.cpp.
References appFlagName().
Referenced by getDebugValue().

| QString Utils::relativePath | ( | AppDirs | d | ) |
Definition at line 90 of file utils.cpp.
References getDir().
Referenced by SettingsDlg::SettingsDlg().

| void Utils::setCommand | ( | AppCmds | c, |
| QString | value | ||
| ) |
Definition at line 99 of file utils.cpp.
References appCommandsName().
Referenced by SettingsDlg::_save().

| void Utils::setDir | ( | AppDirs | d, |
| QString | value | ||
| ) |
Definition at line 219 of file utils.cpp.
References appDirsName().
Referenced by SettingsDlg::_save().

| void Utils::setFlag | ( | AppFlags | f, |
| QString | value | ||
| ) |
Definition at line 225 of file utils.cpp.
References appFlagName().
Referenced by SettingsDlg::_save().
