Skip to content
Snippets Groups Projects
Commit ec1a03d5 authored by Conor Finn's avatar Conor Finn
Browse files

RE #27188 Add cropping widget to focus tab

parent 37dce6d3
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,7 @@
<x>0</x>
<y>0</y>
<width>617</width>
<height>153</height>
<height>197</height>
</rect>
</property>
<property name="sizePolicy">
......@@ -73,37 +73,36 @@ QGroupBox:title {
</property>
<layout class="QGridLayout" name="gridLayout_2">
<item row="1" column="0">
<layout class="QGridLayout" name="gridLayout" rowstretch="0,0,0,0,0" columnstretch="0,0,0">
<layout class="QGridLayout" name="gridLayout" rowstretch="0,0,0,0,0,0,0,0" columnstretch="0,0,0">
<property name="sizeConstraint">
<enum>QLayout::SetDefaultConstraint</enum>
</property>
<property name="verticalSpacing">
<number>6</number>
</property>
<item row="4" column="2">
<widget class="QPushButton" name="button_focus">
<property name="enabled">
<bool>true</bool>
<item row="2" column="0" colspan="3">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="text">
<string>Focus</string>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
</widget>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
<item row="4" column="0" colspan="2">
<widget class="QCheckBox" name="check_plotOutput">
<item row="7" column="2">
<widget class="QPushButton" name="button_focus">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Plot Focused Workspace</string>
</property>
</widget>
</item>
<item row="3" column="0" colspan="3">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
<string>Focus</string>
</property>
</widget>
</item>
......@@ -123,29 +122,6 @@ QGroupBox:title {
</property>
</widget>
</item>
<item row="2" column="0" colspan="3">
<spacer name="verticalSpacer">
<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>10</height>
</size>
</property>
</spacer>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_banks">
<property name="text">
<string>Select Banks:</string>
</property>
</widget>
</item>
<item row="1" column="1" colspan="2">
<layout class="QHBoxLayout" name="layout_banks">
<item>
......@@ -176,6 +152,66 @@ QGroupBox:title {
</item>
</layout>
</item>
<item row="3" column="0" colspan="3">
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="7" column="0" colspan="2">
<widget class="QCheckBox" name="check_plotOutput">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
<string>Plot Focused Workspace</string>
</property>
</widget>
</item>
<item row="6" column="0" colspan="3">
<widget class="Line" name="line_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_banks">
<property name="text">
<string>Select Banks:</string>
</property>
</widget>
</item>
<item row="5" column="0" colspan="3">
<widget class="CroppingView" name="widget_cropping" native="true">
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
</size>
</property>
</widget>
</item>
<item row="4" column="0" colspan="3">
<widget class="QCheckBox" name="check_cropFocus">
<property name="text">
<string>Crop Focus</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
......@@ -205,6 +241,12 @@ QGroupBox:title {
<header>mantidqt.widgets.filefinder</header>
<container>1</container>
</customwidget>
<customwidget>
<class>CroppingView</class>
<extends>QWidget</extends>
<header>Engineering.gui.engineering_diffraction.tabs.common.cropping.cropping_view</header>
<container>1</container>
</customwidget>
</customwidgets>
<tabstops>
<tabstop>check_plotOutput</tabstop>
......
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