- This seems to be faster, but difficult to measure, was only
1% of the starting time and tested with 100 starts
Change-Id: I0273dcd923a4c1e47510e64c0349acda93b0e286
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
- this speeds up the start of the QmlDesigner
Change-Id: I0fd5804f3aad799a93fd2c47edca8d1ca5c3c454
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
- it was 3 times for one update call
Change-Id: Ieed98fc42a2e28487164602549eb11b87f6f2b18
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
- in case of missing (image) file it generated a strange path
- warn about not existing file path while it reads it from
MetaInfoReader, to avoid too much not existing warnings
- add the default icon code to the image provider
Change-Id: I2ffa9b4f179b82fed73876d3ac006e40d37beae2
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
We want move constructor, move assignment, ==, and !=. Also, drop some
unreachable code.
Change-Id: I65f24d7ba0f146ad37ec4b7c438b47d4abc3d688
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
The number type used to transfer data from the internal to the external
list is an implementation detail, and qint64 will always work. Users
can optimize the casting by choosing the same type as the external list
uses to store the numbers, though.
Change-Id: I069c31b130960519e7d27ec79a456924f7777364
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
The UTF-8 data stored in the event is not necessarily null-terminated.
Change-Id: Id5d4f0b50f8c7c70aa6576121905072984f1c342
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
The qtc module gathers properties that used to live in the top-level
project file. This is the first step towards making it possible to build
plugins against an installed Qt Creator ("out of source build").
Change-Id: Ia1514cc9c888e80be01b308e908de48980fcbdb8
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
The idea is to have a way for tools to specify what kind of
control channel they would like to use to communicate with
a device without making the choice explicit dependent on
the exact kind of tool to further decouple device and tool
implementations.
The 'hint' values are there to help the device implementation
to decide on which channel to use exactly in case there are
multiple choices. In any case, the tool is responsible to
check that the returned channel is suitable for its operation.
Currently the only choice is "QmlControlChannel" yielding
a simple wrapper around the former IDevice::qmlProfilerHost()
return value.
Other enum values may potentially be {Tcp,LocalSocket}ControlChannel
(to specify a type of transport) AdbChannel (to specify some
generic helper mechanism). It might also turn out that something
more complex than an enum will be needed, e.g. to express
a set of values with priorities or such, but I'd rather
avoid overengineering for now.
Change-Id: Id386425eb3dd2bb395065f0bdb6f67217cd40a71
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
If the item did not have an id Qt Quick Designer crashed.
While we do ensure the item does get an id, we used the empty id
when refactoring later.
Now we use the generated id.
Change-Id: I71b9731270dc91537c17f6cb4fed3403d1001137
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
If a QML file is opened with the Plain Text Editor,
the design mode cannot work and is not properly activated.
With this patch we warn about this and go back to the edit mode.
Change-Id: I4dc9dd957cb8f704e59563a82d4dbf31cb8307e9
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
- This was accidentally removed by the patch which removed
the old pluginmanager
Change-Id: I990d05555bbfe519c72a1d34cffdfc00360d88c1
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@theqtcompany.com>
Not all untimely requests to run a command are harmful,
e.g. reloadModules() can be triggered by visibility
changes of the modules view at any time.
Change-Id: Ie803135ff7b954eef5800b3becdc6104a61b8cb2
Task-number: QTCREATORBUG-16393
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Preparation for introducing test frameworks.
Change-Id: Iefaa4ca9dd9af665444556afa9c6e326041cfd0f
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Setting "visible" of a widget (such as TextField) to false in a Field
Page hides the widget, but leaves it's label visible. Modified each
field to update it's label visibility when the widget is shown/hidden.
Change-Id: Idf20c624b6aad09a2be159e2fc697fcb24bd2bc5
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
When a function returns and is called again, without memory being
allocated or freed in between, we don't want to assign any memory
events from the second call to a memory range starting in the first
call.
Change-Id: I3d5cd10381f31ff73849a5a396ad6bda7661afec
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
If we overwrite the pixmap state, we cannot later check it for the
old value ...
Change-Id: Ic81b9c360457b2ae3b2e1d76aeccfc5309f0782a
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Don't reimplement locationFromTypeId, make methods public when they are
public in the base class, remove redundant QVariant ctors, inline
memoryTypeName() into the only place where it's used.
Change-Id: I5d780cf27c90a277c13b117c25c80ccce5a4182b
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
I doubt that anyone has ever used it.
Change-Id: Icf8c6513f5cdd10a9aa790e7373df9eba7c12ef2
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Call it the same way it's called everywhere else.
Change-Id: I5e61275c264c337307643c0874b7c764c4e18118
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
AutoTest* is too generic within the context where it is used.
This patch renames respective classes, members and string occurrences.
Change-Id: Ie413e4a344ddaf7892ecf248ba486defb4b9e3ef
Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
Default KitChooser behavior is to suppress kits with errors everywhere
but non-matching CMake generator settings are irrelevant for both non-CMake
using projects and analyzer/debugger tools.
Change-Id: Ie60f0f23b5c2423128304227fc573526b7ec2113
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>