![]() |
QxOrm
1.2.8
C++ Object Relational Mapping library
|
Classes | |
class | qx::IxModel |
qx::IxModel : interface to manage Qt model/view architecture with classes registered into QxOrm context (Qt widgets and/or QML views) More... | |
class | qx::QxModel< T > |
qx::QxModel<T> : all classes registered into QxOrm context can be used with Qt model/view architecture (Qt widgets and/or QML views) More... | |
Files | |
file | IxModel.h |
Interface to manage Qt model/view architecture with classes registered into QxOrm context (Qt widgets and/or QML views) | |
file | QxModel.h |
All classes registered into QxOrm context can be used with Qt model/view architecture (Qt widgets and/or QML views) | |
file | QxNestedModel.h |
qx::model_view::create_nested_model is used by QxEntityEditor to manage complex data structure to work with relationships in QML views and Qt model/view architecture | |
Functions | |
template<class T > | |
qx::IxModel * | qx::model_view::create_nested_model (qx::IxModel *pParent, const QModelIndex &idxParent, T &t) |
qx::model_view::create_nested_model is used by QxEntityEditor to manage complex data structure to work with relationships in QML views and Qt model/view architecture |
qx::IxModel * qx::model_view::create_nested_model | ( | qx::IxModel * | pParent, |
const QModelIndex & | idxParent, | ||
T & | t | ||
) |
qx::model_view::create_nested_model is used by QxEntityEditor to manage complex data structure to work with relationships in QML views and Qt model/view architecture
pParent | Parent model, qx::model_view::create_nested_model creates a child model associated to this parent model (a NULL value means that the created model is a root model) |
idxParent | Index parent model, qx::model_view::create_nested_model creates a child model indexed by this parent index model (an empty index means that the created model is a root model) |
t | Item which contain all values exposed by the model to the views, t item can be a simple type, a pointer, a smart pointer, or a collection of items |
Definition at line 276 of file QxNestedModel.h.