Only allow a very limited number of imports for QML lite designer.
Change-Id: I4f96252fe66be53aa5da26ef9d6cb4509e6ec6d9
Reviewed-by: Henning Gründl <henning.gruendl@qt.io>
The message result type was checked, but the promise
was still finished without an error.
Change-Id: Ib5ba5f48202073a82bfbcb871e0d5a5277ea9f2a
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
On some platforms/configurations the popup for switching documents does
not close when releasing the modifier key. Add some debug output to try
to find out what happens.
Task-number: QTCREATORBUG-27378
Task-number: QTCREATORBUG-31228
Change-Id: Ia882ce6be1bd235601f9c869b79fb8c15ab72a3a
Reviewed-by: David Schulz <david.schulz@qt.io>
This change remove the AndroidQmlPreviewWorker which was only used in
QDS and is now (QtC 15 development cycle) obsolete in that context.
Fixes: QTCREATORBUG-31221
Change-Id: I2e361c8245f70178fb0f0e3e1c0a9499d783856d
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
As a drive-by, lower some timeouts from 2s into 1s.
Change-Id: I495ad20058b0f97b6cdd5271a390b779c66b4864
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
These can be more descriptive than the index integer.
Change-Id: I0d992fdcfa13258c62f66056d61d9a4659272563
Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io>
They do not work with CMake projects
Fixes: QTCREATORBUG-28467
Change-Id: Ic656c28d0e6bdde976bf7ffd75796b51c1aba06a
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Explicitly add the options button to make sure that is at the correct
position, and do not use multiple conflicting methods to specify tab
order. This adds the various buttons back into the tab order.
Fixes: QTCREATORBUG-30791
Change-Id: I5d1fbcd213b57bf4d7af98ba5d21b09e408e84b7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Improve code readability by requiring iteratable Group
to be named For.
The For's c'tor requires an iterator element as a first arg.
The For's c'tor allows for passing exactly one iterator element.
It's not possible to place iterators inside Group element anymore.
Change-Id: I9dfe2c0da058abac161f66c4e336da2417c383f1
Reviewed-by: hjk <hjk@qt.io>
... and use it for edit mode.
There's currently no real effect as the mode bar population in
ModeManagerPrivate::extensionsInitializedHelper() accesses all
IMode::widget() and triggers the creation, but in principle we
could pass the functor instead of the widget down to and store in
FancyTabWidget and only use it when a mode gets activated.
Change-Id: I4c4a276bc025abce1ff47c68b060c67b5c8e5170
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
As in all the other wait() functions.
This makes sure we never hang indefinitely in tests.
Change-Id: I119cc0d6d6146f193ffde37207a94f61b3c70d87
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
We can polish it later. But so far the architecture works and the
problematics cases of missing types is handled.
Task-number: QDS-12761
Change-Id: Ifb55a5772fddfa7719a4d690b24b0539679f79ec
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
References into vectors are instable because the vector can be
reallocated. std::list \provides stable references to entries. In the
future std::inline_vector is maybe a better option.
Change-Id: I76ac3005259ef9d09f3b8c226dbfd48433aa48b9
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* Adapt top toolbar by removing lock button and workspace combo box both
in toolbar and flyout
* Add lite mode bool to dockamanager in order to lock workspace by
default and skip config parameter
* Add new flag to ADS to block context menu on DockWidgetTab
* Hide workspace menu in view menu
* Deactivate middle mouse button and close button on DockWidgetTab
Task-number: QDS-13169
Change-Id: I3158c9d7eaef1a58520dc466e85a859e074d1c9e
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
... when enabling/disabling an environment variable via the buttons.
This was forgotten in 8ef85e481a.
Fixes: QTCREATORBUG-31222
Change-Id: I02f2840cd0dadc628120275585245f8d1c23cec8
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
A step towards having delayed mode widget construction.
Change-Id: I1d400e058d17aaebfc784000d8b2705debea6a51
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This is now inline with the context menu of the open documents view in
the open documents view in the side bar.
Change-Id: I026f94e0296d0704382bb49790226608503ef94f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Calling "stop" often times takes a while or outright fails to stop
some containers. "kill" is more reliable.
Change-Id: I46a33c8f4e38aa9a71b1f64d74042433f7a90ccc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Add the View > Modes menu as a context menu to the mode selector in the
emtpy areas. Add a context menu with "Hide" and the mode style to the
modes that don't have a menu, and extend existing mode menus (Debug
mode) with these items too.
Change-Id: I28106d9b6c4f0d69b2d06c4ec9664eb67e2b1216
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: hjk <hjk@qt.io>
It was necessary to override the existing completion action, because
that would always work on the current editor in the editor manager
instead of on the text editor in Design mode.
(Though instead of changing the context for the TextEditorView, the code
could just have registered a context for the text editor widget itself
for that purpose.)
Since 411100b037 the text editor widgets
have their own individual contexts and actions, without the detour via
the editor manager, so this workaround is no longer needed.
Change-Id: I7e2b18dd7b953a56b5f2c99152d2eeabdb76f726
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Other build systems like qmake / qbs do not do this.
Change-Id: I615ea3556c694e7a18426558c5bf6f3ea142068d
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
As per UI design spec, this change inserts two widgets between the
search field and the extensions list. One for filtering, one for
sorting.
The widgets are derived from QComboBox, with custom paintEvent. The
selected filter/sort options are applied to the custom
SortFilterProxyModel which is inserted between the "search" proxy model
and the view.
Fixes: QTCREATORBUG-31179
Change-Id: Ia7768fa4f31b5bf5682918e724a3a299e851eb46
Reviewed-by: hjk <hjk@qt.io>