Commit Graph

21107 Commits

Author SHA1 Message Date
Christian Kandeler
3e02f2a4d9 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>
2011-06-28 10:04:06 +02:00
Christian Kandeler
a42ad1db04 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>
2011-06-28 10:02:22 +02:00
Christiaan Janssen
2b8920405d 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>
2011-06-28 09:59:59 +02:00
Friedemann Kleint
33256aa617 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>
2011-06-28 08:44:03 +02:00
Marco Bubke
52dcd28275 QmlDesigner.NodeInstances: Reduce repaints
Change-Id: I39e7eae1036ee79689ccd49bfe900fee93a3454b
Reviewed-on: http://codereview.qt.nokia.com/808
Reviewed-by: Marco Bubke <marco.bubke@nokia.com>
2011-06-27 21:34:42 +02:00
Christiaan Janssen
3aae4c1812 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>
2011-06-27 18:03:15 +02:00
hjk
54fa13dd3c debugger: prevent double insertion of breakpoint markers
Change-Id: Ie5a8625ed2887831600f1835777f9f681b012f15
Reviewed-on: http://codereview.qt.nokia.com/794
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-27 18:01:55 +02:00
Thomas Hartmann
add445e810 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>
2011-06-27 17:58:53 +02:00
Thomas Hartmann
fffafb97e9 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>
2011-06-27 17:57:41 +02:00
Thomas Hartmann
dde8ef0c71 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>
2011-06-27 17:54:13 +02:00
Thomas Hartmann
51d5e232cf 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>
2011-06-27 17:52:27 +02:00
Thomas Hartmann
386974c943 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>
2011-06-27 17:47:14 +02:00
Thomas Hartmann
88ac3daa7f 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>
2011-06-27 17:44:53 +02:00
Tobias Hunger
bf50290640 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>
2011-06-27 17:26:54 +02:00
Leena Miettinen
fa8c621a73 Doc: Valgrind Memcheck changed and Callgrind added
Change-Id: I557e268f8d000f6f53672d0a5f8957672858dbe1
Reviewed-on: http://codereview.qt.nokia.com/779
Reviewed-by: hjk <qthjk@ovi.com>
2011-06-27 17:22:31 +02:00
Tobias Hunger
3463a813c7 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>
2011-06-27 17:10:12 +02:00
Thomas Hartmann
d7ed0667e9 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>
2011-06-27 16:22:02 +02:00
hjk
a9f53ec9c5 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>
2011-06-27 16:17:11 +02:00
hjk
0753c7bd2e 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>
2011-06-27 16:16:41 +02:00
Thomas Hartmann
4c288b35a4 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>
2011-06-27 15:49:30 +02:00
Tobias Hunger
3ffe777f27 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>
2011-06-27 15:05:31 +02:00
Aurindam Jana
8668fb776f 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>
2011-06-27 14:59:51 +02:00
Kai Koehne
7c90a35131 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>
2011-06-27 13:55:21 +02:00
Christian Kandeler
5846005b62 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>
2011-06-27 13:10:42 +02:00
Christiaan Janssen
0c0dbcc52c 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>
2011-06-27 12:55:07 +02:00
Christiaan Janssen
9baa4f51a1 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>
2011-06-27 12:54:54 +02:00
Leena Miettinen
843db69441 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>
2011-06-27 12:35:47 +02:00
Christian Kamm
14a74f336a 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>
2011-06-27 11:41:38 +02:00
Christian Kamm
f229def962 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>
2011-06-27 10:45:51 +02:00
Christian Kandeler
0119dade1a 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>
2011-06-27 10:45:30 +02:00
Friedemann Kleint
90ee1cc1c9 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>
2011-06-27 10:42:50 +02:00
Leena Miettinen
bcb46f3ebb 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>
2011-06-27 09:22:35 +02:00
hjk
377668a0cf 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>
2011-06-27 09:21:30 +02:00
hjk
e41f11298b 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>
2011-06-27 09:14:51 +02:00
hjk
16fe673479 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>
2011-06-27 09:14:37 +02:00
hjk
c041286753 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>
2011-06-27 09:14:25 +02:00
hjk
c4713f5ab2 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>
2011-06-27 09:12:12 +02:00
Christian Kandeler
d17d0cb6e9 RemoteLinux: Fix widget appearance.
Change-Id: I8c6a125d07192c7ffea8c1b6c91b860299d1c33f
Reviewed-on: http://codereview.qt.nokia.com/737
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2011-06-24 18:28:57 +02:00
Christian Kandeler
c1a4f2c3dc 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>
2011-06-24 18:28:39 +02:00
Tobias Hunger
b5419251c7 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>
2011-06-24 17:36:44 +02:00
Thomas Hartmann
c4eae3adbc 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>
2011-06-24 17:33:36 +02:00
Tobias Hunger
4a0fcf6b12 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>
2011-06-24 17:15:15 +02:00
Thomas Hartmann
6e778df219 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>
2011-06-24 16:40:04 +02:00
Thomas Hartmann
6b8ffcfca8 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>
2011-06-24 16:36:42 +02:00
Thomas Hartmann
fa97907bb1 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>
2011-06-24 16:31:41 +02:00
Thomas Hartmann
59ab229b84 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>
2011-06-24 16:27:20 +02:00
Thomas Hartmann
ad80aa20ae 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>
2011-06-24 16:23:03 +02:00
Thomas Hartmann
8102f3f6d2 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>
2011-06-24 16:22:49 +02:00
Thomas Hartmann
05de65756d 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>
2011-06-24 16:22:27 +02:00
Thomas Hartmann
f6a2e0ad77 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>
2011-06-24 16:21:23 +02:00