Commit Graph

8660 Commits

Author SHA1 Message Date
Thomas Hartmann
6b05e7ce19 QmlDesigner.PropertyEditor: Fixing crash
The designer was crashing when trying to anchor the root item.
The root item cannot be anchored.

Task-number: QTCREATORBUG-11078
Change-Id: I1aec1ad5b15de8c2baf3b76358d02347fb3a124c
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2013-12-16 13:22:50 +01:00
Thomas Hartmann
f08651024b QmlDesigner.PropertyEditor: Fixing expressions and tr checkbox
The handling of expressions in states was broken in conjunction with states.

This patch fixes a couple of related issues:

*  The notifier of isTranslated (PropertyEditorValue) has to be
   expressionChanged, since this property depends on the expression.

* isTranslated() has to return also true if there is only an expression
  in the base state. If the string is translated in the base state it
  should be translated in other states, too.

* In states the expression set in createPropertyEditorValue() has to be the
  expression of the current stateif there is one.
  We can not just fall back to instanceValue.

* I did a couple of fixes in LineEdit.qml. We cannot bind checked directly,
  since the binding will be deleted when checked is changed by the control.
  I removed all code regarding transactions. We react to onEditingFinished,
  so it is not required. The translated state is properly preserved now, when
  setting the value.

Task-number: QTCREATORBUG-10674
Task-number: QTCREATORBUG-10791
Change-Id: I95721711a37e63c4c7c38e275089d6de0bb92bec
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
2013-12-16 13:11:59 +01:00
hjk
c1fc3e5ded Debugger: Also display addresses of base classes
Rarely needed, but cheap to produce and nice-to-have in some cases.

Change-Id: Ib28e34a8085a4e0ed943646321843eea1bf4e138
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-12-16 13:03:03 +01:00
Marco Bubke
07222ba46a QmlDesigner: Refactor enumeration handling
Change-Id: I0e163147a0303741af52127ece6f6afd0d2aa658
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-12-16 12:55:06 +01:00
Eike Ziller
dad0140134 Merge remote-tracking branch 'origin/3.0' 2013-12-12 10:06:09 +01:00
Pavel Fric
79e1291129 Updated czech translation
Change-Id: Ie488f002d43cefc3cac2602aea258d49bb236260
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-12-10 16:25:14 +01:00
Martin Bohacek
d99d262427 Debugger: fix duplicated "," in response to locals + watch query
Change-Id: I509f39a6423a572219d941f10ca429914ee61996
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-06 10:37:43 +01:00
Eike Ziller
072d551c73 Merge remote-tracking branch 'origin/3.0'
Conflicts:
	qtcreator.pri
	qtcreator.qbs

Change-Id: I49dca8a41519869f122a4dfdbd6564b357ddeb1e
2013-12-05 11:58:42 +01:00
jkobus
d3b8da6cf8 Add qtquick 2.1, 2.2 and qtquickcontrols 1.1
Change-Id: If68e0c62781b235c2f0e573afe6d0e28709f28f3
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2013-12-05 10:04:31 +01:00
Guillaume Belz
f3292a442d Update french translation
Also, converted non-breakable spaces into &nbsp;.

Change-Id: I3cf7f3b1bc3a5bd90219ea5ffa794411d5c8bc85
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Reviewed-by: Pierre Rossi <pierre.rossi@gmail.com>
2013-12-04 18:31:00 +01:00
Jarek Kobus
713892c02a Polish Polish translations
Change-Id: I55ac136b63e389f5c433a401067dd2ea477632d3
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2013-12-04 15:58:02 +01:00
Sergey Belyashov
5fe602e3b7 Update Russian translations
Change-Id: I98caf7eb1f5fa1ea3ba21a296e42e8906e2541ab
Reviewed-by: Sergey Shambir <sergey.shambir.auto@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-12-04 12:30:30 +01:00
Ulf Hermann
b7ac243c3b WelcomeScreen: Avoid loading of invalid pictures
Apparently the QML engine also loads pictures for invisible Image
objects. The pictures icons for examples and tutorials on the welcome
screen thus always try to load an extra video icon, which always fails.
By setting the URL to an empty string if the example or tutorial being
loaded is no video we can avoid that.

Change-Id: Ibafc11ed233f386bbbf1e7a4830fcb34bc1cd55d
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-12-03 14:01:53 +01:00
Robert Loehning
afb0f8772b Fix in German translation
Change-Id: I8b69fa1dd1a68a8422bac4662dfa60e836cac18b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-12-03 13:45:24 +01:00
Jarek Kobus
108290bc0e Update Polish translations
Change-Id: Ib405c0941b47453d1ae492055ceef91f369e2312
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2013-12-03 13:33:39 +01:00
Eike Ziller
920d524d38 Merge remote-tracking branch 'origin/3.0' 2013-12-03 12:46:39 +01:00
Ulf Hermann
132954f9f3 WelcomeScreen: Don't use clipping
Aparrently clipping is slow in QML, so we use elide and manually control
visibility instead.

Change-Id: Idb743a8daec04b028f103a075a5416729f0e2a16
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-12-03 09:47:18 +01:00
Ulf Hermann
e2ce74f5a6 WelcomeScreen: Scroll the example grid view with the main scroll view
By tying the scroll offsets and visible areas of the two scrollable
elements together we avoid excessive loading times for the examples.

Change-Id: I6522ef3e6c0454e5bb05bef143953d8d1850ffdc
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-12-03 09:47:12 +01:00
Kai Koehne
2d028ceec4 Remove wrong Qt Creator version number from Qt Quick template files
Task-number: QTCREATORBUG-10975
Change-Id: I6eb87a789ce88b1f3f298ef65b8bb96ce2348501
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@digia.com>
2013-12-03 08:52:32 +01:00
Thomas Hartmann
d9a54fdeef Welcomepage: Is should not be possible to uncheck tabs
Unchecking a tab has no clear semantic.

Change-Id: I9bb3d659a76655846c79cabbe23717119ed0cf08
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
2013-12-02 19:07:56 +01:00
Eike Ziller
0a893fc6b4 Merge remote-tracking branch 'origin/3.0' 2013-12-02 15:33:56 +01:00
hjk
242cb17919 Debugger: Adjust QDateTime dumper for Qt 5.2
Change-Id: I53a5701c9d1791e2705eafb258ff440f97e53b87
Reviewed-by: John Layt <jlayt@kde.org>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-02 15:14:42 +01:00
Eike Ziller
87e2e5b977 LLDB: Autoselect thread that was stopped in
The integration was only doing that for breakpoints, but not for
stepping etc.

Task-number: QTCREATORBUG-10813
Change-Id: I4be7ec691e839bf062ab67587062cba00cc85e4f
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-12-02 12:53:45 +01:00
Topi Reinio
9cb4b52ed4 WelcomePage: Remove outdated tutorial videos
Remove following videos that use outdated terminology:
    - Qt Quick Elements, Part 1
    - Qt Quick Elements, Part 2
    - Qt Quick Elements, Part 3

Task-number: QTBUG-35187
Change-Id: Iacecf06b4868ecbc71fa2b7d3cc3ad23533e88b4
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
2013-12-02 12:16:04 +01:00
hjk
4548872cf6 Debugger: Fix QTextCursor dumper
Change-Id: I9e26e4dcee19caa0b4292655efdfeda5f1232714
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-29 17:37:37 +01:00
Eike Ziller
f7397224ea Merge remote-tracking branch 'origin/3.0' 2013-11-29 16:36:13 +01:00
Viktor Ostashevskyi
f59b84362a Ukrainian translation update for 3.0
Change-Id: Ib81a3ca1bef70250e83dcf5f45bc145ff78cee32
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-11-29 11:59:43 +01:00
Eike Ziller
0e4de8c108 Merge remote-tracking branch 'origin/3.0' 2013-11-29 11:50:41 +01:00
hjk
2e8347a8c8 Debugger: Remove unused gdbbridge.Dumper.nolocals
Change-Id: Ic24cb5ffb8d1a93372c3661a8b7c91f11fe4e9ad
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-28 15:49:52 +01:00
hjk
4081317470 Debugger: Fix check for QObject-ness.
Change-Id: Idd33e104e6e80f9b1f87af9409db810c2c37a4a2
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-28 11:45:19 +01:00
hjk
97bfda8f41 Debugger: std::vector<bool> re-fix
Change-Id: Ia37f6a0ad0b9b59439f916e7ca93ee3bb9812fa1
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-28 10:46:01 +01:00
Fawzi Mohamed
f2984ad1ef qmljs: update QtQuick2 bundle
This will need to be replaced with the results of the import scan, but
that will be for 3.1.

Change-Id: Icd398282142972421044c3b4d05fec9057cff95c
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-27 23:42:28 +01:00
hjk
8f1fc056e9 Debugger: Fix regression in pointer display
'None' is not in a range...

Change-Id: I2df534556ab811dbd285d94ec14021d8597fe226
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-27 15:24:27 +01:00
Ulf Hermann
a8b215dcf1 Debugger: Correctly identify derived classes from references
Previously the correctly gdb-identified dynamic types were overwritten
with the value's static type. This is probably because the dynamic type
doesn't include the "&" for "reference". That, however, can easily be
fixed by just appending "&". As we're only handling references there it
should be safe to do so.

Task-number: QTCREATORBUG-10888
Change-Id: I7310916ce662956e66491423ad26658c32c8776b
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-27 13:41:44 +01:00
hjk
4385130538 Debugger: Fix std::string dumper on 64 bit
Task-number: QTCREATORBUG-10925
Change-Id: Iec57515e8adca8bd2e638157b9c1f0d4d9310c68
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-11-27 13:11:24 +01:00
Eike Ziller
baf190ff4a Merge remote-tracking branch 'origin/3.0' 2013-11-27 12:18:12 +01:00
hjk
848af02753 Debugger: Add more options for pointer display
Change-Id: Iaceefc5da11a03052e5a2eb50dab7a85588813b0
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Reviewed-by: David Schulz <david.schulz@digia.com>
2013-11-27 10:42:24 +01:00
hjk
20eba776da Debugger: Show more information for raw pointers
Task-number: QTCREATORBUG-7550

Change-Id: Ic4bdf6cdb402aac4aa0245568a0d6f1eb7a9e259
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
2013-11-27 10:15:26 +01:00
hjk
429a26b3cd Debugger: Fix std::vector<bool> dumper for LLDB
Change-Id: I83788acb6cfa9a659482d64bead10dd27e71fade
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-26 17:32:35 +01:00
Thomas Hartmann
948dd853c7 QmlDesigner.PropertyEditor: TextField "Delete" should not delete items
Change-Id: I7434d1d9f8175cf2799ea4eea491cdcbaee40040
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-25 19:00:27 +01:00
Thomas Hartmann
36c3a12f38 QmlDesigner.PropertyEditor: fix for gradient editing
We have to ensure that currentColor is not set to early.

Change-Id: I243898e08adf2f68d037374cc6c8ff586b1d5d0d
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-25 13:46:08 +01:00
Sergey Belyashov
70cc5751fc Update Russian translation
Change-Id: I6f49b83d6ab554b039f6a159b4520db5649d1e2d
Reviewed-by: Denis Shienkov <denis.shienkov@gmail.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
2013-11-25 13:42:46 +01:00
Ulf Hermann
5b92d43814 WelcomeScreen: Pass height of develop mode to outer element
Previously the recent projects had an extra scrollview and the sessions
had a fixed height. In addition, as there will never be any scrollbars
around the recent projects anymore we don't need the borders around them
anymore, either.

Task-number: QTCREATORBUG-10731
Change-Id: I491265148a3ce777f15b8ba7d852248b583f2c83
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-25 12:51:56 +01:00
Thomas Hartmann
542cee7560 QmlDesigner.PropertyEditor: using onEditingFinished
Change-Id: I2e6097ebb1e6265eeef7ee6b65e34945fdc83213
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-25 11:32:25 +01:00
Eike Ziller
559e66cb35 Merge remote-tracking branch 'origin/3.0' 2013-11-22 09:11:51 +01:00
hjk
1e9adb22b0 Debugger: Fix editing of std::{string,vector} values
Change-Id: I3ff3f032af9ca54f2c48fe6e611fee73691e5ea2
Reviewed-by: Ulf Hermann <ulf.hermann@digia.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-21 17:04:55 +01:00
Fawzi Mohamed
7458a8235a ios: do not stop in debugger when debuggings an app
the attached process is seen as still running just after the attach
and continuing fails, immediately later a spontaneous stop is
detected and on ios (where we set continueAfterAttach) we
continue after the spontanous stop.
This also work in the desktop case.

Change-Id: I92fbcd3ba319da7d9e664f67c8cbbea00f0daa43
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-11-21 16:42:02 +01:00
J-P Nurmi
dc3e594dad WelcomeScreen: fix fuzzy fonts in the side bar
Use native text rendering to get crisp fonts

Change-Id: I75ca9ae323f2e4bd60e080cdcc2a6d90f0234c33
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-21 14:21:59 +01:00
Marco Bubke
1cfdacc0c3 QmlDesigner: Change version for Qml1Puppet to 2
Change-Id: I599598795fda265030c319f45329e1c67e6f5bfa
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
2013-11-20 14:56:41 +01:00
hjk
551b3ed368 Debugger: Disable theadname extraction (again)
This only affects MinGW where the feature triggered QTCREATORBUG-5200 in
the past. Right now the performance impact of c9c0f80 (fixing
QTCREATORBUG-10826) is unclear and no time to investigate. Trading the
feature for robustness seems in order. Power-users can remove the return
line in the script to get it back.

Change-Id: If5a30808b72969493e5f40dd0fcbafdcccec343e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2013-11-20 12:32:11 +01:00