diff options
author | Leandro Melo <leandro.melo@nokia.com> | 2010-08-06 13:10:21 +0200 |
---|---|---|
committer | Leandro Melo <leandro.melo@nokia.com> | 2010-08-06 13:19:19 +0200 |
commit | 9704844e47c3342a8b72ca90e097d05cfe7f52bb (patch) | |
tree | d939a268ce66d9afb88ef8f798b964daaf19bd40 /src/plugins/texteditor/generichighlighter/highlightersettingspage.ui | |
parent | 470a54992f76ae8d9e827c38b7fb9996e75f61a0 (diff) |
Generic highlighter: Changes in settings. Now there's a fallbacklocation.
Task-number: QTCREATORBUG-1886
Diffstat (limited to 'src/plugins/texteditor/generichighlighter/highlightersettingspage.ui')
-rw-r--r-- | src/plugins/texteditor/generichighlighter/highlightersettingspage.ui | 103 |
1 files changed, 39 insertions, 64 deletions
diff --git a/src/plugins/texteditor/generichighlighter/highlightersettingspage.ui b/src/plugins/texteditor/generichighlighter/highlightersettingspage.ui index 5b9dcbe0fe..26cfad4a9f 100644 --- a/src/plugins/texteditor/generichighlighter/highlightersettingspage.ui +++ b/src/plugins/texteditor/generichighlighter/highlightersettingspage.ui @@ -13,13 +13,42 @@ <property name="windowTitle"> <string>Form</string> </property> - <layout class="QVBoxLayout" name="verticalLayout_3"> + <layout class="QVBoxLayout" name="verticalLayout_4"> + <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;">Highlight definitions are provided by the </span><a href="http://kate-editor.org/"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Kate Text Editor</span></a><span style=" font-size:8pt;">.</span></p></body></html></string> + </property> + <property name="textFormat"> + <enum>Qt::RichText</enum> + </property> + <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> <widget class="QGroupBox" name="definitionFilesGroupBox"> <property name="title"> <string>Syntax Highlight Definition Files</string> </property> - <layout class="QVBoxLayout" name="verticalLayout"> + <layout class="QVBoxLayout" name="verticalLayout_3"> <item> <layout class="QHBoxLayout" name="horizontalLayout_3"> <item> @@ -36,72 +65,22 @@ </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;">Highlight definitions are provided by the </span><a href="http://kate-editor.org/"><span style=" font-size:8pt; text-decoration: underline; color:#0000ff;">Kate Text Editor</span></a><span style=" font-size:8pt;">. 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> + <layout class="QVBoxLayout" name="verticalLayout"> + <property name="spacing"> + <number>0</number> </property> - <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_4"> <item> - <widget class="QPushButton" name="manageDefinitionsButton"> + <widget class="QCheckBox" name="useFallbackLocation"> <property name="text"> - <string>Manage Definitions</string> + <string>Use fallback location</string> </property> </widget> </item> <item> - <spacer name="horizontalSpacer"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>328</width> - <height>20</height> - </size> - </property> - </spacer> + <widget class="Utils::PathChooser" name="fallbackDefinitionFilesPath" native="true"/> </item> </layout> </item> @@ -146,7 +125,7 @@ p, li { white-space: pre-wrap; } <property name="sizeHint" stdset="0"> <size> <width>20</width> - <height>146</height> + <height>117</height> </size> </property> </spacer> @@ -166,13 +145,9 @@ p, li { white-space: pre-wrap; } </customwidget> </customwidgets> <tabstops> - <tabstop>resetButton</tabstop> - <tabstop>manageDefinitionsButton</tabstop> <tabstop>alertWhenNoDefinition</tabstop> <tabstop>ignoreEdit</tabstop> </tabstops> - <resources> - <include location="../../coreplugin/core.qrc"/> - </resources> + <resources/> <connections/> </ui> |