forked from qt-creator/qt-creator
QmlDesigner.MetaInfo: Adding isTabView()
Change-Id: I05fee773ed83a99fb14b495de3ace0bc87692fe9 Reviewed-by: Marco Bubke <marco.bubke@digia.com>
This commit is contained in:
@@ -105,6 +105,7 @@ public:
|
|||||||
bool isGraphicalItem() const;
|
bool isGraphicalItem() const;
|
||||||
bool isLayoutable() const;
|
bool isLayoutable() const;
|
||||||
bool isView() const;
|
bool isView() const;
|
||||||
|
bool isTabView() const;
|
||||||
|
|
||||||
QString importDirectoryPath() const;
|
QString importDirectoryPath() const;
|
||||||
|
|
||||||
|
@@ -1370,4 +1370,9 @@ bool NodeMetaInfo::isView() const
|
|||||||
isSubclassOf("QtQuick.PathView", -1, -1));
|
isSubclassOf("QtQuick.PathView", -1, -1));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool NodeMetaInfo::isTabView() const
|
||||||
|
{
|
||||||
|
return isSubclassOf("QtQuick.Controls.TabView", -1, -1);
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace QmlDesigner
|
} // namespace QmlDesigner
|
||||||
|
Reference in New Issue
Block a user