* Remove unused member
* Inline function that is used only once
* Replace slots with lambdas
Change-Id: I6887b115463c9aac24d4c3dfe6a70357c9068973
Reviewed-by: André Hartmann <aha_1980@gmx.de>
This is essentially a widgets based re-implementation
of the current design. It is still using the QAIM based
interface layer between to the real data and display even
though this is not needed with this approach.
Removal of this layer would further reduce code size
and cycle counts.
For now:
old new
Load time 215ms 182ms
delete 22ms 2ms
Change-Id: I90d779a60a47a78399eaad0f1bc032d39f3ae3c0
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Right now, SSH applications will receive two termination signals
immediately after another. First SIGTERM then SIGKILL. With this commit
applications get a one second break in order to shutdown properly before
they are killed anyway.
Change-Id: Ie9e33943c40e50400bea7f2a31d132710d21acba
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Saves ~3% cycles in MimeTypeParserBase::parse() i.e. ~0.35% of total
startup time.
Change-Id: Ia69cacae359191bd6e55d38758db315d1992ffad
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Fix a wrong condition that causes closing brace in QML code to remain
highlighted when the code switchs between an invalid to a valid state.
Task-number: QTCREATORBUG-17499
Change-Id: I6b0df3a2b78993426a3d45c9e9af0a28b40104a3
Reviewed-by: David Schulz <david.schulz@qt.io>
qt 5.8 made QProcess::startDetached()'s behavior consistent with
start(), which means it won't open a console any more. however, qtc
relied on this (unspecified) behavior.
the correct solution is to add a static function startTerminalEmulator()
to ConsoleProcess, which already has most of the necessary code anyway.
Task-number: QTCREATORBUG-17439
Change-Id: Icf04666869ce6593555302a54c49331a29846a99
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Since QT_QUICK_CONTROLS_CONF is not supported for older Qt
version we manually parse the file and set QT_QUICK_CONTROLS_STYLE.
Change-Id: I2f1e4a857adaf80975726af69f136748a3f18930
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This patch implements a combobox that allows to set a
style for Qt Quick Controls 2 and changes the .conf file
accordingly.
Change-Id: Ief33404f3b9eaedc49fec3efefaf7d8d26288287
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
In certain cases FindFirstType can fail to find a type due to bugs
in lldb. The workaround consists in using FindTypes, and iterating
over the results to find the searched for type.
Change-Id: I1fee3f774d0cf02842f6b55419142af5e9780992
Reviewed-by: hjk <hjk@qt.io>
Lldb fails to find types if they are prefixed with enum.
Therefore don't prepend enum when looking up the type
for QFlags.
Change-Id: If2109f68677c1b9ec48a05d61cad2d6590f375dc
Reviewed-by: hjk <hjk@qt.io>
Use binary string from Qt's library loader class to refine ABI if that
is not complete yet. This is necessary to reliably find the compiler
used in static Qt builds on windows (using MSVC compilers). Before we
were able to rely on the mkspec to pick a working compiler, that does no
longer work with Qt 5.8.
Task-number: QTCREATORBUG-17534
Change-Id: I50c428cbaa986a26ba165cff499f9e0be3937ea2
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
* Adding ToolBarAction as a new type for pure toolbar action
* Adjusting handling of separators
* Do not show an empty menu. This allows grouping just for the toolbar.
Change-Id: I0ff59473ea5d3a798ec963ac0984f20e7e857c56
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Add C++ classes for value, type and field. Also provide
some macros that generate the C functions for the python
interface.
Change-Id: I717a7988a421bc3e3379e279eda551c349ee4175
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The editor is taking the complete states editor now.
This avoids certain issues with the scrollbar.
Change-Id: Idfa53a4751ccff10449001fd7a47acb4fc2f6fce
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
On Windows the combination drag&drop, proxy model and header section
resize mode ResizeToContents leads to a crash in Qt.
Task-number: QTCREATORBUG-17547
Change-Id: I3a763c22b83e43d1c1a222cefb4fbbc56b9082c4
Reviewed-by: David Schulz <david.schulz@qt.io>
By not silently failing when the vcvars.bat file is not found. Instead attempt
to run it and report the error message when it fails.
Change-Id: Ib97dbe17f8fb5529e549ef6c5d132a8571c10c33
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Make it clearer what can actually change when calling methods.
Change-Id: I801344cfc7b0a85918ef61e19a72eb31ba090736
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
There is no point to change the application output content most
probably it was enable to allow text selection using the keyboard.
This change is needed to enable output filters, which can't use the
existing content from the output windows because they might be already
filtered.
Change-Id: Ia272143a3a0b085544ee9cd550a4ad4800e3f4dd
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Vikas Pachdha <vikas.pachdha@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
... to warn about situations where Mime types are registered too
late (i.e. after Plugin::initialize() or used too early (i.e. before
Plugin::extensionsInitialized())
Change-Id: I22681e94bfdd508e954bb3457b834ec3ad1f0fee
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Introducing support for inheritance broke some old functionality
which in fact was just over engineered.
Remove additional code which will be automatically handled and does
not need to get handled by special logic which could be now wrong.
Change-Id: I05a063c41dc0f8f644d0807fc5497de9c4461246
Reviewed-by: David Schulz <david.schulz@qt.io>
Saves some iterations over the toolchains when opening
the QtOptionsPage.
Change-Id: I0d5d0fc7f501b201d6baacdbfc330c1287c4bc5c
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>