Used by tst_session_handling and tst_WELP02.
Change-Id: I28bdececac39719372834c373f82ac9e99beb613
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Kits are nowadays displayed if configured, but disabled
if they do not fit for the respective project.
Change-Id: If04a20afde2fc1ada643e45d5eea33e6ace7a4f1
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Some templates got an additional page for handling translations.
Change-Id: I420e4f1bd8be5a30056220abd73b3f9da44d5047
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
When interacting with the file dialog QC seems to lose its
focus and never gets it completely back.
This in turn makes lots of short cuts useless and (context)
menu entries disappear or being disabled.
Avoid this by explicitly closing the popup of the line edit
if there is one.
Change-Id: I79f86b3133d2d0780d73d75e15416d59f35dfa1e
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
The UI tour is no more offered as modal messagebox
but a small banner frame on the bottom.
Close this the same way we closed the messagebox to
avoid interfering tests.
Change-Id: I40ab675330aa8c40efe5bbd386d2d6bd051ccb4d
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
As more and more progress bars might be present for different
purposes and we are not able to easily distinguish them
we need to use a more reliable way to wait for the end of
parsing a project.
Add a respective function and use the new approach where
this appears to be appropriate or necessary.
Change-Id: I20e2b9b0efd4785f8f0b1ddbc8496be111628669
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Sometimes, progress bars "Scanning for Tests" show up,
making it unreliable to wait for progress bars only.
Change-Id: I4167d14a6d6cf4bb6ff14223f0be498c92913bd6
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Partially reverts e8727fcae2 for these lines.
Change-Id: I268b1ff337095bd08d3e92c8be57bc2b6e5de8d9
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Do no more use pixels as offset if we can handle this without.
Clicking on items by using an (x, y) offset will likely fail if
running on a machine with a different DPI setting.
Change-Id: I0e5a4985104bd1d68aadf8c5534583fa1b048edb
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Fixes error in tst_simple_debug on Windows.
Change-Id: Ibb122619539d386010c5015e2f8748aeb936baef
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
The locals and expressions display nowadays an additional
column which might be hidden.
Use the right 'Value' column to fetch the values.
Fixes: QTCREATORBUG-22617
Change-Id: I646b05eed607c5941f2713013221eb4c511d901b
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
On Windows, compilers of type "Clang" display a QComboBox instead of a QLabel
Change-Id: I68537259d8d5b38b288308675139c92395f6df62
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
We have not been using this for more than a year.
Instead, we seem to prefer having workaround code inline.
Change-Id: I37066f359eac5eda62c9c9acfcae3b89f980d024
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
As per suggestion from Pyls, this changes
if not needle in haystack:
to
if needle not in haystack:
Change-Id: I4a482604e13e61ecee9e02935479632419710ff7
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Robert Loehning <robert.loehning@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>