Allows to spawn models and lights using the spawn gui events or drag and drop.
More...
#include <Spawn.hh>
|
void | ErrorPopupTextChanged () |
| Notify the popup error text has changed. More...
|
|
void | popupError () |
| Notify that an error has occurred (opens popup) Note that the function name needs to start with lowercase in order for the connection to work on the QML side. More...
|
|
|
bool | eventFilter (QObject *_obj, QEvent *_event) override |
|
Allows to spawn models and lights using the spawn gui events or drag and drop.
◆ Spawn()
◆ ~Spawn()
◆ ErrorPopupText()
Q_INVOKABLE QString ErrorPopupText |
( |
| ) |
const |
Get the text for the popup error message.
- Returns
- The error text
◆ ErrorPopupTextChanged
void ErrorPopupTextChanged |
( |
| ) |
|
|
signal |
Notify the popup error text has changed.
◆ eventFilter()
bool eventFilter |
( |
QObject * |
_obj, |
|
|
QEvent * |
_event |
|
) |
| |
|
overrideprotected |
◆ LoadConfig()
void LoadConfig |
( |
const tinyxml2::XMLElement * |
_pluginElem | ) |
|
|
override |
◆ OnDropped()
void OnDropped |
( |
const gz::gui::events::DropOnScene * |
_event | ) |
|
Handle drop events.
- Parameters
-
[in] | _event | Event with drop information. |
◆ popupError
Notify that an error has occurred (opens popup) Note that the function name needs to start with lowercase in order for the connection to work on the QML side.
◆ SetErrorPopupText()
Q_INVOKABLE void SetErrorPopupText |
( |
const QString & |
_errorTxt | ) |
|
Set the text for the popup error message.
- Parameters
-
[in] | _errorTxt | The error text |
◆ errorPopupText
The documentation for this class was generated from the following file: