diff options
author | Christian Stenger <christian.stenger@qt.io> | 2018-08-08 12:40:03 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2018-09-21 06:52:39 +0000 |
commit | bab836c00963bce5c5b995c7f8d746ed606e9ef6 (patch) | |
tree | 909b64accdc361d8c6954ec97eb11c257de6d060 /src/plugins/autotest/testsettingspage.ui | |
parent | 8d814facf7e8bb03b26424f4899c2a6c5db19fe8 (diff) |
AutoTest: Provide way to remember last chosen run configurations
In some special setups it is almost impossible to get the right
executable or run configuration. For bigger projects this can
become a pain point when trying to execute tests and always
getting asked which one to run.
So, allow remembering the choice and use it if appropriate.
The cached information is not stored permanently.
Resetting of the cached information can also be triggered by
switching or closing the current project and inside the settings.
Task-number: QTCREATORBUG-20859
Change-Id: If416ea0ae9ad3548daca2ffcf5888fd568fd2622
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/autotest/testsettingspage.ui')
-rw-r--r-- | src/plugins/autotest/testsettingspage.ui | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/src/plugins/autotest/testsettingspage.ui b/src/plugins/autotest/testsettingspage.ui index 1ad42a63506..ec79213140c 100644 --- a/src/plugins/autotest/testsettingspage.ui +++ b/src/plugins/autotest/testsettingspage.ui @@ -7,7 +7,7 @@ <x>0</x> <y>0</y> <width>585</width> - <height>373</height> + <height>431</height> </rect> </property> <property name="windowTitle"> @@ -148,6 +148,33 @@ Warning: this is an experimental feature and might lead to failing to execute th </item> </layout> </item> + <item> + <layout class="QHBoxLayout" name="horizontalLayout_6"> + <item> + <widget class="QPushButton" name="resetChoicesButton"> + <property name="toolTip"> + <string>Clear all cached choices of run configurations for tests where the executable could not be deduced.</string> + </property> + <property name="text"> + <string>Reset Cached Choices</string> + </property> + </widget> + </item> + <item> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> + </property> + <property name="sizeHint" stdset="0"> + <size> + <width>40</width> + <height>20</height> + </size> + </property> + </spacer> + </item> + </layout> + </item> </layout> </widget> </item> |