diff options
author | David Schulz <david.schulz@qt.io> | 2019-11-04 10:03:27 +0100 |
---|---|---|
committer | David Schulz <david.schulz@qt.io> | 2019-11-04 13:23:58 +0000 |
commit | 5ece12d4ea9291f1063b9c7ec71fb9764537cfdb (patch) | |
tree | e4a021e02dd1cd239aaabe54c7d41d0d18bc2734 /src/plugins/texteditor/highlightersettingspage.ui | |
parent | 9a567a48dd0ddc555ca1f614b0b1c87f54b37029 (diff) | |
download | qt-creator-5ece12d4ea9291f1063b9c7ec71fb9764537cfdb.tar.gz |
Highlighter: clarify 'Update Definitions' action
by renaming it to Download Definitions and adding a tooltip stating that it
collects all definitions that are missing or were updated after the release and
downloads it to the ksyntax highlighting user folder.
Also adding a separate reload definitions button in the settings behind
the user path.
Change-Id: I059cc98e33147cae910fa4fdb35631d1dca81448
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/texteditor/highlightersettingspage.ui')
-rw-r--r-- | src/plugins/texteditor/highlightersettingspage.ui | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/plugins/texteditor/highlightersettingspage.ui b/src/plugins/texteditor/highlightersettingspage.ui index 7b1e6c9e0d..5bd32a8a87 100644 --- a/src/plugins/texteditor/highlightersettingspage.ui +++ b/src/plugins/texteditor/highlightersettingspage.ui @@ -64,9 +64,12 @@ <item> <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> - <widget class="QPushButton" name="updateDefinitions"> + <widget class="QPushButton" name="downloadDefinitions"> + <property name="toolTip"> + <string>Download missing and update existing syntax definition files.</string> + </property> <property name="text"> - <string>Update Definitions</string> + <string>Download Definitions</string> </property> </widget> </item> @@ -108,6 +111,16 @@ </item> </layout> </item> + <item> + <widget class="QPushButton" name="reloadDefinitions"> + <property name="toolTip"> + <string>Reload externally modified definition files.</string> + </property> + <property name="text"> + <string>Reload Definitions</string> + </property> + </widget> + </item> </layout> </item> <item> |