SubmitEditor: Add scrollbars when necessary

Task-number: QTCREATORBUG-5579
Change-Id: I013f08de15317b02eda3b64ea4ac2fe58e919db0
Reviewed-by: Robert Loehning <robert.loehning@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-03-04 12:30:26 +01:00
parent 7dd4093b18
commit 6b5bf41188

View File

@@ -6,87 +6,148 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>720</width> <width>507</width>
<height>485</height> <height>419</height>
</rect> </rect>
</property> </property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="windowTitle"> <property name="windowTitle">
<string>Subversion Submit</string> <string>Subversion Submit</string>
</property> </property>
<layout class="QVBoxLayout" name="vboxLayout"> <layout class="QVBoxLayout" name="verticalLayout_3">
<property name="spacing">
<number>0</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item> <item>
<widget class="Core::MiniSplitter" name="splitter"> <widget class="QScrollArea" name="scrollArea">
<property name="sizePolicy"> <property name="widgetResizable">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding"> <bool>true</bool>
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
<property name="orientation"> <widget class="QWidget" name="scrollAreaWidgetContents">
<enum>Qt::Horizontal</enum> <property name="geometry">
</property> <rect>
<widget class="QGroupBox" name="descriptionBox"> <x>0</x>
<property name="title"> <y>0</y>
<string>Descriptio&amp;n</string> <width>505</width>
<height>417</height>
</rect>
</property> </property>
<property name="flat"> <property name="minimumSize">
<bool>true</bool> <size>
<width>400</width>
<height>400</height>
</size>
</property> </property>
<layout class="QVBoxLayout" name="descriptionLayout"> <layout class="QVBoxLayout" name="vboxLayout">
<property name="spacing">
<number>6</number>
</property>
<property name="leftMargin">
<number>9</number>
</property>
<property name="topMargin">
<number>9</number>
</property>
<property name="rightMargin">
<number>9</number>
</property>
<property name="bottomMargin">
<number>9</number>
</property>
<item> <item>
<widget class="Utils::CompletingTextEdit" name="description"> <widget class="Core::MiniSplitter" name="splitter">
<property name="acceptRichText"> <property name="sizePolicy">
<bool>false</bool> <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property> </property>
</widget> <property name="orientation">
</item> <enum>Qt::Horizontal</enum>
</layout>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>F&amp;iles</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="checkAllCheckBox">
<property name="text">
<string>Select a&amp;ll</string>
</property>
<property name="tristate">
<bool>false</bool>
</property> </property>
<widget class="QGroupBox" name="descriptionBox">
<property name="title">
<string>Descriptio&amp;n</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="descriptionLayout">
<item>
<widget class="Utils::CompletingTextEdit" name="description">
<property name="acceptRichText">
<bool>false</bool>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>F&amp;iles</string>
</property>
<property name="flat">
<bool>true</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<widget class="QCheckBox" name="checkAllCheckBox">
<property name="text">
<string>Select a&amp;ll</string>
</property>
<property name="tristate">
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QTreeView" name="fileView"/>
</item>
</layout>
</widget>
</widget> </widget>
</item> </item>
<item> <item>
<widget class="QTreeView" name="fileView"/> <layout class="QHBoxLayout" name="buttonLayout">
<property name="leftMargin">
<number>0</number>
</property>
<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> </item>
</layout> </layout>
</widget> </widget>
</widget> </widget>
</item> </item>
<item>
<layout class="QHBoxLayout" name="buttonLayout">
<property name="leftMargin">
<number>0</number>
</property>
<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> </layout>
</widget> </widget>
<customwidgets> <customwidgets>