Marco Bubke
ac4df34db7
QmlDesigner.NodeInstances: Polish items for data collection
...
Change-Id: I3ca322ae72b546b0a55162f376a2895642c7a187
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-19 12:20:19 +02:00
Marco Bubke
e6fe6c0f1f
QmlDesigner.NodeInstances: Fix compile
...
QQuickView::rootItem() changed to QQuickView::rootObject()
Change-Id: I6aff12f616a5e9a968d3a646bc635c4976750ed4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-19 09:49:22 +02:00
Marco Bubke
ce911e04c5
QmlDesigner.NodeInstances: Compile Fix
...
Change-Id: I1eef61360841c774d6b79887ee312f8d4bf50f8e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-18 12:59:22 +02:00
Marco Bubke
174eb7c270
QmlDesigner.NodeInstances: Fix crash for instance without object
...
Change-Id: Ia08cdb194e8f67a71cdbddf162cc7f17daa517f8
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-15 17:53:58 +02:00
Marco Bubke
19c561c505
QmlDesigner.NodeInstances: Don't send empty image for preview
...
Change-Id: I0bb327edd702d395023f433e5225a85ecec02d4a
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-15 16:32:21 +02:00
Marco Bubke
dffb1cde67
QmlDesigner.NodeInstances: Don't create preview for non root item
...
Change-Id: I4456cff66c2e532a787f176bd6d62bbda80fb4f3
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-15 16:32:02 +02:00
Marco Bubke
139f564599
QmlDesigner.NodeInstances: Fix node updating
...
Change-Id: I2aebcaf618251b85764712be7dd5dc3c863c3ba9
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-15 16:31:47 +02:00
Thomas Hartmann
c76ddfc489
QmlDesigner.Instances: crash fix
...
During destruction both new parent and old parent are invalid.
The intPositioner flag is not updated (isInPositioner()) and we crash.
The check for parentInstance() avoids this.
Change-Id: I5224c58bb461956f7ce2c47349650913975aa836
Reviewed-by: Marco Bubke <marco.bubke@digia.com >
2012-10-15 14:35:27 +02:00
Thomas Hartmann
16c5a1493d
QmlDesigner.instances: crash fix
...
NodeInstanceServer::clearScene() deletes the objects.
The m_designerSupport hold pointers to all objects for cleanup
in destructor.
Change-Id: I5ad4361d0c1de6f9eb9fb0d5cd80cf66717ce7fd
Reviewed-by: Marco Bubke <marco.bubke@digia.com >
2012-10-12 10:33:59 +02:00
Marco Bubke
f0d4199dfa
QmlDesigner.NodeInstances: Fix rendering code path
...
Change-Id: I2a479e85d7ea6f5803d78d3e2ce86849c882c5a3
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-11 17:58:11 +02:00
Marco Bubke
05c1e7925d
QmlDesigner.NodeInstances: Fix rendering of child items of components
...
Change-Id: I96d888bb97e334ff9a2a8fa3e8c2bcb931b247c1
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-11 17:55:44 +02:00
Marco Bubke
8542c063ec
QmlDesigner.NodeInstances: Create a component with a file path
...
We used a url but anyway this is not necessary anymore.
Change-Id: Ia616fca573f941dd638141a05c0c36640fed90e9
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-11 17:55:30 +02:00
Marco Bubke
42aad1fd75
QmlDesigner.NodeInstances: Fix compiling
...
Change-Id: Ica08aaadca52bb416346d871bc9555fb450654f6
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-11 17:55:20 +02:00
Marco Bubke
350d5d9b28
QmlDesigner.NodeInstances: Workaround for Quick 2
...
Change-Id: I91c0d841cdff3f502294b5245e1b35407e5fa441
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-10 16:25:56 +02:00
Marco Bubke
baa75926c2
QmlDesigner.NodeInstances: Quick Window Manager Support
...
Change-Id: I94239275ebd55bafbd7bc9650409c24471214546
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-09 14:29:26 +02:00
Marco Bubke
ca58138102
QmlDesigner.NodeInstances: More pointer fixes
...
Change-Id: Ibffe642952bc135420d123dc1d271f4e2b764749
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-09 14:29:02 +02:00
Eike Ziller
6fd252b0a5
Merge remote-tracking branch 'origin/2.6'
...
Conflicts:
share/qtcreator/qml/qmlpuppet/commands/endpuppetcommand.cpp
share/qtcreator/qml/qmlpuppet/commands/endpuppetcommand.h
src/plugins/debugger/qtmessageloghandler.cpp
src/plugins/debugger/qtmessageloghandler.h
src/plugins/debugger/qtmessagelogwindow.cpp
src/plugins/madde/maemodeployconfigurationwidget.cpp
src/plugins/madde/maemodeployconfigurationwidget.h
src/plugins/remotelinux/deployablefilesperprofile.cpp
src/plugins/remotelinux/deployablefilesperprofile.h
src/plugins/remotelinux/deploymentinfo.cpp
src/plugins/remotelinux/deploymentinfo.h
src/plugins/remotelinux/deploymentsettingsassistant.cpp
src/plugins/remotelinux/profilesupdatedialog.cpp
src/plugins/remotelinux/remotelinuxdeploymentdatamodel.h
tests/auto/icheckbuild/ichecklib.cpp
tests/auto/icheckbuild/ichecklib_global.h
tests/auto/icheckbuild/parsemanager.cpp
tests/auto/icheckbuild/parsemanager.h
tests/manual/ssh/tunnel/tunnel.h
Change-Id: I04d7761df6bd936ad00e0547974284c967d39580
2012-10-05 21:20:50 +02:00
hjk
386ca7c8dd
Adjust license headers
...
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com >
2012-10-05 17:12:56 +02:00
Marco Bubke
a19495ba20
QmlDesigner.NodeInsatnces: Update positioner if binding is changing
...
Only if the expression of the binding is changing.
Change-Id: Ief702082dff0ac473c8ade6f3fc0f0cf36e017f3
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-04 19:20:06 +02:00
Marco Bubke
3982bc22d7
QmlDesigner.NodeInstances: QWeakPointer -> QPointer
...
In Qt5 QPointer should be used instead of QWeakPointer fo QObject tracking.
Change-Id: Ic9cdfaea77574bcf866716ded62bbf2d350d02f8
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-04 19:19:49 +02:00
Marco Bubke
fb276230fe
QmlDesigner.NodeInstances: Recover positioner support
...
Change-Id: Ib5e891a8563bfced2af93e4a516ef8f196e8ff1e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-04 19:19:02 +02:00
Marco Bubke
18d34fef04
QmlDesigner.NodeInstances: Share NodeInstanceClientProxy between puppets
...
Change-Id: I49ffa49e45d12950150bedfa8452de4c89674ef8
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-10-01 17:10:28 +02:00
Marco Bubke
a299252ae5
QmlDesigner.NodeInstances: Remove Qt 5 defines
...
Change-Id: Ie835af0e32800887d6cc2f6eebcd9dd79b3100a5
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-27 16:30:23 +02:00
Marco Bubke
fe97c7f4ad
QmlDesigner.NodeInstances: Diable caching for NodeInstanceMetaObject
...
Change-Id: I56a74c4000418f1e41866f4b084ea483587a6f0e
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-27 16:30:14 +02:00
Marco Bubke
f6b80018db
QmlDesigner.NodeInstances: Cache qml meta types
...
Change-Id: Ied18ca8b31e3a17ee9e37aed030377148d272917
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-27 16:30:07 +02:00
Marco Bubke
4d76f0db17
QmlDesigner.NodeInstances: Remove QGraphicsObject for qml2
...
Change-Id: Ifcc81fa1dd01ab1f2c6d826e8ff438a8df577063
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-27 16:29:58 +02:00
Marco Bubke
2fc24f27d1
QmlDesigner.NodeInstances: Rename SG to Quick
...
Change-Id: I2180704df244a715a078385a7ecbf852f41ca68f
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-26 18:22:19 +02:00
Marco Bubke
f252d77e9a
QmlDesigner.NodeInstances: Fix warning
...
Change-Id: Iddb38f814fe21c579b1589601879dbc90f690874
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-25 16:18:30 +02:00
Marco Bubke
b55f9a84b3
QmlDesigner.NodeInstances: Use windowTransform instead of canvasTransform
...
Change-Id: I157c5346bbc69a10166a74df5a5a4f8bdfadd9fd
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-25 15:00:33 +02:00
Marco Bubke
208b2c8802
QmlDesigner.NodeInstances: Last sended value is UserType
...
Lets see, which value will not work.
Change-Id: I7007528223ab6d020c73b2a5aad76e9ad0472a27
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-25 15:00:28 +02:00
Marco Bubke
b9bbadcc7a
White space fix
...
Change-Id: Id5c5af2ae6821e4d84895cbcdcea4c6fec2973eb
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-25 14:03:55 +02:00
Marco Bubke
a0f17e00e4
QmlDesigner.NodeInstances: Fix supported type because of qvariant changes
...
Change-Id: Iec63a16218420e546e612909380dcd4f5bdb4a30
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-25 14:03:49 +02:00
Marco Bubke
d7bd46dbe6
QmlDesigner.NodeInstances: Add end puppet command
...
Change-Id: Ice3c6ce1bb0d16d4ffbc33557b12fa147ac6058c
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-25 14:03:33 +02:00
Marco Bubke
f6f59c08d5
QmlDesigner.NodeInstances: Use the 4.8 QDataStream
...
The 4.8 Version of QDataStream is the lowest common denominator. temporaryOutDataStream.setVersion(QDataStream::Qt_4_8);
Change-Id: I4aa681473b6349bd3e859f49d7233ff4a6d2911b
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-24 11:46:34 +02:00
Marco Bubke
770ab68c45
QmlDesigner.Instances: Refactor the qml2 puppet
...
Change-Id: Iaa7a744ecf13e011addc573a381ea523d2d50a55
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com >
2012-09-24 11:46:20 +02:00
Marco Bubke
ce9b7bf123
QmlDesigner.NodeInstances: Shared memory for value changes
...
Change-Id: I3c3455f411f18322a062f144e98461691d12ada8
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2012-09-11 15:41:41 +02:00
hjk
6a7cf405bd
rename QtDebug to QDebug
...
More uniform.
Change-Id: I1c6057981f4c2b3170a4e69f0674fe4caf1143a2
Reviewed-by: Robert Loehning <robert.loehning@nokia.com >
2012-08-06 14:55:08 +02:00
Eike Ziller
e0e8cf3ada
Contact -> qt-project.org
...
Change-Id: I7134d7de30bcf9f9dcfad42520dd45ee083a852d
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com >
2012-07-19 13:23:21 +02:00
hjk
2931a499e6
Long live the king!
...
Change-Id: I2b72b34c0cfeafc8bdbaf49b83ff723544f2b6e2
Reviewed-by: Daniel Teske <daniel.teske@nokia.com >
2012-01-26 19:55:36 +01:00
Morten Johan Sorvig
b0cd54c1ec
Replace Q_WS_MAC with Q_OS_MAC.
...
We want to carry over all mac-specific code paths
to Qt 5. WS_MAC is no longer set; OS_MAC is.
This change is compatible with Qt 4 builds since
OS_MAC is set whenever WS_MAC is. (OS_MAC would
also be set for the theoretical X11/Mac platform,
but that's anyway not a supported configuration
for Creator)
Change-Id: Ib25d8c4e83e7e27d911124cd48aa17fdb875923f
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com >
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2012-01-26 11:06:12 +01:00
hjk
31600758de
all: s/info@qt.nokia.com/qt-info@nokia.com/
...
Change-Id: If18afb5d4665924e7d9250dccbc60a65e6daa75e
Reviewed-by: Eike Ziller <eike.ziller@nokia.com >
2011-11-03 10:33:19 +01:00
Marco Bubke
ed842542a5
QmlDesigner.NodeInstances: Fix crash for dot properties
...
Change-Id: I5fcecd6fb1e50220053b2769e549f62203f33a06
Reviewed-on: http://codereview.qt.nokia.com/4075
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-09-01 19:53:04 +02:00
Marco Bubke
7fa9e52d70
QmlDesigner.NodeInstances: Create effect items only in the render process
...
Change-Id: I0506bf898582ba8e26a22f51737eae4d82f06c63
Reviewed-on: http://codereview.qt.nokia.com/4004
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-31 18:50:04 +02:00
Marco Bubke
d9b10dca48
QmlDesigner.NodeInstances: Fix header
...
Change-Id: Ib272d772f6e8838b71c6ede8222acae4313ecae2
Reviewed-on: http://codereview.qt.nokia.com/4009
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-31 18:49:52 +02:00
Marco Bubke
3937a20f18
QmlDesigner.NodeInstances: Fix frame dropping for last frame
...
Change-Id: Id70b1bc0af09293628fe2242f4bebeb30c1ae230
Reviewed-on: http://codereview.qt.nokia.com/4007
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-31 18:49:39 +02:00
Marco Bubke
c13624fb2f
QmlDesigner.NodeInstances: Preview images for Qml2
...
Change-Id: I00ba96458ab8cb2e9d9766e1ecfeaea15bf2e040
Reviewed-on: http://codereview.qt.nokia.com/4006
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-31 18:49:32 +02:00
Marco Bubke
abc3a9b716
QmlDesigner.NodeInstances: Provide bounding rectangle for render image
...
Change-Id: If1d8e51109eec5e281a1cecdaff7c081a5e6d95d
Reviewed-on: http://codereview.qt.nokia.com/3975
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-08-31 18:49:12 +02:00
Marco Bubke
bb0900d668
QmlDesigner.NodeInstances: Refactoring dirty to isDirty
...
Change-Id: I6344632a8570ad09e38c7d3dc093c42d758bf15a
Reviewed-on: http://codereview.qt.nokia.com/3974
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-08-31 18:49:06 +02:00
Marco Bubke
9250b611c8
QmlDesigner.NodeInstances: Fix image rendering
...
Call DesignerSupport::updateDirtyNode() recursively for every item which is
not under our control.
Change-Id: Ie6c784965d1557ece81176fc405864f1328733f7
Reviewed-on: http://codereview.qt.nokia.com/3972
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-31 18:48:55 +02:00
Marco Bubke
50d1087a94
QmlDesinger.NodeInstances: Fix bounding rectangle calculation
...
Change-Id: Ia0633416e50da68377a781050e301e5721540d6b
Reviewed-on: http://codereview.qt.nokia.com/3971
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-31 18:48:49 +02:00