diff options
Diffstat (limited to 'src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.h')
-rw-r--r-- | src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.h b/src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.h index e329dba1..21e6b3a7 100644 --- a/src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.h +++ b/src/Authoring/Studio/Palettes/Inspector/InspectorControlModel.h @@ -42,6 +42,7 @@ class CInspectableBase; class Qt3DSDMInspectable; class SGuideInspectableImpl; +class VariantsGroupModel; namespace qt3dsdm { class ISignalConnection; @@ -107,7 +108,7 @@ class InspectorControlModel : public QAbstractListModel { Q_OBJECT public: - explicit InspectorControlModel(QObject *parent); + explicit InspectorControlModel(VariantsGroupModel *variantsModel, QObject *parent); ~InspectorControlModel() = default; enum Roles { @@ -247,6 +248,8 @@ private: bool isGroupRebuildRequired(CInspectableBase *inspectable, int theIndex) const; static int handleToGuidePropIndex(int handle) { return handle - 1; } + + VariantsGroupModel *m_variantsModel = nullptr; }; #endif // INSPECTORCONTROLMODEL_H |