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
Christian Kamm
2da3219909
qmlpuppet: Fix build with Qt 4.7.4.
...
Change-Id: I74f0784d76f8fa7137db22a251deaab9d99481dd
Reviewed-on: http://codereview.qt.nokia.com/4040
Reviewed-by: Kai Koehne <kai.koehne@nokia.com >
2011-09-01 09:23:30 +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
f6f6045153
QmlDesigner.NodeInstances: Fix frame dropping for last frame
...
Change-Id: Ie8c66c55f0236043441043727f31c9040a5dfc3d
Reviewed-on: http://codereview.qt.nokia.com/4008
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-31 18:49:46 +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
cafc2a6c84
QmlDesigner.NodeInstances: Add sgitem getter to the server node instance
...
Change-Id: I58baee2a8e59f2cef8add0472a3ee0c2a13fd59a
Reviewed-on: http://codereview.qt.nokia.com/4005
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-31 18:49:26 +02:00
Marco Bubke
432a36283f
QmlDesigner.NodeInstances: Use v8 private headers
...
Change-Id: I4c0d8e08a22ee0c5b2602cc7d877071010fd9f88
Reviewed-on: http://codereview.qt.nokia.com/3976
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-08-31 18:49:18 +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
1e60fbfba4
QmlDesigner.NodeInstances: Add support for new list interface
...
Change-Id: Icd20f2a921c94f8bac73f9f61b61a34561ee2d3f
Reviewed-on: http://codereview.qt.nokia.com/3973
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-08-31 18:49:01 +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
Marco Bubke
1e1e4b4f70
QmlDesigner.NodeInstances: Fix function call to parent class
...
Change-Id: I4842b91c53b3d9f0b0bc6a950858ce482b173d1b
Reviewed-on: http://codereview.qt.nokia.com/3970
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-31 18:48:42 +02:00
Marco Bubke
b8592f1b98
QmlDesigner.NodeInstances: Remove unused code
...
Change-Id: Ibf585ef6f821f73be16888fea550bfe0e0b1bcd6
Reviewed-on: http://codereview.qt.nokia.com/3969
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-31 18:48:36 +02:00
Marco Bubke
ebf7c68705
QmlDesigner.NodeInstances: Remove Qt5 guards
...
Change-Id: Ia740b2818dcc287ff82991ae317bcf644c4c0c2a
Reviewed-on: http://codereview.qt.nokia.com/3968
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-31 18:48:23 +02:00
Marco Bubke
991e75d65b
QmlDesigner.NodeInstances: Improve SceneGraph support
...
Change-Id: Ia5111f972836a1123fe857511325a82aef855449
Reviewed-on: http://codereview.qt.nokia.com/3967
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-31 18:48:04 +02:00
Eike Ziller
99ba300ae3
Merge remote-tracking branch 'origin/2.3'
...
Conflicts:
qtcreator.pri
src/libs/libs.pro
src/plugins/debugger/watchwindow.cpp
src/plugins/remotelinux/maemopackagecreationstep.h
Change-Id: Ic67c46256d0060ee9845b92ef82539f6f8fbe639
2011-08-10 16:03:57 +02:00
Marco Bubke
26fbb50dc2
QmlDesigner.NodeInstances: Show binding in text if invalid
...
If a binding on a text property cannot be evaluated it will now will be
show as #binding.text#
Change-Id: Ib1d5f406724b262833215d30ec0966a75f9dc971
Reviewed-on: http://codereview.qt.nokia.com/2452
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-08-02 10:22:34 +02:00
Oswald Buddenhagen
65c0eb5165
Merge branch '2.3'
...
Conflicts:
src/plugins/debugger/qml/qmlengine.cpp
Change-Id: I46509f0c187b71bbaed7b2118a160914f8250ca4
2011-07-29 17:57:59 +02:00
Marco Bubke
754b993c36
QmlDesigner.NodeInstances: Add version to puppet
...
Change-Id: Id101295520418975a4f569f57709875d7213e9bf
Reviewed-on: http://codereview.qt.nokia.com/2304
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-28 10:14:53 +02:00
Marco Bubke
776f19025e
QmlDesigner.NodeInstances: Add a default dummy context
...
Task-number: QTCREATORBUG-5631
Change-Id: Id1ba102d6992b8a56b105c061be89677e13e9a8b
Reviewed-on: http://codereview.qt.nokia.com/2300
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-27 20:14:24 +02:00
Marco Bubke
2125638107
QmlDesigner.NodeInstances: Move context object to a context directory
...
filename_contextdummy.qml -> context/filename.qml
Task-number: QTCREATORBUG-5630
Change-Id: I76ae5432ff3052d17a3cec17d85b5cbb6d1ddc61
Reviewed-on: http://codereview.qt.nokia.com/2295
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-27 20:14:14 +02:00
Marco Bubke
8870c86ad5
QmlDesigner.NodeInstance: Update the screen object if the root item size changed
...
Change-Id: Ifc06131f4a57a30ab9b20687372150b23c8416cb
Reviewed-on: http://codereview.qt.nokia.com/2285
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-27 15:18:43 +02:00
Marco Bubke
e4286b7dc2
QmlDesigner.NodeInstance: Reset items if the aux size is invalid
...
Change-Id: Ic5c8aa1a622b6e7d446bb1416038571b0b591f54
Reviewed-on: http://codereview.qt.nokia.com/2284
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-27 15:18:36 +02:00
Oswald Buddenhagen
ae8ac2eb2f
Merge branch '2.3'
...
Conflicts:
qtcreator.pri
src/plugins/qmlprojectmanager/qmlprojectruncontrol.cpp
src/plugins/remotelinux/maemodeploystepfactory.cpp
src/plugins/remotelinux/maemodirectdeviceuploadstep.cpp
Change-Id: I195163713145e72df20aec4ac9058f0c9158083e
2011-07-25 13:57:13 +02:00
Marco Bubke
f9a3fd338c
QmlDesigner.NodeInstances: Reparent after value setting
...
Change-Id: I06ac27d5043ab7f102972f0c054fc55fc77f6b15
Reviewed-on: http://codereview.qt.nokia.com/1994
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-21 18:59:40 +02:00
Marco Bubke
c6a7091c8a
QmlDesigner.NodeInstances: Fix line feed handling
...
Task-number: QTCREATORBUG-4161
Change-Id: I61d765bedffde4d1f15e763d92b771f22dbcd4a2
Reviewed-on: http://codereview.qt.nokia.com/1849
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-20 13:06:18 +02:00
Marco Bubke
d1b3b66d5a
QmlDesigner: Fix positioner handling
...
Change-Id: I519bbbfee939d4568a0de5bbe5c01912a08c6fb1
Reviewed-on: http://codereview.qt.nokia.com/1848
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-20 13:06:12 +02:00
Marco Bubke
a060480e82
QmlDesigner.NodeInstances: Item with content are selectable
...
If a list view for example has content it is now selectable too.
Task-number: QTCREATORBUG-5476
Change-Id: Ifb0902edcda064e488337c94fc4e575994da3ef1
Reviewed-on: http://codereview.qt.nokia.com/1786
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-19 10:47:36 +02:00
Thomas Hartmann
95bf007e2b
remove qDebug
...
Change-Id: Ia83708b48f7565d8d272a797c7e18cb0931dddb0
Reviewed-on: http://codereview.qt.nokia.com/1747
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-18 13:19:59 +02:00
Eike Ziller
e5ca4b3462
Merge remote-tracking branch 'origin/2.3'
...
Conflicts:
qtcreator.pri
share/qtcreator/dumper/dumper.py
share/qtcreator/qml/qmlpuppet/instances/objectnodeinstance.h
src/plugins/qmldesigner/designercore/metainfo/nodemetainfo.cpp
src/plugins/valgrind/valgrind.pro
tests/manual/gdbdebugger/simple/simple_gdbtest_app.cpp
Change-Id: Ic2d347012d89d697e6382f156e64f9619da88300
2011-07-15 14:29:07 +02:00
Marco Bubke
8f826aa5f7
QmlDesigner.NodeInstances: Add workaround for simulator Qt
...
Task-number: QTCREATORBUG-5408
Change-Id: I7abcc36102421d07dfc044355ff70833bf93d84b
Reviewed-on: http://codereview.qt.nokia.com/1678
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Christian Kamm <christian.d.kamm@nokia.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-15 10:45:10 +02:00
Marco Bubke
8a5fffb945
QmlDesigner.NodeInstances: Fix restore bindings for reset
...
Task-number: QTCREATORBUG-5415
Change-Id: I1cbc8dda5eb1512db52a2767837b53eb136dc387
Reviewed-on: http://codereview.qt.nokia.com/1664
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-14 16:53:08 +02:00
Thomas Hartmann
44886dcde1
compile fix
...
Change-Id: I2c720a42c63856b62d14fc01239a2c12110328be
Reviewed-on: http://codereview.qt.nokia.com/1665
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
2011-07-14 14:43:42 +02:00
Thomas Hartmann
80909210b1
QmlDesigner.instances: ignore infinite/huge bounding rects
...
There are cases with infinite/huge bounding rects. We ignore those.
Change-Id: If9a55bef91ab5aec4736c579131f4edf10768469
Reviewed-on: http://codereview.qt.nokia.com/1660
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Marco Bubke <marco.bubke@nokia.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-14 14:35:51 +02:00
Thomas Hartmann
d53f595879
QmlDesigner.instances: clean import paths from .1.0
...
Plugin directories might contain the version number,
but they do not have to.
We try to map .1.0 to "" for components delivered with Creator.
Change-Id: Ie785cf29d4dd64a504501d2be501fd6aa733973b
Reviewed-on: http://codereview.qt.nokia.com/1659
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Marco Bubke <marco.bubke@nokia.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-14 14:35:39 +02:00
hjk
82bbac7f90
Remove unneeded defines.
...
Mostly Q_DISABLE_COPY that were covered by the un-copy-ability of the
respective base classes. Includes a few "stylistic" whitespace changes.
Change-Id: I31ca0e7bada5ed0f34776976efe22ddc444a5bf2
Reviewed-on: http://codereview.qt.nokia.com/1609
Reviewed-by: hjk <qthjk@ovi.com >
2011-07-14 12:15:38 +02:00
Marco Bubke
01eece3d84
QmlDesigner: Fix state switching
...
Task-number: QTCREATORBUG-4062
Change-Id: I2a04c5a04ef40390772fe46f587bc60c02a4bab1
Reviewed-on: http://codereview.qt.nokia.com/1605
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-13 18:42:47 +02:00
Marco Bubke
b8a79174c1
QmlDesigner: Fix for code style
...
Change-Id: Ib44d54414d38409ec0647c922fb81a10b5c30046
Reviewed-on: http://codereview.qt.nokia.com/1523
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Marco Bubke <marco.bubke@nokia.com >
2011-07-12 17:54:15 +02:00
Thomas Hartmann
9b9f1a8267
QmlDesigner: do not show icons on Mac
...
This fixes a regression. $$PWD was missing.
Change-Id: I579b1e22fd790280c5d87b6e59e11320fdb1a2af
Reviewed-on: http://codereview.qt.nokia.com/1538
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Fawzi Mohamed <fawzi.mohamed@nokia.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-12 16:59:26 +02:00
Marco Bubke
2ebb5137a0
QmlDesigner.NodeInstances: Wouraround invisible root items
...
Task-number: QTCREATORBUG-5152
Change-Id: I40be95844598a3a3728d0c7fbe88a9fe7a155c53
Reviewed-on: http://codereview.qt.nokia.com/1532
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-12 16:11:07 +02:00
Marco Bubke
c02f1fb78a
QmlDesigner: Fix license header
...
Change-Id: I4a8e1abd5a5b2431f654bb64421c872655b3ce40
Reviewed-on: http://codereview.qt.nokia.com/1458
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-12 13:58:57 +02:00
Thomas Hartmann
8bf08f0166
QmlDesigner.nodeInstances: stricter checking for component paths
...
We only fix component path if it contains "/imports/".
Change-Id: I4624c460a7475c6b659baea011e2d37def4fdca2
Reviewed-on: http://codereview.qt.nokia.com/1457
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-11 18:17:42 +02:00
Marco Bubke
b7d453b0c8
QmlDesinger: Fix AnchorChanges are not exported
...
This reverts commit 6f161c99f7 .
Task-number: QTCREATORBUG-5026
Change-Id: I51cb29887a35f8a9d0aee7d9b974aa037dc446bd
Reviewed-on: http://codereview.qt.nokia.com/1443
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-11 16:41:40 +02:00
Marco Bubke
668bfe69de
QmlDesigner.NodeInstances: Fix workaround
...
componentComplete after reparent was null.
Change-Id: Ic4705531a38f67e706bc58a27d423d4062f83304
Reviewed-on: http://codereview.qt.nokia.com/1425
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com >
2011-07-11 16:30:53 +02:00
Robert Loehning
6f161c99f7
Revert "QmlDesigner.NodeInstance: Add instance wrapper for anchor changes"
...
This reverts commit 94bc93d101 .
Patch caused build error on Windows.
Task-number: QTCREATORBUG-5372
Change-Id: If3d63eca0c9dbc0f621c32cf21ffa983ce0987f4
Reviewed-on: http://codereview.qt.nokia.com/1387
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com >
2011-07-08 16:16:44 +02:00
Marco Bubke
94bc93d101
QmlDesigner.NodeInstance: Add instance wrapper for anchor changes
...
Task-number: QTCREATORBUG-5026
Change-Id: I56116fc3f1823e41bfd8e50781d2b4e8fccbfe04
Reviewed-on: http://codereview.qt.nokia.com/1329
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Marco Bubke <marco.bubke@nokia.com >
2011-07-07 20:07:52 +02:00
Marco Bubke
39e55c91e7
QmlDesigner.NodeInstances: Remove dead code
...
Change-Id: I181f365d40b9fcd6b09989ed54decd9720e1c27d
Reviewed-on: http://codereview.qt.nokia.com/1330
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com >
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com >
2011-07-07 19:22:35 +02:00