#include <Project.h>
Project class
TODO: Write description.
- Author
- Thomas Kroes
◆ Project() [1/2]
| hdps::Project::Project |
( |
QObject * |
parent = nullptr | ) |
|
Construct project with parent
- Parameters
-
| parent | Pointer to parent object |
◆ Project() [2/2]
| hdps::Project::Project |
( |
const QString & |
filePath, |
|
|
bool |
preview, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
Construct project from project JSON filePath and parent
- Parameters
-
| filePath | Path of the project file |
| preview | Only extract basic info from the project JSON file for preview purposes |
| parent | Pointer to parent object |
◆ filePathChanged
| void hdps::Project::filePathChanged |
( |
const QString & |
filePath | ) |
|
|
signal |
Signals that the project file path changed
- Parameters
-
| filePath | Location on disk where the project resides |
◆ fromVariantMap() [1/2]
| void hdps::Project::fromVariantMap |
( |
const QVariantMap & |
variantMap | ) |
|
|
overridevirtual |
◆ fromVariantMap() [2/2]
| void hdps::Project::fromVariantMap |
( |
const QVariantMap & |
variantMap, |
|
|
bool |
preview |
|
) |
| |
Load project from variant
- Parameters
-
| preview | Only extract basic info from the project JSON file for preview purposes |
| Variant | representation of the project |
◆ getApplicationVersionAction() [1/2]
◆ getApplicationVersionAction() [2/2]
◆ getCommentsAction() [1/2]
◆ getCommentsAction() [2/2]
◆ getCompressionAction() [1/2]
| CompressionAction & hdps::Project::getCompressionAction |
( |
| ) |
|
|
inline |
◆ getCompressionAction() [2/2]
| const CompressionAction & hdps::Project::getCompressionAction |
( |
| ) |
const |
|
inline |
◆ getContributorsAction() [1/2]
◆ getContributorsAction() [2/2]
◆ getDescriptionAction() [1/2]
◆ getDescriptionAction() [2/2]
◆ getFilePath()
| QString hdps::Project::getFilePath |
( |
| ) |
const |
Get project file path
- Returns
- Location on disk where the project resides
◆ getProjectVersionAction() [1/2]
◆ getProjectVersionAction() [2/2]
◆ getReadOnlyAction() [1/2]
◆ getReadOnlyAction() [2/2]
◆ getSplashScreenAction() [1/2]
◆ getSplashScreenAction() [2/2]
◆ getStudioModeAction() [1/2]
◆ getStudioModeAction() [2/2]
◆ getTagsAction() [1/2]
◆ getTagsAction() [2/2]
◆ getTitleAction() [1/2]
◆ getTitleAction() [2/2]
◆ getVersion()
Get version of the application (major and minor version number) with which the project is created
- Returns
- Pair of integers representing major and minor version number respectively
◆ setFilePath()
| void hdps::Project::setFilePath |
( |
const QString & |
filePath | ) |
|
Set project file path
- Parameters
-
| filePath | Location on disk where the project resides |
◆ setStudioMode()
| void hdps::Project::setStudioMode |
( |
bool |
studioMode | ) |
|
Set studio mode to studioMode
- Parameters
-
◆ toVariantMap()
| QVariantMap hdps::Project::toVariantMap |
( |
| ) |
const |
|
overridevirtual |
◆ updateContributors()
| void hdps::Project::updateContributors |
( |
| ) |
|
Update the contributors (adds current user if not already added)
◆ DEFAULT_COMPRESSION_LEVEL
| constexpr std::uint32_t hdps::Project::DEFAULT_COMPRESSION_LEVEL = 2 |
|
staticconstexprprotected |
No compression by default
◆ DEFAULT_ENABLE_COMPRESSION
| constexpr bool hdps::Project::DEFAULT_ENABLE_COMPRESSION = false |
|
staticconstexprprotected |
Toggle between view- and studio mode action
The documentation for this class was generated from the following files:
- D:/Work/ManiVault/DevBundle/allmain/source/core/HDPS/src/Project.h
- D:/Work/ManiVault/DevBundle/allmain/source/core/HDPS/src/Project.cpp