editor.h
Go to the documentation of this file.
47 Q_PROPERTY(dnai::PropertyPanelProperties *propertyPanelProperties READ propertyPanelProperties CONSTANT)
49 Q_PROPERTY(QString solutionName READ solutionName)
50 Q_PROPERTY(dnai::models::ContextMenuModel *contextMenuModel READ contextMenuModel WRITE setContextMenuModel NOTIFY contextMenuModelChanged)
90 Q_INVOKABLE void createNode(dnai::models::Entity* entity, dnai::models::ContextMenuItem *node, qint32 x, qint32 y);
144 Q_INVOKABLE QQuickItem * createNodeQMLComponent(dnai::models::Entity *func, dnai::models::gui::Instruction *instruction, QQuickItem *parent) const;
145 Q_INVOKABLE void setAsEntryPoint(dnai::views::GenericNode *instruction, dnai::views::GenericNode *entry);
146 Q_INVOKABLE void createFlowLink(dnai::views::GenericNode *from, dnai::views::GenericNode *to, dnai::models::Entity *func, dnai::models::gui::Instruction *fromIns, qint32 outpin, dnai::models::gui::Instruction *toIns) const;
148 Q_INVOKABLE void createIOLink(dnai::views::GenericNode *from, dnai::views::GenericNode *to, dnai::models::Entity *func, dnai::models::gui::Instruction *instr, QString input) const;
149 Q_INVOKABLE void removeIOLink(dnai::views::GenericNode *instruction, dnai::models::gui::Instruction *instr, QString input) const;
152 Q_INVOKABLE void finishInstructionBuilding(dnai::models::Entity *func, dnai::models::gui::Instruction *instr);
155 void onAddInstructionError(quint32 func, quint32 type, QList<quint32> const &args, QString const &msg);
Definition: genericnode.h:13
Definition: toastermanagerservice.h:10
Definition: instruction.h:15
dnai::models::ContextMenuModel * m_contextMenuModel
Definition: editor.h:172
const QStringList & entityType() const
Definition: editor.h:26
Definition: session.h:8
Definition: editor.h:42
const QStringList & visibility() const
std::queue< std::tuple< models::ContextMenuItem *, quint32, quint32 > > m_pendingInstruction
Definition: editor.h:177
Definition: solution.h:14
PropertyPanelProperties(QObject *parent=nullptr)
Definition: editor.cpp:750
Definition: mlhandler.h:10
Definition: isolution.h:10
Definition: api.h:13
Definition: editorview.h:9
dnai::PropertyPanelProperties * m_propertyPanelProperties
Definition: editor.h:169
ToasterManagerService m_toasterManagerService
Definition: editor.h:166
Definition: entity.h:71