forked from qt-creator/qt-creator
QmlDesigner.NodeInstances: Polish items for data collection
Change-Id: I3ca322ae72b546b0a55162f376a2895642c7a187 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
e6fe6c0f1f
commit
ac4df34db7
@@ -92,6 +92,8 @@ void Qt5InformationNodeInstanceServer::collectItemChangesAndSendChangeCommands()
|
|||||||
if (!inFunction) {
|
if (!inFunction) {
|
||||||
inFunction = true;
|
inFunction = true;
|
||||||
|
|
||||||
|
DesignerSupport::polishItems(quickView());
|
||||||
|
|
||||||
QSet<ServerNodeInstance> informationChangedInstanceSet;
|
QSet<ServerNodeInstance> informationChangedInstanceSet;
|
||||||
QVector<InstancePropertyPair> propertyChangedList;
|
QVector<InstancePropertyPair> propertyChangedList;
|
||||||
bool adjustSceneRect = false;
|
bool adjustSceneRect = false;
|
||||||
|
@@ -70,6 +70,9 @@ void Qt5PreviewNodeInstanceServer::collectItemChangesAndSendChangeCommands()
|
|||||||
|
|
||||||
if (!inFunction && nodeInstanceClient()->bytesToWrite() < 10000) {
|
if (!inFunction && nodeInstanceClient()->bytesToWrite() < 10000) {
|
||||||
inFunction = true;
|
inFunction = true;
|
||||||
|
|
||||||
|
DesignerSupport::polishItems(quickView());
|
||||||
|
|
||||||
QVector<ImageContainer> imageContainerVector;
|
QVector<ImageContainer> imageContainerVector;
|
||||||
imageContainerVector.append(ImageContainer(0, renderPreviewImage(), -1));
|
imageContainerVector.append(ImageContainer(0, renderPreviewImage(), -1));
|
||||||
|
|
||||||
|
@@ -79,6 +79,8 @@ void Qt5RenderNodeInstanceServer::collectItemChangesAndSendChangeCommands()
|
|||||||
if (!inFunction) {
|
if (!inFunction) {
|
||||||
inFunction = true;
|
inFunction = true;
|
||||||
|
|
||||||
|
DesignerSupport::polishItems(quickView());
|
||||||
|
|
||||||
if (quickView() && nodeInstanceClient()->bytesToWrite() < 10000) {
|
if (quickView() && nodeInstanceClient()->bytesToWrite() < 10000) {
|
||||||
foreach (QQuickItem *item, allItems()) {
|
foreach (QQuickItem *item, allItems()) {
|
||||||
if (item) {
|
if (item) {
|
||||||
|
Reference in New Issue
Block a user