Manages the messages sent from plugins to NCL Composer Core and vice-versa.
More...
#include <MessageControl.h>
|
void | onAddEntity (QString type, QString parentEntityId, QMap< QString, QString > &atts, bool force) |
|
void | onEditEntity (Entity *entity, QMap< QString, QString > atts, bool force) |
|
void | onRemoveEntity (Entity *, bool force) |
|
void | setListenFilter (QStringList list) |
| TODO.
|
|
void | setPluginData (QByteArray data) |
| TODO.
|
|
void | setCurrentProjectAsDirty () |
| TODO.
|
|
void | anonymousAddEntity (QString type, QString parentEntityId, QMap< QString, QString > &atts, bool force=false, bool notifyPlugins=true) |
| This message is here, mainly for test purposes. More...
|
|
void | anonymousAddEntity (Entity *entity, QString parentEntityId, bool force=false, bool notifyPlugins=true) |
| This is a variation of the previous message, where the user pass the pointer to an entity already created.
|
|
void | anonymousRemoveEntity (QString entityUniqueId, bool force=false, bool notifyPlugins=true) |
| This message is here, mainly for test purposes. More...
|
|
void | anonymousUpdateFromModel () |
| This message is here, mainly for test purposes. More...
|
|
void | anonymousChangeEntity (QString entityId, QMap< QString, QString > &atts, bool force=false, bool notifyPlugins=true) |
| This message is here, mainly for test purposes. More...
|
|
void | undo () |
|
void | redo () |
|
|
void | entityAdded (QString, Entity *) |
|
Manages the messages sent from plugins to NCL Composer Core and vice-versa.
Definition at line 39 of file MessageControl.h.
composer::core::MessageControl::MessageControl |
( |
Project * |
project) | |
|
void composer::core::MessageControl::anonymousAddEntity |
( |
QString |
type, |
|
|
QString |
parentEntityId, |
|
|
QMap< QString, QString > & |
atts, |
|
|
bool |
force = false , |
|
|
bool |
notifyPlugins = true |
|
) |
| |
|
slot |
This message is here, mainly for test purposes.
It allows anyone send a addEntityMessage, even when it is not a plugin.
Definition at line 37 of file MessageControl.cpp.
void composer::core::MessageControl::anonymousChangeEntity |
( |
QString |
entityId, |
|
|
QMap< QString, QString > & |
atts, |
|
|
bool |
force = false , |
|
|
bool |
notifyPlugins = true |
|
) |
| |
|
slot |
This message is here, mainly for test purposes.
It allows anyone send an addEntityMessage, even if it is not a plugin.
Definition at line 110 of file MessageControl.cpp.
void composer::core::MessageControl::anonymousRemoveEntity |
( |
QString |
entityUniqueId, |
|
|
bool |
force = false , |
|
|
bool |
notifyPlugins = true |
|
) |
| |
|
slot |
This message is here, mainly for test purposes.
It allows anyone send a removeEntityMessage, even if it is not a plugin.
Definition at line 86 of file MessageControl.cpp.
void composer::core::MessageControl::anonymousUpdateFromModel |
( |
) | |
|
|
slot |
This message is here, mainly for test purposes.
It allows anyone send a addEntityMessage, even if it is not a plugin.
Definition at line 126 of file MessageControl.cpp.
void composer::core::MessageControl::onAddEntity |
( |
QString |
type, |
|
|
QString |
parentEntityId, |
|
|
QMap< QString, QString > & |
atts, |
|
|
bool |
force |
|
) |
| |
|
slot |
void composer::core::MessageControl::onEditEntity |
( |
Entity * |
entity, |
|
|
QMap< QString, QString > |
atts, |
|
|
bool |
force |
|
) |
| |
|
slot |
void composer::core::MessageControl::onRemoveEntity |
( |
Entity * |
entity, |
|
|
bool |
force |
|
) |
| |
|
slot |
- Parameters
-
- Todo:
- Change the following code to signal/slots with Project.
- Todo:
- remember to change, the append should come from the plugin.
- Todo:
- error on casting management
Definition at line 213 of file MessageControl.cpp.
The documentation for this class was generated from the following files: