Commit f06e813f authored by Jasem Mutlaq's avatar Jasem Mutlaq
Browse files

Streamline focus GUI in a grid

parent 18580ad8
......@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>615</width>
<width>632</width>
<height>385</height>
</rect>
</property>
......@@ -236,225 +236,154 @@ Otherwise, the autofocus process will utilize whatever filter currently set by t
<property name="title">
<string>Focuser</string>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
<number>3</number>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<property name="leftMargin">
<number>3</number>
<number>5</number>
</property>
<property name="topMargin">
<number>3</number>
<number>5</number>
</property>
<property name="rightMargin">
<number>3</number>
<number>5</number>
</property>
<property name="bottomMargin">
<number>3</number>
<number>5</number>
</property>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<property name="spacing">
<number>1</number>
<item row="0" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Focuser:</string>
</property>
<item>
<layout class="QGridLayout" name="gridLayout_3">
<property name="spacing">
<number>1</number>
</property>
<item row="0" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Focuser:</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="focuserCombo"/>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="focusInB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Focus In</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QPushButton" name="focusOutB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Focus Out</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_16">
<property name="text">
<string>Ticks:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="absTicksSpin">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="setAbsTicksB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Set</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QPushButton" name="captureB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Capture</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<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>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<property name="spacing">
<number>1</number>
<item row="0" column="1">
<widget class="QComboBox" name="focuserCombo"/>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="focusInB">
<property name="enabled">
<bool>false</bool>
</property>
<item>
<widget class="QLabel" name="label_15">
<property name="text">
<string>Mode:</string>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="manualModeR">
<property name="text">
<string>&amp;Manual</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item>
<widget class="QRadioButton" name="AutoModeR">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>A&amp;uto</string>
</property>
</widget>
</item>
<item>
<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>
</layout>
<property name="text">
<string>Focus In</string>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<property name="spacing">
<number>1</number>
<item row="0" column="3">
<widget class="QPushButton" name="focusOutB">
<property name="enabled">
<bool>false</bool>
</property>
<item>
<widget class="QPushButton" name="startFocusB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Start Focus</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="stopFocusB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Stop</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="startLoopB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Start Framing</string>
</property>
</widget>
</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>
</layout>
<property name="text">
<string>Focus Out</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_16">
<property name="text">
<string>Ticks:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="absTicksSpin">
<property name="enabled">
<bool>false</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QPushButton" name="setAbsTicksB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Set</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QPushButton" name="captureB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Capture</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_22">
<property name="text">
<string>Action:</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QPushButton" name="startFocusB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Start Focus</string>
</property>
</widget>
</item>
<item row="2" column="2">
<widget class="QPushButton" name="stopFocusB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Stop</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QPushButton" name="startLoopB">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>Start Framing</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Mode:</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QRadioButton" name="manualModeR">
<property name="text">
<string>&amp;Manual</string>
</property>
<property name="checked">
<bool>true</bool>
</property>
</widget>
</item>
<item row="3" column="2">
<widget class="QRadioButton" name="AutoModeR">
<property name="enabled">
<bool>false</bool>
</property>
<property name="text">
<string>A&amp;uto</string>
</property>
</widget>
</item>
</layout>
<zorder>focusInB</zorder>
<zorder>focusOutB</zorder>
<zorder>label_15</zorder>
<zorder>focusInB</zorder>
<zorder>focusOutB</zorder>
<zorder>captureB</zorder>
<zorder>horizontalSpacer_3</zorder>
<zorder>horizontalSpacer_4</zorder>
</widget>
</item>
</layout>
......@@ -893,19 +822,6 @@ Otherwise, the autofocus process will utilize whatever filter currently set by t
</item>
</layout>
</item>
<item>
<spacer name="horizontalSpacer_5">
<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>
......@@ -922,8 +838,6 @@ Otherwise, the autofocus process will utilize whatever filter currently set by t
</spacer>
</item>
</layout>
<zorder>groupBox_2</zorder>
<zorder>horizontalSpacer_5</zorder>
</widget>
<customwidgets>
<customwidget>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment