SpawnPreviewPath Class Reference
Event called to spawn a preview resource, which takes the path to the SDF file. Used by plugins that spawn resources. More...
#include <GuiEvents.hh>
Public Member Functions | |
SpawnPreviewPath (const std::string &_filePath) | |
Constructor. More... | |
std::string | FilePath () const |
Get the path of the SDF file. More... | |
Public Attributes | |
std::string | filePath |
The path of SDF file to be previewed. More... | |
Static Public Attributes | |
static const QEvent::Type | kType = QEvent::Type(QEvent::User + 5) |
Unique type for this event. More... | |
Detailed Description
Event called to spawn a preview resource, which takes the path to the SDF file. Used by plugins that spawn resources.
Constructor & Destructor Documentation
◆ SpawnPreviewPath()
|
inlineexplicit |
Constructor.
- Parameters
-
[in] _filePath The path to an SDF file.
Member Function Documentation
◆ FilePath()
|
inline |
Member Data Documentation
◆ filePath
std::string filePath |
The path of SDF file to be previewed.
Referenced by SpawnPreviewPath::FilePath().
◆ kType
|
static |
Unique type for this event.
The documentation for this class was generated from the following file: