dnai::models::Instruction Class Reference
#include <instruction.h>
Inheritance diagram for dnai::models::Instruction:

Collaboration diagram for dnai::models::Instruction:

Public Member Functions | |
~Instruction ()=default | |
gcore::Entity * | coreModel () const override |
void | setCoreModel (gcore::Entity *model) override |
![]() | |
Entity (gcore::Entity *coremodel=nullptr, Entity *parent=nullptr, interfaces::IEntity *guimodel=nullptr, QUuid const &guid=QUuid()) | |
virtual | ~Entity () |
bool | isRoot () const |
qint32 | id () const |
qint32 | containerId () const |
int | entityType () const |
const QString & | name () const |
const QString | fullName () const |
const QString | childFullName (QString const &childName) const |
qint32 | visibility () const |
int | index () const |
QString | listIndex () const |
const QString & | description () const |
virtual interfaces::IEntity * | guiModel () const |
template<class T > | |
T * | guiModel () const |
void | setGuiModel (interfaces::IEntity *) |
bool | expanded () const |
Entity * | parentRef () const |
const QMap< QUuid, Column * > & | columns () |
QUuid | guid () const |
void | setIsRoot (bool isRoot) |
void | setId (qint32 id) |
void | setContainerId (qint32 containerId) const |
void | setEntityType (qint32 type) const |
void | setName (const QString &) const |
void | setVisibility (qint32 visibility) const |
void | setIndex (int index) |
void | setListIndex (const QString &listIndex) |
void | setDescription (const QString &description) |
void | setExpanded (bool exp) |
virtual void | appendChild (Entity *child) override |
QObject * | guiProperties () const |
void | setListColumn (const QVariant &column) |
void | serialize (QJsonObject &obj) const override |
Implement this function to serialize into QJsonObject. More... | |
void | _deserialize (const QJsonObject &obj) override |
Implement this function in order to use deserialize(const QJsonObject &obj) More... | |
int | columnCount () const override |
const QVariant & | listColumn () |
Q_INVOKABLE void | addColumn (const QString &name) |
Q_INVOKABLE int | row () const override |
models::Entity * | findByName (QString const &name) const |
Q_INVOKABLE quint32 | findIdByName (QString const &name) const |
![]() | |
IModel (Entity *parent=nullptr) | |
![]() | |
GenericTreeItem (Entity *parent=nullptr) | |
virtual | ~GenericTreeItem () |
Entity * | child (int row) const |
const QList< Entity * > & | childrenItem () const |
int | childCount () const |
Entity * | parentItem () const |
QModelIndex | idxmodel () const |
void | setIdx (const QModelIndex &ref) |
void | removeOne (Entity *e) |
void | deleteChildren () |
void | removeChildren () |
![]() | |
virtual | ~ASerializable ()=default |
QJsonArray | serializeList (const QList< DataType * > &datalist) const |
Private Attributes | |
gcore::Entity * | m_data = nullptr |
Additional Inherited Members | |
![]() | |
void | isRootChanged (bool isroot) |
void | idChanged (qint32 id) |
void | containerIdChanged (qint32 containerId) const |
void | entityTypeChanged (qint32 type) const |
void | nameChanged (const QString &) const |
void | visibilityChanged (qint32 visibility) const |
void | indexChanged (int index) const |
void | listIndexChanged (const QString &listIndex) const |
void | descriptionChanged (const QString &description) const |
void | coreModelChanged (gcore::Entity *model) |
void | entityChildrenChanged (models::Entity *e) |
void | expandedChanged (bool exp) |
void | listColumnChanged (const QVariant &var) |
![]() | |
static Entity * | deserialize (const QJsonObject &obj, Args &...args) |
This function deserialize into a new instance of type T *. More... | |
![]() | |
qint32 | id |
qint32 | containerId |
QUuid | guid |
bool | isRoot |
int | index |
QString | listIndex |
QString | name |
qint32 | visibility |
QString | description |
QObject | guiProperties |
qint32 | entityType |
bool | expanded |
dnai::models::Entity | parentRef |
QVariant | listColumn |
Constructor & Destructor Documentation
|
default |
Member Function Documentation
|
overridevirtual |
Reimplemented from dnai::models::Entity.
|
overridevirtual |
Reimplemented from dnai::models::Entity.
Member Data Documentation
|
private |
The documentation for this class was generated from the following file:
- Gui/app/include/dnai/models/instruction.h