Commit Graph

8660 Commits

Author SHA1 Message Date
hjk
9e231e4407 debugger: fix expansion of object in gdb tooltips on first click
Change-Id: Ia157f8fb7f1b9ff8a8161c8a726d1d483b81e54f
Reviewed-on: http://codereview.qt.nokia.com/179
Reviewed-by: hjk <qthjk@ovi.com>
2011-05-27 12:22:06 +02:00
hjk
de929e825d debugger: introduce a parameter struct for updateLocal
Change-Id: I05ecc935e1b6cf9483f23624f18e4dc5b9f295f3
Reviewed-on: http://codereview.qt.nokia.com/178
Reviewed-by: hjk <qthjk@ovi.com>
2011-05-27 11:23:08 +02:00
Thomas Hartmann
4079b29f9c QmlDesigner.propertyEditor: fixes for spinboxes
Fixing mouse repeat.
Task-number: QTCREATORBUG-4990

Change-Id: I5a41bac8e11d874672b70fd518d8a90f8ffe56e9
Reviewed-on: http://codereview.qt.nokia.com/132
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-05-26 11:44:02 +02:00
Thorbjørn Lindeijer
cf88d6a812 DeclarativeObserver: Fixed duplicates in item selection
Only add items to the current selection that aren't already part of it.

Also removed checking item for null, since it doesn't make sense to
include null pointers in the list of items to select.

Task-number: QTCREATORBUG-3426
Change-Id: I5a365570f87f72665b3382d05ca9937f56e8956b
Reviewed-on: http://codereview.qt.nokia.com/111
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
2011-05-25 14:35:20 +02:00
Thomas Hartmann
2aefea5557 QmlDesigner.property: do not allow to enter ',' for margins.
If minimum/maximum < 1000 the validator does not allow ','.
Allowing ',' confuses users.

Change-Id: I5ce3b809ea03552e03f11461d677d6212edb3aa4
Reviewed-on: http://codereview.qt.nokia.com/105
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
2011-05-25 11:28:48 +02:00
Thorbjørn Lindeijer
554b8e996b DeclarativeObserver: Removed the SubcomponentEditorTool
This tool made selecting items in your QML app more complicated than
necessary. Now, left-click will always just select the top-most item
under the mouse and right-click will allow you to select any of the
items below.

Also, the highlighted bounding rect now always applies to just one
item, instead of also including the children bounding rect.

Reviewed-by: Kai Koehne
Change-Id: I17b5ab397d951fd68711590469ca6e723a9cb0e6
(backported from Qt 4.8 commit 935472c16fc53ee43e1e680ed0122e6363282a8e)
Reviewed-on: http://codereview.qt.nokia.com/89
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-05-25 10:14:36 +02:00
Christiaan Janssen
3cf5379380 QmlLivePreview: removing and inserting animations and transitions
Change-Id: Ic776f63f5d7925ac7dfd99be53c10b9af4cb9545
Reviewed-on: http://codereview.qt.nokia.com/75
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
2011-05-24 13:03:43 +02:00
hjk
46a707fd8d debugger: Fix address output for watchers
There is no address for on-the-fly expressions

Change-Id: Id8c1c2e4d727732196386928a9eddc7c81073415
Reviewed-on: http://codereview.qt.nokia.com/73
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: hjk
2011-05-23 17:40:30 +02:00
Christian Kandeler
84f60e5fda Maemo: Use different desktop files for Fremantle and Harmattan.
So far, we desperately tried not to duplicate the desktop file,
resorting to all kinds of "clever" heuristics in the process.
This is, however, somewhat limiting and confusing to users,
because we do magic stuff behind their backs.
So it seems better to "give up" and use two desktop files.

Change-Id: Idf969eb3ad365f080e5a9c1608149ea6de629d5c
Reviewed-on: http://codereview.qt.nokia.com/31
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Alessandro Portale <alessandro.portale@nokia.com>
2011-05-23 13:10:56 +02:00
hjk
ca5c16a40a debugger: fix std::deque dumper
Task-number: QTCREATORBUG-4936
2011-05-19 10:37:53 +02:00
Thorbjørn Lindeijer
789cbfad6c Fixed crashes in Observer mode related to infinite bounding rects
Bug fixed by avoiding uniting or subtracting QPolygonF with potentially
infinite coordinates.

The LiveSelectionIndicator now uses a QGraphicsRectItem rather than a
QGraphicsPolygonItem and displays only the boundaries of selected
objects, not including their children.

The SubcomponentMaskLayerItem now works with rectangles and uses a
QRegion to determine the area around the current context, converting
this to a polygon only as a last step.

Reviewed-by: Kai Koehne
Task-number: QTCREATORBUG-4559
Change-Id: I266f5387fa67017fc50215282a95b4ee6498be6d
(cherry-picked from d03065da2999b8539d8c5160b58d56dd94373d6f in Qt 4.8)
2011-05-18 22:22:51 +02:00
Leena Miettinen
80e77e9514 UI text: fix capitalization of labels and tooltips
Reviewed-by: Thomas Hartmann
2011-05-17 13:46:10 +02:00
hjk
fb7f576ede debuggger: allow change of display for templated types 2011-05-17 12:59:54 +02:00
Robert Loehning
ab3ab3264e Improved German translation 2011-05-17 11:54:27 +02:00
Christiaan Janssen
670d241288 QmlLivePreview: adding animations and transitions
Reviewed-by: Kai Koehne
2011-05-17 10:44:33 +02:00
Christiaan Janssen
09a78a3ae7 QmlLivePreview: adding states to an item
Reviewed-by: Kai Koehne
2011-05-17 10:42:45 +02:00
hjk
0d3fa271b5 debugger: add dumper for Eigen::Matrix 2011-05-16 20:04:43 +02:00
Oswald Buddenhagen
fa0127bedd Merge remote-tracking branch 'origin/2.2'
Conflicts:
	src/plugins/debugger/breakhandler.cpp
	src/plugins/debugger/cdb/cdbengine.cpp
2011-05-16 17:32:23 +02:00
hjk
7347587d69 debugger: take a few string comparisons off the critical path 2011-05-16 17:22:05 +02:00
hjk
2f009a301b debugger: remove custom 'select' function from dumpers 2011-05-16 17:22:05 +02:00
hjk
185aaa7e26 debugger: use python's built-in min() 2011-05-16 17:22:05 +02:00
Leena Miettinen
dd3900a402 UI text: edit field labels and tooltips
Reviewed-by: Thomas Hartmann
2011-05-16 16:56:03 +02:00
Kai Koehne
fc5bae8837 QmlDebugging: Fix compilation of debugging libs without private headers
Actually use the copy of the private header in the lib. Also fix
the copyright header to a Qt Creator one.
2011-05-16 12:51:55 +02:00
hjk
9ccca96b20 debugger: add example code for "manual downcasting" 2011-05-13 17:57:31 +02:00
Thibaut Cuvelier
fa57b9e774 french translation fixes
Merge-request: 2197
Reviewed-by: ossi
2011-05-13 12:09:34 +02:00
Thorbjørn Lindeijer
2b0266d0ee Disable observer and jsdebugger services when they're already part of Qt
As of Qt 4.8 the observer and jsdebugger services are part of Qt. This
means the following changes are necessary in Qt Creator:

* Do not link to the QmlJSDebugger library.
* Do not create JSDebuggerAgent and QDeclarativeViewObserver instances
  in the QmlApplicationViewer and use the new declarative_debug CONFIG
  option to enable those services in Qt. This is done automatically
  for debug builds.
* Point out the QML Debugging Library and the QML Observer are "Not
  needed" in the Qt options page.
* Change the label in qmake options from "Link QML debugging library" to
  "Enable QML debugging". It still remains as a way to enable this
  functionality in release builds or for QtQuick applications not based
  on Qt Creator's template.
* Rely on qmlviewer for debugging QML UI projects rather than the
  observer, which is no longer necessary.

Reviewed-by: Kai Koehne
2011-05-12 15:56:05 +02:00
hjk
0747859006 debugger: make QVector and std::vector writable 2011-05-11 10:38:04 +02:00
hjk
587a2c3a2a debugger: enable modification of std::string and QString 2011-05-10 19:01:49 +02:00
Oswald Buddenhagen
1d7605fbf8 Update french translation for 2.2
This is a team work by:
Jonathan Courtois <jonathan.courtois@gmail.com>
Thibaut Cuvelier <tcuvelier@redaction-developpez.com>
Verdvaine Yan <yan.verdavaine@redaction-developpez.com>
Pierre Rossi <pierre.rossi@nokia.com>

Merge-request: 2194
Merge-request: 2196
Merge-request: 321
Reviewed-by: ossi
2011-05-10 18:05:41 +02:00
hjk
6331b68943 debugger: (gdb, non-Mac) also print numeric values for enums 2011-05-10 15:58:11 +02:00
hjk
725fb153b7 debugger: speed up python dumper
build up list of string chunks instead of big string
2011-05-10 15:58:11 +02:00
hjk
da44415ebe debugger: more direct number conversion in putAddress 2011-05-10 15:58:11 +02:00
Friedemann Kleint
1dfb4a264a L10n: Fix German translation of the 'Add Library Wizard'.
(cherry picked from commit ac18e2016c)
2011-05-09 18:44:05 +02:00
Thomas Hartmann
0da6d311b6 QmlDesigner.propertyEditor: fix tooltips
We set a stylesheet to avoid bugs with certain styles.
Task-number: QTCREATORBUG-4003
2011-05-09 14:42:42 +02:00
Thomas Hartmann
fef336bcea QmlDesigner.propertyEditor: fixes for PathView 2011-05-06 18:10:53 +02:00
Thomas Hartmann
d7f3a0c3cc QmlDesigner.propertyEditor: fixes for ListView 2011-05-06 18:10:52 +02:00
Thomas Hartmann
e4a2228739 QmlDesigner.propertyEditor: fixes for GridView 2011-05-06 18:10:52 +02:00
Thomas Hartmann
8e26fd31eb QmlDesigner.propertyEditor: fixes for Flickable 2011-05-06 18:10:51 +02:00
Thomas Hartmann
54dec95737 QmlDesigner.propertyEditor: remove title property for WebView
Task-Nr: QTCREATORBUG-4676
2011-05-06 18:10:50 +02:00
Thomas Hartmann
c60cfce88c QmlDesigner.propertyEditor: enlarge labels 2011-05-06 18:10:50 +02:00
Tobias Hunger
aa2acec14c Fix/add copyright headers
Change-Id: I8b73d583be1ee7183f4074bce49d5390e38631a2
2011-05-06 15:17:05 +02:00
Thomas Hartmann
0515e73e31 QmlEditor.outline: adding icons for Extra Components 2011-05-06 13:14:44 +02:00
Christiaan Janssen
5e164ce1bf QmlDebugger: adding new PropertyChanges on Live Preview
Task-number: QTCREATORBUG-3391

Reviewed-by: Kai Koehne
2011-05-05 17:03:38 +02:00
Friedemann Kleint
ac18e2016c L10n: Fix German translation of the 'Add Library Wizard'. 2011-05-04 14:41:41 +02:00
Kai Koehne
52010b4d95 QmlJsDebug: Don't append 'd' to library name on Unix 2011-05-04 13:08:25 +02:00
Robert Loehning
181d9b8e39 Fixed German translation
Reviewed-by: Christian Kandeler
2011-05-04 12:54:36 +02:00
Daniel Molkentin
8dd71a9199 Let the ListModel wizard generate a valid model. 2011-05-02 17:24:20 +02:00
Kai Koehne
af9a307c15 QmlJSDebug: Enable compilation of library also for Symbian 2011-04-29 15:08:43 +02:00
Kai Koehne
cc3aa73f5e QmlJSDebugger: Remove stale qmljsdebugger.pri file 2011-04-29 15:08:42 +02:00
con
1689a2cded Merge remote branch 'origin/2.2'
Conflicts:
	qtcreator.pri
2011-04-29 10:27:58 +02:00