We evaluate properties for the root item in dummy context if
they contain "parent.".
Defining a parent in the dummy context was not working for QML 2,
because there seems to be a shortcut bypassing the metasystem for parent.
Task-number: QTCREATORBUG-15530
Change-Id: I710f1ef36b8c97cc481b9909a775f06d9e03f666
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
It is now deduced from either the type of the
QFutureInterface<ResultType> function argument, or the return type.
Change-Id: Iddab3cc329206c649a6e55a44b2de2d406701dee
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
The dummyContextObject is now set as the context object
Change-Id: I710f1ef36b8c97cc481b9109a775f06d9e03f6b6
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
itemNode property was changed to return the itemNode id, which is not enough for
custom QML Designer plugins to access model data.
Change-Id: I8111ba27ff4b32aca5c954b3739d15495a60ec58
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
Like qmake does. Otherwise, since the unique product names contain the
associated profile, inactive targets get run configurations for products
with the wrong id. These get removed and re-inserted on the next target
switch. The user-visible effect is a suffix "2" alternately appearing
and disappearing on switching kits.
Task-number: QTCREATORBUG-15372
Change-Id: Ib57859103786988d273733680a373a8283295a35
Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Select the text that was typed to trigger the snippet before
inserting the snippet data.
Change-Id: I15a6e08321d03b56dcfe0e62bb0e317b6f0529e4
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
We cannot assume that the model manager is still available when the
operation finishes. Also, accessing the QML model or the trace time
from the thread is dangerous.
Change-Id: I673c57c09490a0e3e2647f3197929eff1ce4ceb3
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
The extra selection tooltips are a good default for a hover match. We
use that in the basic plaintext editor to show, for example, syntax
errors in XML documents, detected during extra compiler runs.
Change-Id: Ib7f755c482ebc04148567105e4779324799fb670
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Paint it a bit bigger
* Center vertically in line
Change-Id: I5ba751e9b1e21591965bbf7a9ce020ee7b2b9c66
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
* Rename variables for readability
* Use const
Change-Id: I74d44a5075738b1aef28a97f647431848564544a
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
in places where we do not need it. Also removed metatypedeclarations.h
Change-Id: I406891ff9b87e88112ae6317c479f5fab83625c8
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
QtConcurrent runs everything on a global thread pool, which means that
calls of QtConcurrent::run/map/etc can block each other.
Change-Id: Ia7a61b5ae1e0919113205a83a43caa1f27015732
Reviewed-by: Ulf Hermann <ulf.hermann@theqtcompany.com>
* Remove unused includes
* Remove QObject qualification
* Use a raw pointer for widget instead of QPointer. It is owned by GitGrep.
Change-Id: I4e2c9878289ed3491bfd7b0565a683bc01e485f3
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
QVariant has unwanted dependencies so we provided our own simpler solution.
We want to support move only types and calling the copy constructor as you
move the value in and outside. This copying is adding unwanted overhead
too.
Change-Id: I2e27a7924868efe81e8b8ff3415499c9fa22c2bc
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
Git Grep is now implemented as an extension, instead of by inheritance.
Change-Id: Idec79ec167a3ca35d87deb2d0e16e134f093b67f
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
...at the end.
For cases where msvc parses/compiles fine but clang not, the issues pane was
not always shown in the end.
Task-number: QCE-62
Change-Id: Iab979b664e37dc7b35c2418566a7af74a4907829
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Output the list of available test functions.
Change-Id: I86578b9eeaa2f4cd5782de7ea2d90fae06e22542
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
The same problems we had on Windows (started() emitted before
QSignalSpy::wait() called) occur also on OS X.
Get rid of the QSignalSpys completely and watch out for the signal
emissions manually.
Change-Id: I092126c6605b046f250999b8ff04d11e685297c2
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Making the height animation work. Synchronizing height animation and
arrow rotation.
Removing the well meant fading, because gives the impression of a lag
rather than an intended animation.
Change-Id: I97924c715476df72ff903d38277730ca0e02e80d
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
It is instantiated in several locations. Move the find support to its ctor.
Change-Id: I77b05eff2889d0b8b801eef38d701ca4af3eefda
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
The finished signal might be triggered before the started.
Change-Id: Id23612553fdd19de2ddbee72b20b4e85448e1611
Reviewed-by: Niels Weber <niels.weber@theqtcompany.com>
* Logs the command in the Version Control pane
* Simplifies the client code
Change-Id: I398d57ab12ed6ba6bab1878934b929083f0bf6cb
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
Print the environment variables in the tool tip nicer.
Change-Id: I3d8d40f470dc552125901e237734b24d34b38608
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>