removes warning due to QMetaType::Float->QVariant::Type conversion.
Task-number: QTCREATORBUG-12237
Change-Id: I428d4f285005da3befe55626c1f04a3beaa8ac33
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
If someone is customizing parts of the property editor then it is
useful to see any warnings from their QML components.
Debugging QML components should not require to rebuild Qt Creator.
The debug enum was not used anywhere else.
Change-Id: I623234312238906d4c4c90e87a5f2bc488f6fc57
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Reviewed-by: Tim Jenssen <tim.jenssen@digia.com>
Show a actual tree in the combobox.
Task-number: QTCREATORBUG-12002
Change-Id: I22b62f444923193972109a096bc6eef26a31bf9f
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Multiple expressions can be separated by semicolon,
and arrays allow index ranges given as [a..b] or
with strides [a.(s).b].
Change-Id: I0b7b4ee500a5f6f5027d777b0a1e8ee5a28a7cd5
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Move item model implementation to private, adjust user code.
Change-Id: Ifbe94e7c7b9b1e8be1b4c531958dbd7a9413af13
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Some files were missing, which did not manifest itself with qbs 1.2
due to files being accidentally picked up from other locations.
Change-Id: I9ed91246483f4f53bc21a79a9e2029fedb8a702d
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Removes the conditional compilation of the text browser vs web kit,
cleans up the code, and enables us to provide and test other backends
(WebEngine? Native?)
Adds runtime switch for testing the text browser variant by setting
environment variable QTC_FORCE_TEXTBROWSER (for now)
Change-Id: I8cc9bb373438d37c8194e433224314caa0b617bd
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This adds a general asynchronous warning to the QmlDesigner.
Change-Id: Idf7989c52108f454191650fbb971261e1119ca09
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
The ColorButton did change the color as a side effects of rounding error.
With this patch the ColorButton does onyly change the color as a result
of user interaction.
Task-number: QTCREATORBUG-12202
Change-Id: I6504713a27fe7b562b8342229bd287af23156602
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
I hope this will fix the build on the Mac buildbot.
Change-Id: I47169f7baee96b64980d42dea9b540b4fe9e1cbc
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
The old property editor did support tooltips and many labels
have properly defiend tooltips.
In QtQuick.Controls we have to use private API for tooltips
to show up.
Change-Id: If1c50b58e8388b8846c2dd07fcd326f09d67d127
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
We need to set the text to the value, so that the user can see which
value is explicitly set.
Task-number: QTCREATORBUG-12195
Change-Id: I0b405839122f3b008790df3e3c2b0b7728299b7a
Reviewed-by: Marco Bubke <marco.bubke@digia.com>
Since no one is using it and it's faster this way.
Change-Id: Ib60d3a54aed98011b2fb4bb7d159e219abebfa7e
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Instead, assume UTF-8, which is very likely to be correct for a remote
Linux system.
Change-Id: I2976e2d79bf10d4db23f60f2c6c9fddffa58a9b7
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: hjk <hjk121@nokiamail.com>
Fix proposed by Alex Sokolov.
Task-number: QTCREATORBUG-12161
Change-Id: I1a7d4e9579dbb518970ea7bdb76a740e8e5d870d
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Uniform handling of the different qml dialects.
Now paths for a given document prefer the project of that document.
For Qt the following sequence is used:
- Qt of the project of the document
- Qt of the active target
- Qt used to run creator
Currently all paths of the open projects are still merged, but that
can be changed.
Change-Id: Id302c13c893b66fbfe24e301602fe69de152eed4
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
I also fixed the maximum size.
Task-number: QTCREATORBUG-12209
Change-Id: I8a7be267525f8ffd54cb79aecead26edd76c101d
Reviewed-by: Christian Stenger <christian.stenger@digia.com>
We can use QStringLiteral here, since Qt Quick Designer is not
built with Qt4.
Change-Id: I776a1453905d90dc68e821c4898acfd3ad574dcd
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>