Spawn.hh
Go to the documentation of this file.
Allows to spawn models and lights using the spawn gui events or drag and drop.
Definition: Spawn.hh:35
void popupError()
Notify that an error has occurred (opens popup) Note that the function name needs to start with lower...
bool eventFilter(QObject *_obj, QEvent *_event) override
Q_INVOKABLE void SetErrorPopupText(const QString &_errorTxt)
Set the text for the popup error message.
Q_INVOKABLE QString ErrorPopupText() const
Get the text for the popup error message.
void ErrorPopupTextChanged()
Notify the popup error text has changed.
void OnDropped(const gz::gui::events::DropOnScene *_event)
Handle drop events.
QString errorPopupText
Text for popup error.
Definition: Spawn.hh:44
void LoadConfig(const tinyxml2::XMLElement *_pluginElem) override
Definition: config.hh:56
STL namespace.