diff options
Diffstat (limited to 'src/plugins/texteditor')
3 files changed, 25 insertions, 102 deletions
diff --git a/src/plugins/texteditor/fontsettingspage.ui b/src/plugins/texteditor/fontsettingspage.ui index c1d82eee29..4e27fc00a6 100644 --- a/src/plugins/texteditor/fontsettingspage.ui +++ b/src/plugins/texteditor/fontsettingspage.ui @@ -170,20 +170,13 @@ </widget> </item> <item> - <widget class="QToolButton" name="deleteButton"> + <widget class="QPushButton" name="deleteButton"> <property name="enabled"> <bool>false</bool> </property> - <property name="toolTip"> - <string>Delete</string> - </property> <property name="text"> <string>Delete</string> </property> - <property name="icon"> - <iconset resource="../coreplugin/core.qrc"> - <normaloff>:/core/images/minus-16.png</normaloff>:/core/images/minus-16.png</iconset> - </property> </widget> </item> </layout> @@ -211,8 +204,6 @@ <container>1</container> </customwidget> </customwidgets> - <resources> - <include location="../coreplugin/core.qrc"/> - </resources> + <resources/> <connections/> </ui> diff --git a/src/plugins/texteditor/generichighlighter/highlightersettingspage.ui b/src/plugins/texteditor/generichighlighter/highlightersettingspage.ui index dd66fb004b..65f7d43f5e 100644 --- a/src/plugins/texteditor/generichighlighter/highlightersettingspage.ui +++ b/src/plugins/texteditor/generichighlighter/highlightersettingspage.ui @@ -41,22 +41,6 @@ </widget> </item> <item> - <spacer name="verticalSpacer_2"> - <property name="orientation"> - <enum>Qt::Vertical</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Fixed</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>20</width> - <height>5</height> - </size> - </property> - </spacer> - </item> - <item> <widget class="QGroupBox" name="definitionFilesGroupBox"> <property name="title"> <string>Syntax Highlight Definition Files</string> diff --git a/src/plugins/texteditor/snippets/snippetssettingspage.ui b/src/plugins/texteditor/snippets/snippetssettingspage.ui index b885093fd8..e95fa7afc7 100644 --- a/src/plugins/texteditor/snippets/snippetssettingspage.ui +++ b/src/plugins/texteditor/snippets/snippetssettingspage.ui @@ -6,8 +6,8 @@ <rect> <x>0</x> <y>0</y> - <width>618</width> - <height>413</height> + <width>684</width> + <height>554</height> </rect> </property> <property name="windowTitle"> @@ -42,7 +42,7 @@ </layout> </item> <item> - <layout class="QHBoxLayout" name="horizontalLayout_3"> + <layout class="QHBoxLayout" name="horizontalLayout_2"> <item> <layout class="QVBoxLayout" name="verticalLayout"> <item> @@ -65,73 +65,22 @@ </item> <item> <layout class="QVBoxLayout" name="verticalLayout_2"> - <property name="sizeConstraint"> - <enum>QLayout::SetMaximumSize</enum> - </property> <item> - <layout class="QHBoxLayout" name="horizontalLayout_2"> - <item> - <widget class="QToolButton" name="addButton"> - <property name="text"> - <string>Add</string> - </property> - <property name="icon"> - <iconset resource="../../coreplugin/core.qrc"> - <normaloff>:/core/images/plus-16.png</normaloff>:/core/images/plus-16.png</iconset> - </property> - </widget> - </item> - <item> - <widget class="QToolButton" name="removeButton"> - <property name="text"> - <string>Remove</string> - </property> - <property name="icon"> - <iconset resource="../../coreplugin/core.qrc"> - <normaloff>:/core/images/minus-16.png</normaloff>:/core/images/minus-16.png</iconset> - </property> - </widget> - </item> - <item> - <spacer name="horizontalSpacer_2"> - <property name="orientation"> - <enum>Qt::Horizontal</enum> - </property> - <property name="sizeType"> - <enum>QSizePolicy::Preferred</enum> - </property> - <property name="sizeHint" stdset="0"> - <size> - <width>60</width> - <height>20</height> - </size> - </property> - </spacer> - </item> - <item> - <widget class="QToolButton" name="resetAllButton"> - <property name="toolTip"> - <string>Reset</string> - </property> - <property name="text"> - <string>Reset All</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> + <widget class="QPushButton" name="addButton"> + <property name="text"> + <string>Add</string> + </property> + </widget> </item> <item> - <widget class="QPushButton" name="revertButton"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> + <widget class="QPushButton" name="removeButton"> + <property name="text"> + <string>Remove</string> </property> + </widget> + </item> + <item> + <widget class="QPushButton" name="revertButton"> <property name="text"> <string>Revert Built-in</string> </property> @@ -139,18 +88,19 @@ </item> <item> <widget class="QPushButton" name="restoreRemovedButton"> - <property name="sizePolicy"> - <sizepolicy hsizetype="Preferred" vsizetype="Fixed"> - <horstretch>0</horstretch> - <verstretch>0</verstretch> - </sizepolicy> - </property> <property name="text"> <string>Restore Removed Built-ins</string> </property> </widget> </item> <item> + <widget class="QPushButton" name="resetAllButton"> + <property name="text"> + <string>Reset All</string> + </property> + </widget> + </item> + <item> <spacer name="verticalSpacer"> <property name="orientation"> <enum>Qt::Vertical</enum> @@ -175,8 +125,6 @@ <tabstop>removeButton</tabstop> <tabstop>snippetsTable</tabstop> </tabstops> - <resources> - <include location="../../coreplugin/core.qrc"/> - </resources> + <resources/> <connections/> </ui> |