diff options
Diffstat (limited to 'src/plugins/texteditor/generichighlighter/highlightersettingspage.ui')
-rw-r--r-- | src/plugins/texteditor/generichighlighter/highlightersettingspage.ui | 88 |
1 files changed, 67 insertions, 21 deletions
diff --git a/src/plugins/texteditor/generichighlighter/highlightersettingspage.ui b/src/plugins/texteditor/generichighlighter/highlightersettingspage.ui index ee365fb118..812cdaf509 100644 --- a/src/plugins/texteditor/generichighlighter/highlightersettingspage.ui +++ b/src/plugins/texteditor/generichighlighter/highlightersettingspage.ui @@ -21,47 +21,87 @@ </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> - <widget class="QLabel" name="downloadNoteLabel"> + <layout class="QHBoxLayout" name="horizontalLayout_3"> + <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="locationLabel"> + <property name="text"> + <string>Location:</string> + </property> + </widget> + </item> + <item> + <widget class="Utils::PathChooser" name="definitionFilesPath" native="true"/> + </item> + </layout> + </item> + <item> + <widget class="QToolButton" name="resetButton"> + <property name="toolTip"> + <string>Reset to default</string> + </property> + <property name="text"> + <string>R</string> + </property> + <property name="icon"> + <iconset resource="../../coreplugin/core.qrc"> + <normaloff>:/core/images/reset.png</normaloff>:/core/images/reset.png</iconset> + </property> + </widget> + </item> + </layout> + </item> + <item> + <widget class="QLabel" name="definitionsInfolabel"> + <property name="sizePolicy"> + <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> + <horstretch>0</horstretch> + <verstretch>0</verstretch> + </sizepolicy> + </property> <property name="text"> <string><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"> <html><head><meta name="qrichtext" content="1" /><style type="text/css"> p, li { white-space: pre-wrap; } </style></head><body style=" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;"> -<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Definitions can be downloaded from the </span><a href="http://kate-editor.org/downloads/syntax_highlighting"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Kate Text Editor</span></a><span style=" font-size:8pt;"> website and stored at the location below.</span></p></body></html></string> +<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-size:8pt;">Highlight definitions are available from the </span><a href="http://kate-editor.org/downloads/syntax_highlighting?kateversion=3.2"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Kate Text Editor</span></a><span style=" font-size:8pt;"> website. Qt Creator can download a list of available definitions and then install the selected ones.</span></p></body></html></string> </property> <property name="textFormat"> <enum>Qt::RichText</enum> </property> - <property name="textInteractionFlags"> - <set>Qt::TextBrowserInteraction</set> + <property name="alignment"> + <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set> + </property> + <property name="wordWrap"> + <bool>true</bool> + </property> + <property name="openExternalLinks"> + <bool>true</bool> </property> </widget> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout"> + <layout class="QHBoxLayout" name="horizontalLayout_4"> <item> - <widget class="QLabel" name="locationLabel"> + <widget class="QPushButton" name="manageDefinitionsButton"> <property name="text"> - <string>Location:</string> + <string>Manage Definitions</string> </property> </widget> </item> <item> - <widget class="Utils::PathChooser" name="definitionFilesPath" native="true"/> - </item> - <item> - <widget class="QToolButton" name="resetButton"> - <property name="toolTip"> - <string>Reset to default</string> - </property> - <property name="text"> - <string>R</string> + <spacer name="horizontalSpacer"> + <property name="orientation"> + <enum>Qt::Horizontal</enum> </property> - <property name="icon"> - <iconset resource="../../coreplugin/core.qrc"> - <normaloff>:/core/images/reset.png</normaloff>:/core/images/reset.png</iconset> + <property name="sizeHint" stdset="0"> + <size> + <width>328</width> + <height>20</height> + </size> </property> - </widget> + </spacer> </item> </layout> </item> @@ -77,7 +117,7 @@ p, li { white-space: pre-wrap; } <item> <widget class="QCheckBox" name="alertWhenNoDefinition"> <property name="text"> - <string>Alert when a highlight definition is not found.</string> + <string>Alert when a highlight definition is not found</string> </property> </widget> </item> @@ -125,6 +165,12 @@ p, li { white-space: pre-wrap; } </slots> </customwidget> </customwidgets> + <tabstops> + <tabstop>resetButton</tabstop> + <tabstop>manageDefinitionsButton</tabstop> + <tabstop>alertWhenNoDefinition</tabstop> + <tabstop>ignoreEdit</tabstop> + </tabstops> <resources> <include location="../../coreplugin/core.qrc"/> </resources> |