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
Tobias Hunger
qt-creator
Commits
d6a71fbb
Commit
d6a71fbb
authored
Dec 15, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.navigator: imports now update the NavigatorTreeView
parent
40d0e2d9
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/navigator/navigatorview.cpp
View file @
d6a71fbb
...
...
@@ -104,6 +104,17 @@ void NavigatorView::modelAboutToBeDetached(Model *model)
AbstractView
::
modelAboutToBeDetached
(
model
);
}
void
NavigatorView
::
importAdded
(
const
Import
&
)
{
treeWidget
()
->
update
();
}
void
NavigatorView
::
importRemoved
(
const
Import
&
)
{
treeWidget
()
->
update
();
}
void
NavigatorView
::
nodeCreated
(
const
ModelNode
&
/*createdNode*/
)
{
}
...
...
src/plugins/qmldesigner/components/navigator/navigatorview.h
View file @
d6a71fbb
...
...
@@ -62,6 +62,9 @@ public:
void
modelAttached
(
Model
*
model
);
void
modelAboutToBeDetached
(
Model
*
model
);
void
importAdded
(
const
Import
&
import
);
void
importRemoved
(
const
Import
&
import
);
void
nodeCreated
(
const
ModelNode
&
createdNode
);
void
nodeRemoved
(
const
ModelNode
&
removedNode
,
const
NodeAbstractProperty
&
parentProperty
,
PropertyChangeFlags
propertyChange
);
void
propertiesRemoved
(
const
QList
<
AbstractProperty
>
&
propertyList
);
...
...
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