#include <RunManager.hpp>
◆ RunManager()
| wizard::RunManager::RunManager |
( |
| ) |
|
|
protected |
◆ ~RunManager()
| wizard::RunManager::~RunManager |
( |
| ) |
|
|
protectedvirtual |
◆ ClearRecentScenarios()
| void wizard::RunManager::ClearRecentScenarios |
( |
| ) |
|
◆ Create()
| void wizard::RunManager::Create |
( |
| ) |
|
|
static |
◆ GetApplicationPath()
| QString wizard::RunManager::GetApplicationPath |
( |
| ) |
const |
|
noexcept |
Get the application path
- Returns
- the application path
References mApplicationPath.
◆ GetCurrentProjectPath()
| QString wizard::RunManager::GetCurrentProjectPath |
( |
| ) |
const |
|
noexcept |
◆ GetInstance()
◆ GetMostRecentDirectory()
| QString wizard::RunManager::GetMostRecentDirectory |
( |
| ) |
|
◆ GetRecents()
| const QList< QStringList > & wizard::RunManager::GetRecents |
( |
| ) |
|
|
inline |
◆ GetRecentScenarios()
| const QList< QStringList > & wizard::RunManager::GetRecentScenarios |
( |
| ) |
const |
|
inline |
◆ GetScenarioDisplayName()
| QString wizard::RunManager::GetScenarioDisplayName |
( |
const QStringList & | aFileList, |
|
|
bool | aDisplayFullPath ) |
|
static |
- Note
- For window title and recent menu actions/links
Referenced by LoadScenario().
◆ IsWorkingDirectoryApplication()
| bool wizard::RunManager::IsWorkingDirectoryApplication |
( |
| ) |
const |
|
noexcept |
◆ IsWorkingDirectoryProject()
| bool wizard::RunManager::IsWorkingDirectoryProject |
( |
| ) |
const |
|
noexcept |
Determine whether or not the current project's path is set as the working directory
- Returns
- whether or not the current project's path is set as the working directory
References mCurrentProjectPath.
◆ LoadScenario()
| bool wizard::RunManager::LoadScenario |
( |
const QStringList & | aFileList | ) |
|
◆ ReadSettings()
| void wizard::RunManager::ReadSettings |
( |
| ) |
|
|
protected |
◆ ReloadScenario()
| bool wizard::RunManager::ReloadScenario |
( |
| ) |
|
◆ RemoveRecentScenario()
| void wizard::RunManager::RemoveRecentScenario |
( |
const QStringList & | aFileList | ) |
|
◆ SetMostRecentScenario()
| void wizard::RunManager::SetMostRecentScenario |
( |
const QStringList & | aFileList | ) |
|
|
protected |
◆ SetWorkingDirectoryToApplication()
| bool wizard::RunManager::SetWorkingDirectoryToApplication |
( |
| ) |
|
|
noexcept |
◆ SetWorkingDirectoryToProject() [1/3]
| bool wizard::RunManager::SetWorkingDirectoryToProject |
( |
const QString & | aMainScenarioFile | ) |
|
|
noexcept |
Sets the working directory to where the "soon-to-be-current" project is
- Parameters
-
| aMainScenarioFile | is the "soon-to-be-current" project (or the start-up file for the project) |
- Postcondition
- the application path for Wizard is stored in mApplicationPath
- Returns
- whether or not the write-protection was set
- Note
- another side-effect of QDir::setCurrent on Windows is that the working directory is write-protected (just the directory, not the files in the directory)
- See also
- warlock::RunManager
References mCurrentProjectPath.
Referenced by LoadScenario(), SetWorkingDirectoryToProject(), and SetWorkingDirectoryToProject().
◆ SetWorkingDirectoryToProject() [2/3]
| bool wizard::RunManager::SetWorkingDirectoryToProject |
( |
const std::string & | aMainScenarioFile | ) |
|
|
noexcept |
◆ SetWorkingDirectoryToProject() [3/3]
| bool wizard::RunManager::SetWorkingDirectoryToProject |
( |
const UtPath & | aMainScenarioFile | ) |
|
|
noexcept |
◆ Shutdown()
| void wizard::RunManager::Shutdown |
( |
| ) |
|
◆ StandardizeFilePaths()
| QStringList wizard::RunManager::StandardizeFilePaths |
( |
const QStringList & | aFileList, |
|
|
bool * | aFilesExist = nullptr ) |
|
staticprotected |
◆ WriteHistory()
| void wizard::RunManager::WriteHistory |
( |
| ) |
|
|
protected |
◆ mApplicationPath
| const QString wizard::RunManager::mApplicationPath |
|
protected |
◆ mCurrentProjectPath
| QString wizard::RunManager::mCurrentProjectPath |
|
protected |
◆ mFileList
| QStringList wizard::RunManager::mFileList |
|
protected |
◆ mInstancePtr
◆ mMaxRecentScenarios
| int wizard::RunManager::mMaxRecentScenarios |
|
protected |
◆ mRecentScenarios
| QList<QStringList> wizard::RunManager::mRecentScenarios |
|
protected |
The documentation for this class was generated from the following files: