Skip to content
Snippets Groups Projects
Commit 811a8530 authored by Michael Reuter's avatar Michael Reuter
Browse files

Refs #4112. Reducing vertical layout of widgets.

parent 89987ea6
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>328</width>
<height>135</height>
<width>358</width>
<height>40</height>
</rect>
</property>
<property name="sizePolicy">
......@@ -19,135 +19,78 @@
<property name="minimumSize">
<size>
<width>0</width>
<height>100</height>
<height>40</height>
</size>
</property>
<property name="windowTitle">
<string>ModeControlWidget</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>2</number>
</property>
<property name="leftMargin">
<number>1</number>
</property>
<property name="topMargin">
<number>0</number>
</property>
<property name="rightMargin">
<number>1</number>
</property>
<property name="bottomMargin">
<number>0</number>
</property>
<item>
<widget class="QGroupBox" name="modeControlBox">
<property name="styleSheet">
<string notr="true">QGroupBox {
border: 2px groove black ;
border-radius: 5px;
margin-top: 1ex;
}
QGroupBox::title {
subcontrol-origin: margin;
subcontrol-position: top center;
padding: 0 3px;
}</string>
<widget class="QPushButton" name="standardButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Standard Mode</string>
</property>
<property name="text">
<string>Standard</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="multiSliceButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>MultiSlice Mode</string>
</property>
<property name="text">
<string>MultiSlice</string>
</property>
<property name="title">
<string>View Mode</string>
</widget>
</item>
<item>
<widget class="QPushButton" name="threeSliceButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="whatsThis">
<string>Three Slice Mode</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTop|Qt::AlignTrailing</set>
<property name="text">
<string>ThreeSlice</string>
</property>
<property name="flat">
</widget>
</item>
<item>
<widget class="QPushButton" name="splatterPlotButton">
<property name="enabled">
<bool>false</bool>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<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>
<item row="0" column="1">
<widget class="QPushButton" name="standardButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Standard</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="multiSliceButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>MultiSlice</string>
</property>
</widget>
</item>
<item row="0" column="3">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="1">
<widget class="QPushButton" name="splatterPlotButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Splatter</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="threeSliceButton">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>ThreeSlice</string>
</property>
</widget>
</item>
<item row="1" column="3">
<spacer name="horizontalSpacer_4">
<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>
<property name="toolTip">
<string>Scatter Plot Mode</string>
</property>
<property name="text">
<string>Splatter</string>
</property>
</widget>
</item>
</layout>
......
......@@ -47,6 +47,19 @@
<item>
<widget class="Mantid::Vates::SimpleGui::TimeControlWidget" name="timeControlWidget" native="true"/>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="Mantid::Vates::SimpleGui::ModeControlWidget" name="modeControlWidget" native="true"/>
</item>
......
......@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>465</width>
<height>337</height>
<width>291</width>
<height>16</height>
</rect>
</property>
<property name="sizePolicy">
......@@ -22,20 +22,41 @@
<property name="styleSheet">
<string notr="true">TimeControlWidget { border: 2px groove black; }</string>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="pqAnimationTimeToolbar" name="animWidget" native="true"/>
</item>
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<property name="spacing">
<number>1</number>
</property>
<property name="leftMargin">
<number>0</number>
</property>
<property name="topMargin">
<number>1</number>
</property>
<property name="rightMargin">
<number>0</number>
</property>
<property name="bottomMargin">
<number>1</number>
</property>
<item>
<widget class="pqVCRToolbar" name="vcrWidget" native="true">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>280</width>
<width>220</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="pqAnimationTimeToolbar" name="animWidget" native="true"/>
</item>
</layout>
</widget>
<customwidgets>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment