Preferences: Fix shown widget when filtering

* choose an enabled tab if current tab gets disabled (for some reason
that is not automatically done by QTabWidget
* don't show any widget if the filter string is not matched by anything

Task-number: QTCREATORBUG-8318
Change-Id: I0066c2b3aeb9cc0cdacaa0a88f9adbc70c20cfa7
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
CppEditor: Refactor tests

* Use more data functions
* Better use of QEXPECT_FAIL
* Less noise when adding a test

Change-Id: I0ebc4eaf2bf9f2bcff3be25bbe6c14e3087f8c56
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
CppEditor: Clean up virtual overrides tests

Change-Id: If1214142a6ea3fe21bfac5f21f0781284aec922e
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
CppEditor: Make virtual overrides data-driven

Change-Id: I07dcb0fecd6d3927d49ff100228da88eb4601f8b
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
QNX: Fix password length warning in environment setup wizard

Task-number: QTCREATORBUG-10760

Change-Id: I5377246968c892bd1232ae7c80d4d84585a66267
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
CppEditor: Whitespace fix in test

Change-Id: Ia34c661364acda585c286bc1ef756b3554630657
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
CppEditor: Add a failing test for virtual overrides

When function has a different return type

Change-Id: I1178e7e2c6b7e074a3737aaef597ebeff8d776dc
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
Doc: debugger settings were moved to the Debuggers tab.

You just select from a list of debuggers in the Kits tab, now.

Change-Id: Ifd82947b61641a4c15ba60bc49bf8db8e07d4b83
Reviewed-by: hjk <hjk121@nokiamail.com>
Don't show checkbox for Creator if root on Linux and Mac.

Task-number: QTCREATORBUG-9491

Change-Id: Iae5025a311b72596a038424baa4cfb60149b1cdd
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
QmlProfiler: Don't try to paint things in pixmap of negative size.

In certain conditions the area covered by the canvas can have a negative
size. This patch handles that case gracefully.

Change-Id: I952edfa5bd0f8b42ce69356106f2e0f326dceeb7
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Debugger: Re-enable thread view sorting

This was disabled as workaround for QTCREATORBUG-7432 but can
be supported again after fefbc172f.

Task-number: QTCREATORBUG-7432
Change-Id: Ic85f6f91c0f6f04dc76f66984cb5773b0753ad26
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Doc: using debugging helpers is now the default option

Disabling the option is described in the Debugging Helpers
topic.

Change-Id: Idead0835f0064477338a7b8a74bbbec143abf389
Reviewed-by: hjk <hjk121@nokiamail.com>
WelcomePage: Fix scrolling logic

We only need one scrollable element in the WelcomePage. By passing
the height properties of inner elements to the outermost one we can
avoid multiple vertical scrollbars next to each other. Since this
removes the QScrollArea around the welcome page it fixes
QTCREATORBUG-10796

Task-number: QTCREATORBUG-10796

Change-Id: I08b0409e21f16be6c3e0e5a58f2665320d0a14fe
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
Doc: remove obsolete information about debugging helpers

The option has been removed from the UI.

Change-Id: I6b8c0b60d0172bf5aedfc712ee9fb9e51afcadda
Reviewed-by: hjk <hjk121@nokiamail.com>
CppEditor: Compile fix for Qt4

Change-Id: If4a680bdd00c566661232ffb63b1573d8826a493
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Qbs: Mark the plain C and plain C++ project as console applications

Mark the qbs flavors of the plain C and the plain C++ project as
console applications.

Task-number: QTCREATORBUG-10815
Change-Id: Ic143ffe4026a97d0d27e0a85e62724b26e0ea5ce
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Device support: Fix device application runner for the "early exit" case.

If the state is Inactive when calling setFinished(), the finished()
signal will not be emitted and the run control will never finish.

Change-Id: I0c29138c31205cf43472d42821fd1a6af93cc1ac
Reviewed-by: hjk <hjk121@nokiamail.com>
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
QmlProfiler: Use anchors to determine the size of the timebar background

For some reason, when the timeline width is 0, the background width can
get negative, if using bindings; it works fine when using anchors.

Change-Id: I5eb76f83b9c41c1a71a135082770079cedc7f16c
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Remove mobility and harmattan leftovers from qtquick app .pro

Change-Id: Id999a376c037c831f0bb8850253c74d16d5c385d
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
CppTools: Fix race condition when closing files

If parse() is called in another thread the CppToolsEditorSupport might be
already destructed.

Task-number: QTCREATORBUG-10548

Change-Id: Ie4215937eb1847b51bce8b080aca4925c0bee39f
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>