Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
193f4185
Commit
193f4185
authored
Nov 24, 2010
by
Marco Bubke
Browse files
QmlDesigner.Navigator: Show only graphics objects as properties
parent
dbcbeaf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/navigator/navigatortreemodel.cpp
View file @
193f4185
...
...
@@ -579,7 +579,7 @@ QStringList NavigatorTreeModel::visibleProperties(const ModelNode &node) const
QString
qmlType
=
qmlTypeInQtContainer
(
node
.
metaInfo
().
propertyType
(
propertyName
));
if
(
node
.
metaInfo
().
metaInfo
().
hasNodeMetaInfo
(
qmlType
)
&&
node
.
metaInfo
().
metaInfo
().
nodeMetaInfo
(
qmlType
).
isSubclassOf
(
"Q
t/Qt
Object"
,
4
,
7
))
{
node
.
metaInfo
().
metaInfo
().
nodeMetaInfo
(
qmlType
).
isSubclassOf
(
"Q
Graphics
Object"
,
-
1
,
-
1
))
{
propertyList
.
append
(
propertyName
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment