OSDN Git Service

qt-creator-jp/qt-creator-jp.git
13 years agoIntroduce QML-based welcome screen using desktop components
Daniel Molkentin [Thu, 11 Nov 2010 15:49:17 +0000 (16:49 +0100)]
Introduce QML-based welcome screen using desktop components

Implements new XML-based format for examples, demos & tutorials

Done-with: Primrose Mbanefo <ext-primrose.mbanefo@nokia.com>
Change-Id: I42c0afdb419cffe5637cd4f298e828d09e0fb15a
Reviewed-on: http://codereview.qt.nokia.com/840
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
13 years agodebugger: cosmetics
hjk [Tue, 28 Jun 2011 17:20:09 +0000 (19:20 +0200)]
debugger: cosmetics

Change-Id: I64f28d8e665a39b5942c6e09151d368571006220
Reviewed-on: http://codereview.qt.nokia.com/857
Reviewed-by: hjk <qthjk@ovi.com>
13 years agoanalyzer: more verbosity in the tool description
hjk [Tue, 28 Jun 2011 17:14:08 +0000 (19:14 +0200)]
analyzer: more verbosity in the tool description

Change-Id: Ie259c78710c9e926f75595a7c22195efb7036532
Reviewed-on: http://codereview.qt.nokia.com/856
Reviewed-by: hjk <qthjk@ovi.com>
13 years agoGenericproject: Add "hide files" option to file selection dialog
Daniel Teske [Tue, 28 Jun 2011 16:57:16 +0000 (18:57 +0200)]
Genericproject: Add "hide files" option to file selection dialog

Task-Nr: QTCREATORBUG-2087

Change-Id: Ie6c47b19e5e9214b0978007bf080e7e6e6b52d1f
Reviewed-on: http://codereview.qt.nokia.com/765
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoRemoteLinux: Fix string.
Christian Kandeler [Tue, 28 Jun 2011 16:22:01 +0000 (18:22 +0200)]
RemoteLinux: Fix string.

Change-Id: I13953b96aac729210c78c8ea5937d07f74e20dca
Reviewed-on: http://codereview.qt.nokia.com/855
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
13 years agoSSH: Set keep-alive timer period to connection timeout.
Christian Kandeler [Tue, 28 Jun 2011 16:08:12 +0000 (18:08 +0200)]
SSH: Set keep-alive timer period to connection timeout.

The Qt SDK's Qemu can be so slow that a single packet takes more
than the old fixed value of five seconds for a round trip.

Change-Id: I06f442c3c080fec8d1b1d10bd26e2e27b06e6863
Reviewed-on: http://codereview.qt.nokia.com/854
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
13 years agodebugger: prepare use of lldb/cdb with python
hjk [Tue, 28 Jun 2011 15:38:52 +0000 (17:38 +0200)]
debugger: prepare use of lldb/cdb with python

Change-Id: If1906728047203128210a40c1b01211388f18ff1
Reviewed-on: http://codereview.qt.nokia.com/852
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
13 years agodebugger: speedup QVariant dumper
hjk [Tue, 28 Jun 2011 14:31:31 +0000 (16:31 +0200)]
debugger: speedup QVariant dumper

Essential for QObject, too.

Change-Id: Ie798227f6c8d07eff37e6dbadb7f6f5baa382ca8
Reviewed-on: http://codereview.qt.nokia.com/851
Reviewed-by: hjk <qthjk@ovi.com>
13 years agodebugger: remove debug output
hjk [Tue, 28 Jun 2011 09:36:11 +0000 (11:36 +0200)]
debugger: remove debug output

Change-Id: I4e955c23948740f4ccd38c6e762afbc3c4b4a418
Reviewed-on: http://codereview.qt.nokia.com/850
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
13 years agoQmlDesigner.NodeInstances: Fix repaint bug
Marco Bubke [Tue, 28 Jun 2011 15:34:18 +0000 (17:34 +0200)]
QmlDesigner.NodeInstances: Fix repaint bug

The dirtySceneTransform flag isn't reset by resetDirtyItem(). So we do it now
manually.

Change-Id: I2a908c18b2e05e9b6f40dc2994e765c37197a6d5
Reviewed-on: http://codereview.qt.nokia.com/848
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.FormEditor: Disable Resize if the item is rotated
Marco Bubke [Tue, 28 Jun 2011 15:35:52 +0000 (17:35 +0200)]
QmlDesigner.FormEditor: Disable Resize if the item is rotated

To workaround a qml design bug.

Change-Id: I44e681e0b35bde14269bbed1df0ba0d6cb038d2e
Reviewed-on: http://codereview.qt.nokia.com/849
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.propertyEditor: adding MouseAreaSpecifics.qml
Thomas Hartmann [Tue, 28 Jun 2011 15:33:41 +0000 (17:33 +0200)]
QmlDesigner.propertyEditor: adding MouseAreaSpecifics.qml

Change-Id: I407d72f904dc34f5c26d0724a6ec2ae134021d96
Reviewed-on: http://codereview.qt.nokia.com/847
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoRemoteLinux: Fix some strings.
Christian Kandeler [Tue, 28 Jun 2011 15:20:50 +0000 (17:20 +0200)]
RemoteLinux: Fix some strings.

Change-Id: I5f544ecbc8c47d1034a88579fe3b38481c6755d4
Reviewed-on: http://codereview.qt.nokia.com/846
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
13 years agoQmlProfiler: nesting events in the timeline view
Christiaan Janssen [Mon, 27 Jun 2011 15:12:25 +0000 (17:12 +0200)]
QmlProfiler: nesting events in the timeline view

Change-Id: I6bc534a7fc02cb8c647dfc90a78b698592719a91
Reviewed-on: http://codereview.qt.nokia.com/843
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
13 years agoQmlProfiler: Rename TracePlugin to QmlProfileTraceClient
Kai Koehne [Tue, 28 Jun 2011 13:51:20 +0000 (15:51 +0200)]
QmlProfiler: Rename TracePlugin to QmlProfileTraceClient

Also move it into it's own file.

Change-Id: If063b0a4c6642b1e209e6a0026fedffd01603eb9
Reviewed-on: http://codereview.qt.nokia.com/841
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
13 years agoQmlProfiler: Warn user if Qt is too old
Kai Koehne [Fri, 10 Jun 2011 15:09:45 +0000 (17:09 +0200)]
QmlProfiler: Warn user if Qt is too old

Check for the Qt version in teh active build configuration. If
it's too old warn the user that we require 4.7.4.

(The app running doesn't necessarily have to have the same Qt version,
so this is just an approximation).

Change-Id: Id1f31e4f0734448712dd48ecf6526ca89da45b8b
Reviewed-on: http://codereview.qt.nokia.com/460
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
13 years agoQmlProfiler: show ranges in time display
Christiaan Janssen [Mon, 27 Jun 2011 16:33:20 +0000 (18:33 +0200)]
QmlProfiler: show ranges in time display

Change-Id: I6f42db3d5de02ee0198ff51aae8421bbdc5ea9c4
Reviewed-on: http://codereview.qt.nokia.com/836
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
13 years agoQmlDesigner: Fix painted bounding rectangle for step childs
Marco Bubke [Tue, 28 Jun 2011 14:24:53 +0000 (16:24 +0200)]
QmlDesigner: Fix painted bounding rectangle for step childs

We used only the bounding rectangle of the item under our control. But child
items which are created in a component can be out side of the bounding
rectangle. To fix compute a combined bounding rectangle of the item and all
stepchildren. Stepchildren described the child not create directly by us.

Change-Id: I7f25f112aa5eb2f80cfccec5d358221ab5e35d9b
Reviewed-on: http://codereview.qt.nokia.com/839
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agotr()-fixes.
Friedemann Kleint [Tue, 28 Jun 2011 14:22:13 +0000 (16:22 +0200)]
tr()-fixes.

Change-Id: I82cc5d5aa50975ba281386b12dd496af55114bfe
Reviewed-on: http://codereview.qt.nokia.com/842
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoQtSupport: Additional parameter for QtVersion::restore().
Christian Kandeler [Tue, 28 Jun 2011 12:35:38 +0000 (14:35 +0200)]
QtSupport: Additional parameter for QtVersion::restore().

This enables a QtVersionFactory to be able to create more than one
QtVersion, which can make sense e.g. if there are several closely
related ones.

Change-Id: I597f524abfc27c483c71bb6567ce7b77bc3d3041
Reviewed-on: http://codereview.qt.nokia.com/835
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoCompile.
Friedemann Kleint [Tue, 28 Jun 2011 12:32:39 +0000 (14:32 +0200)]
Compile.

Change-Id: I47930a90b122c7b3863095e0ee4bfac61dba9cd8
Reviewed-on: http://codereview.qt.nokia.com/834
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoQmlProfiler: zoom in and out controls
Christiaan Janssen [Mon, 27 Jun 2011 16:25:50 +0000 (18:25 +0200)]
QmlProfiler: zoom in and out controls

Change-Id: I920aae3075269e4f2fd1be15e9ca3cc4e08ac7a7
Reviewed-on: http://codereview.qt.nokia.com/826
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
13 years agoQmlProfiler: Support profiling applications on embedded Linux
Kai Koehne [Mon, 27 Jun 2011 15:18:55 +0000 (17:18 +0200)]
QmlProfiler: Support profiling applications on embedded Linux

Allow on-device profiling e.g. on Meego/Harmattan.

Change-Id: I066b71078e1dab1b1369ff7275f72e88045d1bab
Reviewed-on: http://codereview.qt.nokia.com/784
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
13 years agoClose variable chooser on escape (if it has focus).
con [Wed, 22 Jun 2011 14:21:04 +0000 (16:21 +0200)]
Close variable chooser on escape (if it has focus).

Task-number: QTCREATORBUG-4307

Change-Id: Ib85f5fda1310fe6fb0e0824488fb6c79962ae35b
Reviewed-on: http://codereview.qt.nokia.com/624
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
13 years agoWindows/DebugOutput: Check that only one process reads output
Kai Koehne [Tue, 28 Jun 2011 10:40:25 +0000 (12:40 +0200)]
Windows/DebugOutput: Check that only one process reads output

Only one process can attach to the system wide application output
buffer. Re-add checks that makes sure we don't try to attach
as second one.

Change-Id: Ic50b43b8d0ac58d792075b59ecb3e490fdb75df8
Reviewed-on: http://codereview.qt.nokia.com/827
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoQmlDesigner: Fix slowness for many items
Marco Bubke [Tue, 28 Jun 2011 11:41:52 +0000 (13:41 +0200)]
QmlDesigner: Fix slowness for many items

The information change notifier provided no hint which infotmation changed.
So the property editor has updated the anchors for all information changes.
Now there is a hint and the update is only happen for a anchor change.

Change-Id: I3b6d7546f43bce4c08757662e7af32604a8db56f
Reviewed-on: http://codereview.qt.nokia.com/811
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoCompile Fix: Modify unnecessary UTF-8 characters.
Takumi ASAKI [Tue, 28 Jun 2011 11:42:14 +0000 (13:42 +0200)]
Compile Fix: Modify unnecessary UTF-8 characters.
They blocked to compile with Visual Studio on Windows Japanese edition.

Change-Id: I7c63123e7ed43a2036f42762ee94147cbc9f5c09
Merge-request: 2198
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Reviewed-on: http://codereview.qt.nokia.com/831

13 years agoQmlDesigner.formEditor: do not show items from a delegate
Thomas Hartmann [Tue, 28 Jun 2011 11:27:12 +0000 (13:27 +0200)]
QmlDesigner.formEditor: do not show items from a delegate

Items that have a custom parser or are components are not shown
in the formeditor.

Task-number: QTCREATORBUG-5228
Change-Id: I633fe35d40edd1a5b14275d67a48265313b08657
Reviewed-on: http://codereview.qt.nokia.com/830
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
13 years agoQmlProfiler: Implement missing slot
Kai Koehne [Tue, 28 Jun 2011 07:28:14 +0000 (09:28 +0200)]
QmlProfiler: Implement missing slot

Open the help page for the QML Profiler if the user clicks
'Help' after the debugger couldn't connect.

Change-Id: Ica540f8a3fb1e73865e2b8b4027fea50cd5e17b1
Reviewed-on: http://codereview.qt.nokia.com/818
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
13 years agoQmlDesigner.instances: allow fallback to item
Thomas Hartmann [Tue, 28 Jun 2011 11:24:18 +0000 (13:24 +0200)]
QmlDesigner.instances: allow fallback to item

If we know from the (text editor) meta system that an object is an
(visible) item, we always create an item as fallback.

We might not be able to instaciate the original item.

Change-Id: I6851cd7a8de68d9d09b789927c204f0617017de7
Reviewed-on: http://codereview.qt.nokia.com/829
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
13 years agoQmlDesigner.model: renaming in NodeSourceType
Thomas Hartmann [Tue, 28 Jun 2011 11:21:16 +0000 (13:21 +0200)]
QmlDesigner.model: renaming in NodeSourceType

Change-Id: I958b99967da8ed81542de08b64334c88d688f755
Reviewed-on: http://codereview.qt.nokia.com/828
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
13 years agoRemoteLinux: Add hooks for QmlProfiler
Kai Koehne [Mon, 27 Jun 2011 15:02:28 +0000 (17:02 +0200)]
RemoteLinux: Add hooks for QmlProfiler

Allow QmlProfiler to manipulate run configuration arguments
and accessing the runner. Also, fix logic in Factory::canClone() to
handle Run Configurations without the ".profilepath" suffix in the id.

Change-Id: I848f9e3620fa5c3a78d398a6d929bcf7813140dd
Reviewed-on: http://codereview.qt.nokia.com/783
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
13 years agoQmlProfiler: Add dependency to RemoteLinux
Kai Koehne [Mon, 27 Jun 2011 06:01:50 +0000 (08:01 +0200)]
QmlProfiler: Add dependency to RemoteLinux

Change-Id: Id02b393655bb05a4a93dff8449b045ffe61ec79a
Reviewed-on: http://codereview.qt.nokia.com/782
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
13 years agoQmlJS: Update builtin type descriptions for Qt 5
Christian Kamm [Tue, 28 Jun 2011 10:10:21 +0000 (12:10 +0200)]
QmlJS: Update builtin type descriptions for Qt 5

qtdeclarative b2e2b070c499a04a3e2f270df62d5dd061e0c027

Change-Id: I8a6b5e0ffec996add654a2a8bf12f856349d71ab
Reviewed-on: http://codereview.qt.nokia.com/823
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
13 years agoQmlDesigner: Split between bounding rectangle and painted bounding rectangle
Marco Bubke [Mon, 27 Jun 2011 19:56:01 +0000 (21:56 +0200)]
QmlDesigner: Split between bounding rectangle and painted bounding rectangle

In qml the interactive bounding rectangle is always
QRectF(0, 0, width, height). The painted bounding rectangle can differ from
this logical one. This change is much more near to the qml description.

Change-Id: I139cb70512fa1ed003b28ca2ae512f4e33e915e5
Reviewed-on: http://codereview.qt.nokia.com/812
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoNodeInstances: Improve repaint of the form editor
Marco Bubke [Mon, 27 Jun 2011 14:52:05 +0000 (16:52 +0200)]
NodeInstances: Improve repaint of the form editor

Change-Id: I70ff08b19bced8473bf9010f04a93681d5853604
Reviewed-on: http://codereview.qt.nokia.com/809
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.FormEditor: Fix formating
Marco Bubke [Mon, 27 Jun 2011 14:52:39 +0000 (16:52 +0200)]
QmlDesigner.FormEditor: Fix formating

Change-Id: Ie2de47f2ce5f5ca27902493d50c029d766da7240
Reviewed-on: http://codereview.qt.nokia.com/810
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlJSInspector: Fix naming of QmlInspectorToolBar
Kai Koehne [Tue, 28 Jun 2011 07:57:55 +0000 (09:57 +0200)]
QmlJSInspector: Fix naming of QmlInspectorToolBar

Add a 'Js' to make it align with the other classes of the plugin.

Change-Id: If9514d7ed3a2244a60e7ebc72256ddfc25695c68
Reviewed-on: http://codereview.qt.nokia.com/817
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
13 years agoMaemo: Fix deploy and run behavior when Qemu is missing.
Christian Kandeler [Tue, 28 Jun 2011 08:00:20 +0000 (10:00 +0200)]
Maemo: Fix deploy and run behavior when Qemu is missing.

Change-Id: I791494506777f718d39ccc4e5fe08ec0dde55cce
Reviewed-on: http://codereview.qt.nokia.com/820
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
13 years agoMaemo: Fix device configuration wizard.
Christian Kandeler [Tue, 28 Jun 2011 07:59:18 +0000 (09:59 +0200)]
Maemo: Fix device configuration wizard.

The device type was always set to "physical device", even when the user
chose "emulator".

Change-Id: I0355168fd32d8c3f73066541394b8403fc14ba73
Reviewed-on: http://codereview.qt.nokia.com/819
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
13 years agoQmlProfiler: Next and Previous controls
Christiaan Janssen [Fri, 24 Jun 2011 16:19:08 +0000 (18:19 +0200)]
QmlProfiler: Next and Previous controls

Change-Id: Iedac6ee9f3cc9855a5825fc5f82b79a06da4f1fb
Reviewed-on: http://codereview.qt.nokia.com/767
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
13 years agoL10n: Update German translation for 2.3.
Friedemann Kleint [Tue, 28 Jun 2011 06:41:59 +0000 (08:41 +0200)]
L10n: Update German translation for 2.3.

Change-Id: Id98dfc282737f10e17660b36efc57c67fdeb9bf6
Reviewed-on: http://codereview.qt.nokia.com/816
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoQmlDesigner.NodeInstances: Reduce repaints
Marco Bubke [Mon, 27 Jun 2011 14:51:01 +0000 (16:51 +0200)]
QmlDesigner.NodeInstances: Reduce repaints

Change-Id: I39e7eae1036ee79689ccd49bfe900fee93a3454b
Reviewed-on: http://codereview.qt.nokia.com/808
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
13 years agoQmlProfiler: Fixed bug in display
Christiaan Janssen [Mon, 27 Jun 2011 13:01:10 +0000 (15:01 +0200)]
QmlProfiler: Fixed bug in display

Change-Id: Ie892d0041c537ea6f4ba70ed04dbb92ed6797ec9
Reviewed-on: http://codereview.qt.nokia.com/781
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
13 years agodebugger: prevent double insertion of breakpoint markers
hjk [Mon, 27 Jun 2011 16:04:39 +0000 (18:04 +0200)]
debugger: prevent double insertion of breakpoint markers

Change-Id: Ie5a8625ed2887831600f1835777f9f681b012f15
Reviewed-on: http://codereview.qt.nokia.com/794
Reviewed-by: hjk <qthjk@ovi.com>
13 years agoQmlDesigner.formEditor: adding context menu
Thomas Hartmann [Mon, 27 Jun 2011 15:58:24 +0000 (17:58 +0200)]
QmlDesigner.formEditor: adding context menu

This adds a default context menu to any tool.

Change-Id: I6d7faf5e0b3a7bf131359d6ee3717135492ea5de
Reviewed-on: http://codereview.qt.nokia.com/792
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.navigator: adding context menu to navigator
Thomas Hartmann [Mon, 27 Jun 2011 15:57:11 +0000 (17:57 +0200)]
QmlDesigner.navigator: adding context menu to navigator

Change-Id: I1e0993c4e4adf7c797a659665c5c515fc390b950
Reviewed-on: http://codereview.qt.nokia.com/791
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.model: adding generic context menu in QmlModelView
Thomas Hartmann [Mon, 27 Jun 2011 15:53:36 +0000 (17:53 +0200)]
QmlDesigner.model: adding generic context menu in QmlModelView

Change-Id: I210199ecb26db65416ff147da2f12aa5e775d3fd
Reviewed-on: http://codereview.qt.nokia.com/789
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.QtQuick: Text(Inpt/Edit) now use qsTr
Thomas Hartmann [Mon, 27 Jun 2011 15:49:24 +0000 (17:49 +0200)]
QmlDesigner.QtQuick: Text(Inpt/Edit) now use qsTr

Any text item from the library now uses qsTr

Change-Id: I6ddb4f873227a06f77479e13cbbf4a51e8c26575
Reviewed-on: http://codereview.qt.nokia.com/788
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.documentController: adding instance()
Thomas Hartmann [Mon, 27 Jun 2011 15:46:44 +0000 (17:46 +0200)]
QmlDesigner.documentController: adding instance()

Also exposing changeCurrentModelTo() as public API.

Change-Id: I7c9ed3679ef5859b1349f1d1fe3088e78bccc7ad
Reviewed-on: http://codereview.qt.nokia.com/787
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.componentView: allowing setting of node
Thomas Hartmann [Mon, 27 Jun 2011 15:43:44 +0000 (17:43 +0200)]
QmlDesigner.componentView: allowing setting of node

Change-Id: Ib2f2dd599deb3dcb96e45ed891ce3130c58ac68e
Reviewed-on: http://codereview.qt.nokia.com/786
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoGCC: Improve abi widget handling
Tobias Hunger [Mon, 27 Jun 2011 15:24:54 +0000 (17:24 +0200)]
GCC: Improve abi widget handling

Change-Id: I296848c0615fe0aca0dff3324054be7d7ec86b52
Reviewed-on: http://codereview.qt.nokia.com/785
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoDoc: Valgrind Memcheck changed and Callgrind added
Leena Miettinen [Mon, 27 Jun 2011 15:09:09 +0000 (17:09 +0200)]
Doc: Valgrind Memcheck changed and Callgrind added

Change-Id: I557e268f8d000f6f53672d0a5f8957672858dbe1
Reviewed-on: http://codereview.qt.nokia.com/779
Reviewed-by: hjk <qthjk@ovi.com>
13 years agoGit: Limit size of git blame output when using omit-date
Tobias Hunger [Mon, 27 Jun 2011 15:07:01 +0000 (17:07 +0200)]
Git: Limit size of git blame output when using omit-date

* Do not use setPlainTextData on VCSBaseEditor only as that one implements
  the size limits on VCS output.

* Rework removal of date data from lines to limit copying

Change-Id: Ic1f507eb7bdabdb82b4a37a3d3e6f9381775b680
Reviewed-on: http://codereview.qt.nokia.com/780
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoQmlDesigner.formeEditor: add handler for context menu
Thomas Hartmann [Mon, 27 Jun 2011 13:52:14 +0000 (15:52 +0200)]
QmlDesigner.formeEditor: add handler for context menu

This patch adds a handler for a context menu to AbstactFormEditorTool.
Also all the tools are patched to ignore right mouse keys for now.

The ResizeManipulator gets an active property.

Change-Id: I66b247ce6ae8e9f88517a1c1698432fb64f70da7
Reviewed-on: http://codereview.qt.nokia.com/770
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
13 years agoanalyzer: remove output pane
hjk [Mon, 27 Jun 2011 14:13:46 +0000 (16:13 +0200)]
analyzer: remove output pane

It's all dockwidgets now.

Change-Id: Ia47ca9331fdfbe12ca11f77c26afc35e73a2fae3
Reviewed-on: http://codereview.qt.nokia.com/776
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
13 years agoanalyzer: use dockwidget also for the memcheck tool
hjk [Mon, 27 Jun 2011 13:43:15 +0000 (15:43 +0200)]
analyzer: use dockwidget also for the memcheck tool

Change-Id: I40d3a03e80627b4ff62ff84726dd6de3bcb1f5ea
Reviewed-on: http://codereview.qt.nokia.com/775
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
13 years agoQmlDesigner.qmlModelView: optimization
Thomas Hartmann [Mon, 27 Jun 2011 13:45:41 +0000 (15:45 +0200)]
QmlDesigner.qmlModelView: optimization

With this patch the properties are set before the newNode is reparented.

Change-Id: Ib79bc8879254586fff8e931d757afc01ad29623b
Reviewed-on: http://codereview.qt.nokia.com/771
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoVCS: Improve tab width handling in VCS editor
Tobias Hunger [Mon, 27 Jun 2011 13:00:16 +0000 (15:00 +0200)]
VCS: Improve tab width handling in VCS editor

Use settings for generic files that do not belong to any project for
e.g. git diff. That way a user can actually override the tab width
which used to be hardcoded to 8.

This is not perfect: Actually we should use the tab width defined for
the file type in the project it belongs to. That does require
significantly more work though.

Task-number: QTCREATORBUG-5178
Change-Id: I509b030e09c33a74ecd529294bf08afec21b2121
Reviewed-on: http://codereview.qt.nokia.com/768
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoCheck QMLType when adding new QML files to project to prevent error message being...
Aurindam Jana [Mon, 20 Jun 2011 14:10:42 +0000 (16:10 +0200)]
Check QMLType when adding new QML files to project to prevent error message being shown

Change-Id: I68df3c69b535d47109bfb94c3089fd78e8b3683d
Reviewed-on: http://codereview.qt.nokia.com/514
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoQmlInspector: Get rid of explicit 'Design mode' button
Kai Koehne [Mon, 27 Jun 2011 08:26:25 +0000 (10:26 +0200)]
QmlInspector: Get rid of explicit 'Design mode' button

Instead let the user just select & deselect between the Zoom Tool,
the Selection Tool and the Color Picker.

Change-Id: Ieac0bc0381760237004599e59cafa43544fb03d4
Reviewed-on: http://codereview.qt.nokia.com/753
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
13 years agoFix gcc warning.
Christian Kandeler [Mon, 27 Jun 2011 09:29:15 +0000 (11:29 +0200)]
Fix gcc warning.

Change-Id: I17560ff68542e99f882b2c0c315ea85b4729f19a
Reviewed-on: http://codereview.qt.nokia.com/758
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
13 years agoQmlProfiler: minor improvements in rangedetails display
Christiaan Janssen [Tue, 21 Jun 2011 09:56:22 +0000 (11:56 +0200)]
QmlProfiler: minor improvements in rangedetails display

Change-Id: I7a4c85443d99425f5b15eda424745b83526ebb3f
Reviewed-on: http://codereview.qt.nokia.com/754
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
13 years agoQmlProfiler: Clear button in toolbar
Christiaan Janssen [Fri, 24 Jun 2011 16:19:08 +0000 (18:19 +0200)]
QmlProfiler: Clear button in toolbar

Change-Id: Id9739b7828b080b016aa41b13b4f5313a2319172
Reviewed-on: http://codereview.qt.nokia.com/750
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
13 years agoGit: Document remote and branch dialogs
Leena Miettinen [Mon, 27 Jun 2011 10:15:12 +0000 (12:15 +0200)]
Git: Document remote and branch dialogs

Change-Id: I8b244b68ea6bca5118f5be8c1116d6eeec3e49bd
Reviewed-on: http://codereview.qt.nokia.com/761
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoqmldump: Fix export comparison.
Christian Kamm [Mon, 27 Jun 2011 08:58:14 +0000 (10:58 +0200)]
qmldump: Fix export comparison.

Compare the full uri/name, not just the uri. Also
QDeclarativeType::module was not available in 4.7.3.

Change-Id: I0d04d826c72d4aed5d70c3c65a1f97ad5872827c
Reviewed-on: http://codereview.qt.nokia.com/759
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
13 years agoFix UiPublicMember::lastSourceLocation.
Christian Kamm [Mon, 27 Jun 2011 08:43:29 +0000 (10:43 +0200)]
Fix UiPublicMember::lastSourceLocation.

Mirrors http://codereview.qt.nokia.com/#change,755

Change-Id: I7d1222bda67344456710ada52af33d17688627ca
Reviewed-on: http://codereview.qt.nokia.com/757
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
13 years agoRemoteLinux: Rename some classes and the associated files.
Christian Kandeler [Mon, 27 Jun 2011 08:11:17 +0000 (10:11 +0200)]
RemoteLinux: Rename some classes and the associated files.

Also make them external.

Change-Id: I21a74c1f7124646b5507ffd2ee0e24c7c60eca97
Reviewed-on: http://codereview.qt.nokia.com/749
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
13 years agoDebugger: Add infrastructure for message tracepoints.
Friedemann Kleint [Mon, 27 Jun 2011 08:37:57 +0000 (10:37 +0200)]
Debugger: Add infrastructure for message tracepoints.

Add context menu to add a 'message tracepoint', that is,
a trace point that outputs a user message and continues.
Intended to be a replacement for manually inserting
a qDebug() into the code to understand the call sequence.
Yet to be implemented for gdb.

Change-Id: I1c303001421fbbae74d98d15d52718579350db6e
Rubber-stamped-by: hjk
Reviewed-on: http://codereview.qt.nokia.com/756
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
13 years agoDoc: Analyze mode and QML profiler
Leena Miettinen [Fri, 24 Jun 2011 15:04:23 +0000 (17:04 +0200)]
Doc: Analyze mode and QML profiler

Change-Id: I8edbcfc43caf312da05248c86ca6ad41733e941b
Reviewed-on: http://codereview.qt.nokia.com/731
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
13 years agodebugger: move updateMarker from BreakHandler to BreakpointItem
hjk [Fri, 24 Jun 2011 17:44:49 +0000 (19:44 +0200)]
debugger: move updateMarker from BreakHandler to BreakpointItem

Change-Id: Ie3bafc8fc23cc95e0795d57dac956b3345e671dd
Reviewed-on: http://codereview.qt.nokia.com/748
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
13 years agodebugger: workaround for not-updated markers
hjk [Fri, 24 Jun 2011 17:36:13 +0000 (19:36 +0200)]
debugger: workaround for not-updated markers

Change-Id: Ic0bb344a117496dbada0ccef181a08f5b5bbbb8c
Reviewed-on: http://codereview.qt.nokia.com/747
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
13 years agodebugger: improve handling of subbreakpoints in gdb 7.2 and earlier
hjk [Fri, 24 Jun 2011 17:02:12 +0000 (19:02 +0200)]
debugger: improve handling of subbreakpoints in gdb 7.2 and earlier

Change-Id: I6cd4c2a07544ea902798e2e4596bd56e634f15e3
Reviewed-on: http://codereview.qt.nokia.com/746
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
13 years agodebugger: split BreakpointIndex into plugin and debugger specific part
hjk [Fri, 24 Jun 2011 14:25:30 +0000 (16:25 +0200)]
debugger: split BreakpointIndex into plugin and debugger specific part

Change-Id: I21d10cf42eb039c74475e106537b6e107d155196
Reviewed-on: http://codereview.qt.nokia.com/745
Reviewed-by: hjk <qthjk@ovi.com>
13 years agodebugger: handle results of manual break commands
hjk [Fri, 24 Jun 2011 12:17:16 +0000 (14:17 +0200)]
debugger: handle results of manual break commands

Change-Id: I0ab8ad3ef3ddfe7c8d69fd163864875190698475
Reviewed-on: http://codereview.qt.nokia.com/744
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk <qthjk@ovi.com>
13 years agoRemoteLinux: Fix widget appearance.
Christian Kandeler [Fri, 24 Jun 2011 16:27:59 +0000 (18:27 +0200)]
RemoteLinux: Fix widget appearance.

Change-Id: I8c6a125d07192c7ffea8c1b6c91b860299d1c33f
Reviewed-on: http://codereview.qt.nokia.com/737
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
13 years agoHarmattan: Change display name for device type.
Christian Kandeler [Fri, 24 Jun 2011 16:26:26 +0000 (18:26 +0200)]
Harmattan: Change display name for device type.

Change-Id: Ifd3e504d39b2d20c72e5d551db45c33ccd82372d
Reviewed-on: http://codereview.qt.nokia.com/736
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
13 years agoBuild fix
Tobias Hunger [Fri, 24 Jun 2011 15:35:53 +0000 (17:35 +0200)]
Build fix

Change-Id: I6c03d613c0dcda92ef411265e1d3d1ff679ee0a8
Reviewed-on: http://codereview.qt.nokia.com/735
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoQmlDesigner.propertyEditor: adding checkbox_tr.css
Thomas Hartmann [Fri, 24 Jun 2011 15:32:35 +0000 (17:32 +0200)]
QmlDesigner.propertyEditor: adding checkbox_tr.css

Change-Id: I10094f4cd4dae6fa3af0ea3497cbb9ed74c777f1
Reviewed-on: http://codereview.qt.nokia.com/734
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoAbi: Update to use creator-test-data repo for the abi test data
Tobias Hunger [Fri, 24 Jun 2011 10:08:29 +0000 (12:08 +0200)]
Abi: Update to use creator-test-data repo for the abi test data

Change-Id: Ie5ce3dd0d821516355bd43748f180e3323bb5879
Reviewed-on: http://codereview.qt.nokia.com/696
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
13 years agoQmlDesigner.QtQuickPlugin: update for views
Thomas Hartmann [Fri, 24 Jun 2011 14:38:28 +0000 (16:38 +0200)]
QmlDesigner.QtQuickPlugin: update for views

ListView/GridView and PathView are now populated with code

Change-Id: I66356be4f4c49c11177e6aefca3f013aa0d5937c
Reviewed-on: http://codereview.qt.nokia.com/717
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.model: allow creating items from qml code in library
Thomas Hartmann [Fri, 24 Jun 2011 14:35:01 +0000 (16:35 +0200)]
QmlDesigner.model: allow creating items from qml code in library

Change-Id: I2fe7cbe594b6aac6cbf01f283a0ed0f2aec753a8
Reviewed-on: http://codereview.qt.nokia.com/720
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.symbianPlugin: update
Thomas Hartmann [Fri, 24 Jun 2011 14:30:54 +0000 (16:30 +0200)]
QmlDesigner.symbianPlugin: update

Change-Id: I7f4d5084264e4b810b3ab95fcbb51f9c9eb971f1
Reviewed-on: http://codereview.qt.nokia.com/724
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.documentController: switching to master model on mode change
Thomas Hartmann [Fri, 24 Jun 2011 14:15:32 +0000 (16:15 +0200)]
QmlDesigner.documentController: switching to master model on mode change

Change-Id: If40ad93083d36eddf2090d50f2944ff7a3f77539
Reviewed-on: http://codereview.qt.nokia.com/727
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.itemLibraryInfo: add qml property for library
Thomas Hartmann [Fri, 24 Jun 2011 14:09:46 +0000 (16:09 +0200)]
QmlDesigner.itemLibraryInfo: add qml property for library

Change-Id: I986cef3a15d6332f1dcf7c0ca4cd035cc0751e76
Reviewed-on: http://codereview.qt.nokia.com/719
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.componentView: fix for captions
Thomas Hartmann [Fri, 24 Jun 2011 14:05:49 +0000 (16:05 +0200)]
QmlDesigner.componentView: fix for captions

Change-Id: I0ea2441d2989b8e395955b5e19ad45d341d12379
Reviewed-on: http://codereview.qt.nokia.com/716
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.documentController: cleanup
Thomas Hartmann [Fri, 24 Jun 2011 14:14:13 +0000 (16:14 +0200)]
QmlDesigner.documentController: cleanup

Change-Id: Ia784d21934baa83c9d8527b46b31a48be6324d2a
Reviewed-on: http://codereview.qt.nokia.com/725
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.designDocumentController: reset formeditor
Thomas Hartmann [Fri, 24 Jun 2011 14:14:57 +0000 (16:14 +0200)]
QmlDesigner.designDocumentController: reset formeditor

We are reseting now the formeditor when switching the mode.

Change-Id: Ic9d16e7587e59124dab51cd512bd6a366156c622
Reviewed-on: http://codereview.qt.nokia.com/726
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.model: add resetView() to AbstractView
Thomas Hartmann [Fri, 24 Jun 2011 14:12:20 +0000 (16:12 +0200)]
QmlDesigner.model: add resetView() to AbstractView

Change-Id: I36b14447f901ae97d24a92ce4ba0510e36177611
Reviewed-on: http://codereview.qt.nokia.com/722
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.rewriter: improve debugging
Thomas Hartmann [Fri, 24 Jun 2011 14:11:19 +0000 (16:11 +0200)]
QmlDesigner.rewriter: improve debugging

Change-Id: I62c6ba8a95ec0bdbf99b5422c5f00235d85167e3
Reviewed-on: http://codereview.qt.nokia.com/721
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.modelMerger: fix
Thomas Hartmann [Fri, 24 Jun 2011 14:09:05 +0000 (16:09 +0200)]
QmlDesigner.modelMerger: fix

The properties nodeSource and nodeSourceType also have to be copied.

Change-Id: Id583399f7e597bd03c4ad51625e88f278499555e
Reviewed-on: http://codereview.qt.nokia.com/718
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.nodeInstances: improving warnings if building qmlpuppet fails
Thomas Hartmann [Fri, 24 Jun 2011 14:05:08 +0000 (16:05 +0200)]
QmlDesigner.nodeInstances: improving warnings if building qmlpuppet fails

Change-Id: I7dfecd8e0ad0016748ef4513cf0364e8dcd7d121
Reviewed-on: http://codereview.qt.nokia.com/715
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoQmlDesigner.rewriter: crash fix
Thomas Hartmann [Fri, 24 Jun 2011 14:13:07 +0000 (16:13 +0200)]
QmlDesigner.rewriter: crash fix

This fixes a bug for UiObjectBindings.
This just did not handle the binding case properly.

Change-Id: I543a1d839d5960044b5a5a39f506af753a70c287
Reviewed-on: http://codereview.qt.nokia.com/723
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
13 years agoRemove compilator's warning
Pawel Polanski [Fri, 24 Jun 2011 13:44:04 +0000 (15:44 +0200)]
Remove compilator's warning

Change-Id: I3e08eec23ae6c825f056218840d7534b66037046
Reviewed-on: http://codereview.qt.nokia.com/714
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Paweł Polański <jaggernod@gmail.com>
13 years agoBetter name for enum value.
con [Fri, 24 Jun 2011 14:00:47 +0000 (16:00 +0200)]
Better name for enum value.

Change-Id: Ic89535081fca147727d12d77e1427d8240cde6d5
Reviewed-on: http://codereview.qt.nokia.com/713
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoDon't keep canceled tasks forever.
con [Fri, 24 Jun 2011 13:47:48 +0000 (15:47 +0200)]
Don't keep canceled tasks forever.

They'll fade "after user interaction" now (since canceling will most
probably lead to mouse movement over the widget that already counts as
interaction, i.e. after pressing 'x' it will fade after a while).

Task-number: QTCREATORBUG-4456
Change-Id: Id095a6bbd5819b93ec8cb9f514b429ef5ab231e9
Reviewed-on: http://codereview.qt.nokia.com/712
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
13 years agoQtQuickApp wizard: Add Qt Components for Meego/Harmattan
Kai Koehne [Fri, 24 Jun 2011 11:41:05 +0000 (13:41 +0200)]
QtQuickApp wizard: Add Qt Components for Meego/Harmattan

Change-Id: I4809de36e4913037439ab9eb7c56021431cff365
Reviewed-on: http://codereview.qt.nokia.com/704
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
13 years agoQtQuick Wizard: Improve wording of Components page
Kai Koehne [Fri, 24 Jun 2011 11:15:55 +0000 (13:15 +0200)]
QtQuick Wizard: Improve wording of Components page

Change-Id: I02a2b4ca77a631db9ebfbf949d9a79d5a820bb4a
Reviewed-on: http://codereview.qt.nokia.com/703
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@nokia.com>
13 years agoRevert "QtQuickApp wizard: Add option for QtQuick 1.1 module"
Kai Koehne [Fri, 24 Jun 2011 10:47:38 +0000 (12:47 +0200)]
Revert "QtQuickApp wizard: Add option for QtQuick 1.1 module"

This reverts commit 31904563bb2666c73bce71eeb7b5a166691a2b9d.
The option in the UI might actually confuse users: For the time being
we'll just keep 1.0 as the namespace.

Change-Id: Ifc7b46227d57ec8d246c8f7818d5a619ef0cd3bd
Reviewed-on: http://codereview.qt.nokia.com/699
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
13 years agoQtQuickApplication wizard: Don't show Harmattan targets for symbian components
Kai Koehne [Fri, 24 Jun 2011 09:25:18 +0000 (11:25 +0200)]
QtQuickApplication wizard: Don't show Harmattan targets for symbian components

Change-Id: Ia5108c04d7898567ece7b5498359c88210ed2682
Reviewed-on: http://codereview.qt.nokia.com/695
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>