#include <Workspace.h>
|
| static QImage | getPreviewImage (const QString &workspaceFilePath, const QSize &targetSize=QSize(500, 500)) |
| |
| static QString | createId () |
| |
Workspace class
TODO: Write description.
- Author
- Thomas Kroes
◆ Workspace() [1/2]
| hdps::Workspace::Workspace |
( |
QObject * |
parent = nullptr | ) |
|
Construct workspace with parent
- Parameters
-
| parent | Pointer to parent object |
◆ Workspace() [2/2]
| hdps::Workspace::Workspace |
( |
const QString & |
filePath, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
Construct workspace with parent and load from filePath
- Parameters
-
| filePath | Path of the workspace file |
| parent | Pointer to parent object |
◆ filePathChanged
| void hdps::Workspace::filePathChanged |
( |
const QString & |
filePath | ) |
|
|
signal |
Signals that the workspace file path changed
- Parameters
-
| filePath | Location on disk where the workspace resides |
◆ fromVariantMap()
| void hdps::Workspace::fromVariantMap |
( |
const QVariantMap & |
variantMap | ) |
|
|
overridevirtual |
Load workspace from variant
- Parameters
-
| Variant | representation of the workspace |
Reimplemented from hdps::util::Serializable.
◆ getCommentsAction() [1/2]
◆ getCommentsAction() [2/2]
◆ getDescriptionAction() [1/2]
◆ getDescriptionAction() [2/2]
◆ getFilePath()
| QString hdps::Workspace::getFilePath |
( |
| ) |
const |
Get workspace file path
- Returns
- Location on disk where the workspace resides
◆ getLockingAction() [1/2]
◆ getLockingAction() [2/2]
◆ getPreviewImage()
| QImage hdps::Workspace::getPreviewImage |
( |
const QString & |
workspaceFilePath, |
|
|
const QSize & |
targetSize = QSize(500, 500) |
|
) |
| |
|
static |
Get preview image
- Parameters
-
| workspaceFilePath | Path of the work space file |
- Returns
- Preview image
◆ getTagsAction() [1/2]
◆ getTagsAction() [2/2]
◆ getTitleAction() [1/2]
◆ getTitleAction() [2/2]
◆ setFilePath()
| void hdps::Workspace::setFilePath |
( |
const QString & |
filePath | ) |
|
|
protected |
Set workspace file path
- Parameters
-
| filePath | Location on disk where the workspace resides |
◆ toVariantMap()
| QVariantMap hdps::Workspace::toVariantMap |
( |
| ) |
const |
|
overridevirtual |
Save workspace to variant
- Returns
- Variant representation of the widget action
Reimplemented from hdps::util::Serializable.
◆ AbstractWorkspaceManager
The documentation for this class was generated from the following files:
- D:/Work/ManiVault/DevBundle/allmain/source/core/HDPS/src/Workspace.h
- D:/Work/ManiVault/DevBundle/allmain/source/core/HDPS/src/Workspace.cpp