BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Defines namespace GUI::Project::Utils.
Definition in file ProjectUtils.h.
Go to the source code of this file.
Namespaces | |
GUI | |
GUI::Project | |
GUI::Project::Utils | |
Defines convenience function for project manager and document. | |
Functions | |
QString | GUI::Project::Utils::autosaveDir (const QString &projectFileName) |
Returns name of autosave directory for project with given project file name. E.g. from '/projects/Untitled2/Untitled2.pro' returns '/projects/Untitled2/autosave'. More... | |
QString | GUI::Project::Utils::autosaveName (const QString &projectFileName) |
Returns name of project for autoSave from given project file name. E.g. from '/projects/Untitled2/Untitled2.pro' returns '/projects/Untitled2/autosave/Untitled2.pro'. More... | |
QString | GUI::Project::Utils::autosaveSubdir () |
Returns fixed name for autosave sub-directory. More... | |
bool | GUI::Project::Utils::hasAutosavedData (const QString &projectFileName) |
Returns true if project with given projectFileName contains autosaved data. More... | |
QString | GUI::Project::Utils::projectDir (const QString &projectFileName) |
Returns project directory deduced from project file name. More... | |
QString | GUI::Project::Utils::projectName (const QString &projectFileName) |
Returns project name deduced from project file name. More... | |
Variables | |
constexpr const char * | GUI::Project::Utils::projectFileExtension {".pro"} |