summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-30 20:36:57 (GMT)
committerJasem Mutlaq <mutlaqja@ikarustech.com>2016-09-30 20:36:57 (GMT)
commita8a8b94e76b0bdaa786ee4e87dbf382d378f754b (patch)
tree8202857c14500f757a564b4099176c40f93172de
parentc67acebdad5cdca7317249872659505d6ef7957b (diff)
Minor GUI update to utilize space. Refactor sync
-rw-r--r--kstars/ekos/capture/capture.cpp4
-rw-r--r--kstars/ekos/capture/capture.ui1503
2 files changed, 727 insertions, 780 deletions
diff --git a/kstars/ekos/capture/capture.cpp b/kstars/ekos/capture/capture.cpp
index 86ca633..8e373ce 100644
--- a/kstars/ekos/capture/capture.cpp
+++ b/kstars/ekos/capture/capture.cpp
@@ -926,7 +926,7 @@ void Capture::newFITS(IBLOB *bp)
if (useGuideHead == false && darkSubCheck->isChecked() && activeJob->isPreview())
{
- FITSView *currentImage = targetChip->getImage(FITS_NORMAL);
+ FITSView *currentImage = targetChip->getImageView(FITS_NORMAL);
FITSData *darkData = NULL;
uint16_t offsetX = activeJob->getSubX() / activeJob->getXBin();
uint16_t offsetY = activeJob->getSubY() / activeJob->getYBin();
@@ -3646,7 +3646,7 @@ bool Capture::processPostCaptureCalibrationStage()
if (activeJob->getFrameType() == FRAME_FLAT && activeJob->getFlatFieldDuration() == DURATION_ADU && activeJob->getTargetADU() > 0)
{
FITSData *image_data = NULL;
- FITSView *currentImage = targetChip->getImage(FITS_NORMAL);
+ FITSView *currentImage = targetChip->getImageView(FITS_NORMAL);
if (currentImage)
{
image_data = currentImage->getImageData();
diff --git a/kstars/ekos/capture/capture.ui b/kstars/ekos/capture/capture.ui
index ff64248..0a87956 100644
--- a/kstars/ekos/capture/capture.ui
+++ b/kstars/ekos/capture/capture.ui
@@ -7,12 +7,12 @@
<x>0</x>
<y>0</y>
<width>728</width>
- <height>413</height>
+ <height>412</height>
</rect>
</property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
+ <layout class="QVBoxLayout" name="verticalLayout">
<property name="spacing">
- <number>1</number>
+ <number>3</number>
</property>
<property name="leftMargin">
<number>3</number>
@@ -27,10 +27,7 @@
<number>3</number>
</property>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout_11">
- <property name="spacing">
- <number>1</number>
- </property>
+ <layout class="QHBoxLayout" name="horizontalLayout_17">
<item>
<widget class="QGroupBox" name="CCDFWGroup">
<property name="enabled">
@@ -51,211 +48,166 @@
<property name="title">
<string>CCD &amp;&amp; Filter Wheel</string>
</property>
- <layout class="QVBoxLayout" name="verticalLayout">
- <property name="spacing">
- <number>1</number>
- </property>
- <item>
- <layout class="QGridLayout" name="gridLayout">
+ <layout class="QGridLayout" name="gridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" name="textLabel1_6">
+ <property name="toolTip">
+ <string/>
+ </property>
+ <property name="whatsThis">
+ <string/>
+ </property>
+ <property name="text">
+ <string>CCD:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1" colspan="2">
+ <widget class="QComboBox" name="CCDCaptureCombo"/>
+ </item>
+ <item row="0" column="3" colspan="3">
+ <layout class="QHBoxLayout" name="horizontalLayout_4">
<property name="spacing">
<number>1</number>
</property>
- <item row="0" column="0">
- <widget class="QLabel" name="textLabel1_6">
+ <item>
+ <widget class="QLabel" name="textLabel1_5_3">
<property name="toolTip">
+ <string>Filter Wheel</string>
+ </property>
+ <property name="whatsThis">
<string/>
</property>
+ <property name="text">
+ <string>FW:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QComboBox" name="FilterCaptureCombo">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="textLabel1_2_3">
+ <property name="toolTip">
+ <string>Number of images to capture</string>
+ </property>
<property name="whatsThis">
<string/>
</property>
<property name="text">
- <string>CCD:</string>
+ <string>Filter:</string>
</property>
</widget>
</item>
- <item row="0" column="1">
- <widget class="QComboBox" name="CCDCaptureCombo"/>
+ <item>
+ <widget class="QComboBox" name="FilterPosCombo">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
</item>
- <item row="0" column="2">
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <property name="spacing">
- <number>1</number>
+ </layout>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="exposureLabel_2">
+ <property name="toolTip">
+ <string>Set the exposure time in seconds for individual images, if applicable</string>
+ </property>
+ <property name="whatsThis">
+ <string/>
+ </property>
+ <property name="text">
+ <string>Exposure:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1" colspan="2">
+ <widget class="QDoubleSpinBox" name="exposureIN">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="decimals">
+ <number>3</number>
+ </property>
+ <property name="minimum">
+ <double>0.001000000000000</double>
+ </property>
+ <property name="maximum">
+ <double>3600.000000000000000</double>
+ </property>
+ <property name="value">
+ <double>1.000000000000000</double>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="3" colspan="3">
+ <layout class="QHBoxLayout" name="horizontalLayout">
+ <property name="spacing">
+ <number>1</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="textLabel1_9">
+ <property name="toolTip">
+ <string>Horizontal and Vertical binning</string>
</property>
- <item>
- <widget class="QLabel" name="textLabel1_5_3">
- <property name="toolTip">
- <string>Filter Wheel</string>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>FW:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="FilterCaptureCombo">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="textLabel1_2_3">
- <property name="toolTip">
- <string>Number of images to capture</string>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>Filter:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="FilterPosCombo">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- </layout>
+ <property name="whatsThis">
+ <string/>
+ </property>
+ <property name="text">
+ <string>Binning:</string>
+ </property>
+ </widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="exposureLabel_2">
+ <item>
+ <widget class="QLabel" name="textLabel1_10">
<property name="toolTip">
- <string>Set the exposure time in seconds for individual images, if applicable</string>
+ <string/>
</property>
<property name="whatsThis">
<string/>
</property>
<property name="text">
- <string>Exposure:</string>
+ <string>X:</string>
</property>
</widget>
</item>
- <item row="1" column="1">
- <widget class="QDoubleSpinBox" name="exposureIN">
+ <item>
+ <widget class="QSpinBox" name="binXIN">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="decimals">
- <number>3</number>
+ <property name="toolTip">
+ <string>Horizontal binning</string>
</property>
<property name="minimum">
- <double>0.001000000000000</double>
+ <number>1</number>
</property>
<property name="maximum">
- <double>3600.000000000000000</double>
+ <number>10</number>
</property>
<property name="value">
- <double>1.000000000000000</double>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <layout class="QHBoxLayout" name="horizontalLayout">
- <property name="spacing">
<number>1</number>
</property>
- <item>
- <widget class="QLabel" name="textLabel1_9">
- <property name="toolTip">
- <string>Horizontal and Vertical binning</string>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>Binning:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="textLabel1_10">
- <property name="toolTip">
- <string/>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>X:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="binXIN">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="toolTip">
- <string>Horizontal binning</string>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- <property name="maximum">
- <number>10</number>
- </property>
- <property name="value">
- <number>1</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="textLabel1_11">
- <property name="toolTip">
- <string/>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>Y:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="binYIN">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="toolTip">
- <string>Vertical binning</string>
- </property>
- <property name="minimum">
- <number>1</number>
- </property>
- <property name="maximum">
- <number>10</number>
- </property>
- <property name="value">
- <number>1</number>
- </property>
- </widget>
- </item>
- </layout>
+ </widget>
</item>
- <item row="2" column="0">
- <widget class="QLabel" name="textLabel1_12">
+ <item>
+ <widget class="QLabel" name="textLabel1_11">
<property name="toolTip">
<string/>
</property>
@@ -263,143 +215,54 @@
<string/>
</property>
<property name="text">
- <string>Frame:</string>
+ <string>Y:</string>
</property>
</widget>
</item>
- <item row="2" column="1">
- <layout class="QHBoxLayout" name="horizontalLayout_9">
- <property name="spacing">
+ <item>
+ <widget class="QSpinBox" name="binYIN">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="toolTip">
+ <string>Vertical binning</string>
+ </property>
+ <property name="minimum">
<number>1</number>
</property>
- <item>
- <widget class="QLabel" name="textLabel1_13">
- <property name="toolTip">
- <string/>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>X:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="frameXIN">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="textLabel1_14">
- <property name="toolTip">
- <string/>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>Y:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="frameYIN">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item row="2" column="2">
- <layout class="QHBoxLayout" name="horizontalLayout_10">
- <property name="spacing">
+ <property name="maximum">
+ <number>10</number>
+ </property>
+ <property name="value">
<number>1</number>
</property>
- <item>
- <widget class="QLabel" name="textLabel1_15">
- <property name="toolTip">
- <string/>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>W:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="frameWIN">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximum">
- <number>99</number>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="textLabel1_16">
- <property name="toolTip">
- <string/>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>H:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="frameHIN">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="resetFrameB">
- <property name="minimumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Reset CCD frame values to default values</string>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- </layout>
+ </widget>
</item>
- <item row="3" column="0">
- <widget class="QLabel" name="textLabel1_17">
+ </layout>
+ </item>
+ <item row="2" column="0">
+ <widget class="QLabel" name="textLabel1_12">
+ <property name="toolTip">
+ <string/>
+ </property>
+ <property name="whatsThis">
+ <string/>
+ </property>
+ <property name="text">
+ <string>Frame:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1" colspan="2">
+ <layout class="QHBoxLayout" name="horizontalLayout_9">
+ <property name="spacing">
+ <number>1</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="textLabel1_13">
<property name="toolTip">
<string/>
</property>
@@ -407,302 +270,435 @@
<string/>
</property>
<property name="text">
- <string>Type:</string>
+ <string>X:</string>
</property>
</widget>
</item>
- <item row="3" column="1">
- <widget class="QComboBox" name="frameTypeCombo">
+ <item>
+ <widget class="QSpinBox" name="frameXIN">
<property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
</widget>
</item>
- <item row="3" column="2">
- <layout class="QHBoxLayout" name="horizontalLayout_12">
- <property name="spacing">
- <number>1</number>
+ <item>
+ <widget class="QLabel" name="textLabel1_14">
+ <property name="toolTip">
+ <string/>
</property>
- <item>
- <widget class="QCheckBox" name="temperatureCheck">
- <property name="toolTip">
- <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enforce temperature value before capturing an image&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
- </property>
- <property name="text">
- <string>Tº</string>
- </property>
- <property name="checked">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLabel" name="temperatureOUT">
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>0</height>
- </size>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDoubleSpinBox" name="temperatureIN">
- <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>
- <widget class="QPushButton" name="setTemperatureB">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="toolTip">
- <string>Set CCD temperature</string>
- </property>
- <property name="text">
- <string>Set</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QPushButton" name="calibrationB">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="maximumSize">
- <size>
- <width>32</width>
- <height>32</height>
- </size>
- </property>
- <property name="toolTip">
- <string>Calibration Options</string>
- </property>
- <property name="text">
- <string/>
- </property>
- </widget>
- </item>
- </layout>
+ <property name="whatsThis">
+ <string/>
+ </property>
+ <property name="text">
+ <string>Y:</string>
+ </property>
+ </widget>
</item>
- <item row="4" column="0">
- <widget class="QLabel" name="textLabel1_7">
+ <item>
+ <widget class="QSpinBox" name="frameYIN">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="2" column="3" colspan="3">
+ <layout class="QHBoxLayout" name="horizontalLayout_10">
+ <property name="spacing">
+ <number>1</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="textLabel1_15">
<property name="toolTip">
- <string>Prefix to append to the beginning of file names</string>
+ <string/>
</property>
<property name="whatsThis">
<string/>
</property>
<property name="text">
- <string>Prefix:</string>
+ <string>W:</string>
</property>
</widget>
</item>
- <item row="4" column="1">
- <widget class="QLineEdit" name="prefixIN"/>
- </item>
- <item row="4" column="2">
- <layout class="QHBoxLayout" name="horizontalLayout_16">
- <property name="spacing">
- <number>1</number>
+ <item>
+ <widget class="QSpinBox" name="frameWIN">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <item>
- <widget class="QCheckBox" name="filterCheck">
- <property name="toolTip">
- <string>Append the active filter slot to the prefix</string>
- </property>
- <property name="text">
- <string>Filter</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="expDurationCheck">
- <property name="toolTip">
- <string>Append the expose duration to the prefix</string>
- </property>
- <property name="text">
- <string>Duration</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QCheckBox" name="ISOCheck">
- <property name="toolTip">
- <string>Append time stamp to the prefix</string>
- </property>
- <property name="text">
- <string>TS</string>
- </property>
- <property name="checked">
- <bool>false</bool>
- </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="maximum">
+ <number>99</number>
+ </property>
+ </widget>
</item>
- <item row="5" column="0">
- <widget class="QLabel" name="textLabel1_4">
+ <item>
+ <widget class="QLabel" name="textLabel1_16">
<property name="toolTip">
- <string>Number of images to capture</string>
+ <string/>
</property>
<property name="whatsThis">
<string/>
</property>
<property name="text">
- <string>Count:</string>
+ <string>H:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QSpinBox" name="frameHIN">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="resetFrameB">
+ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
+ </property>
+ <property name="toolTip">
+ <string>Reset CCD frame values to default values</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="3" column="0">
+ <widget class="QLabel" name="textLabel1_17">
+ <property name="toolTip">
+ <string/>
+ </property>
+ <property name="whatsThis">
+ <string/>
+ </property>
+ <property name="text">
+ <string>Type:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="1" colspan="2">
+ <widget class="QComboBox" name="frameTypeCombo">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="0">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>Cooler:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="4" column="1" colspan="2">
+ <layout class="QHBoxLayout" name="horizontalLayout_11">
+ <item>
+ <widget class="QCheckBox" name="temperatureCheck">
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Enforce temperature value before capturing an image&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="text">
+ <string>Tº</string>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="temperatureOUT">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>0</height>
+ </size>
+ </property>
+ <property name="text">
+ <string/>
</property>
</widget>
</item>
- <item row="5" column="1">
- <widget class="QSpinBox" name="countIN">
+ <item>
+ <widget class="QDoubleSpinBox" name="temperatureIN">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <property name="minimum">
- <number>1</number>
+ </widget>
+ </item>
+ </layout>
+ </item>
+ <item row="4" column="3" colspan="3">
+ <layout class="QHBoxLayout" name="horizontalLayout_15">
+ <item>
+ <widget class="QPushButton" name="setTemperatureB">
+ <property name="enabled">
+ <bool>false</bool>
</property>
- <property name="maximum">
- <number>999</number>
+ <property name="toolTip">
+ <string>Set CCD temperature</string>
</property>
- <property name="value">
- <number>1</number>
+ <property name="text">
+ <string>Set</string>
</property>
</widget>
</item>
- <item row="5" column="2">
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <property name="spacing">
- <number>1</number>
+ </layout>
+ </item>
+ <item row="5" column="0">
+ <widget class="QLabel" name="textLabel1_7">
+ <property name="toolTip">
+ <string>Prefix to append to the beginning of file names</string>
+ </property>
+ <property name="whatsThis">
+ <string/>
+ </property>
+ <property name="text">
+ <string>Prefix:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="5" column="1" colspan="2">
+ <widget class="QLineEdit" name="prefixIN"/>
+ </item>
+ <item row="5" column="3" colspan="3">
+ <layout class="QHBoxLayout" name="horizontalLayout_16">
+ <property name="spacing">
+ <number>1</number>
+ </property>
+ <item>
+ <widget class="QCheckBox" name="filterCheck">
+ <property name="toolTip">
+ <string>Append the active filter slot to the prefix</string>
</property>
- <item>
- <widget class="QLabel" name="textLabel1_8">
- <property name="toolTip">
- <string>Delay in seconds between consecutive images</string>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>Delay:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QSpinBox" name="delayIN">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maximum">
- <number>3600</number>
- </property>
- </widget>
- </item>
- </layout>
+ <property name="text">
+ <string>Filter</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="expDurationCheck">
+ <property name="toolTip">
+ <string>Append the expose duration to the prefix</string>
+ </property>
+ <property name="text">
+ <string>Duration</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="ISOCheck">
+ <property name="toolTip">
+ <string>Append time stamp to the prefix</string>
+ </property>
+ <property name="text">
+ <string>TS</string>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
+ </property>
+ </widget>
</item>
- <item row="6" column="0">
- <widget class="QLabel" name="label_8">
+ </layout>
+ </item>
+ <item row="6" column="0">
+ <widget class="QLabel" name="textLabel1_4">
+ <property name="toolTip">
+ <string>Number of images to capture</string>
+ </property>
+ <property name="whatsThis">
+ <string/>
+ </property>
+ <property name="text">
+ <string>Count:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="1">
+ <widget class="QSpinBox" name="countIN">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimum">
+ <number>1</number>
+ </property>
+ <property name="maximum">
+ <number>999</number>
+ </property>
+ <property name="value">
+ <number>1</number>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="3" colspan="3">
+ <layout class="QHBoxLayout" name="horizontalLayout_3">
+ <property name="spacing">
+ <number>1</number>
+ </property>
+ <item>
+ <widget class="QLabel" name="textLabel1_8">
<property name="toolTip">
- <string>Apply filter to image after capture to enhance it</string>
+ <string>Delay in seconds between consecutive images</string>
+ </property>
+ <property name="whatsThis">
+ <string/>
</property>
<property name="text">
- <string>Filters:</string>
+ <string>Delay:</string>
</property>
</widget>
</item>
- <item row="6" column="1">
- <widget class="QComboBox" name="filterCombo">
+ <item>
+ <widget class="QSpinBox" name="delayIN">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
- <item>
- <property name="text">
- <string>--</string>
- </property>
- </item>
+ <property name="maximum">
+ <number>3600</number>
+ </property>
</widget>
</item>
- <item row="6" column="2">
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <property name="spacing">
- <number>1</number>
+ </layout>
+ </item>
+ <item row="7" column="0">
+ <widget class="QLabel" name="label_8">
+ <property name="toolTip">
+ <string>Apply filter to image after capture to enhance it</string>
+ </property>
+ <property name="text">
+ <string>Filters:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="1">
+ <widget class="QComboBox" name="filterCombo">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <item>
+ <property name="text">
+ <string>--</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="3" column="3" colspan="3">
+ <layout class="QHBoxLayout" name="horizontalLayout_12">
+ <item>
+ <widget class="Line" name="line">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
</property>
- <item>
- <widget class="QLabel" name="ISOLabel">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="text">
- <string>ISO:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="ISOCombo">
- <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>
- </layout>
+ </widget>
+ </item>
+ <item>
+ <widget class="QCheckBox" name="darkSubCheck">
+ <property name="toolTip">
+ <string>Perform automatic dark subtraction in preview mode</string>
+ </property>
+ <property name="text">
+ <string>Auto dark subtract</string>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="Line" name="line_2">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QLabel" name="label_2">
+ <property name="toolTip">
+ <string>Dark &amp; Flat frames calibration</string>
+ </property>
+ <property name="text">
+ <string>Calibration:</string>
+ </property>
+ <property name="alignment">
+ <set>Qt::AlignCenter</set>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QPushButton" name="calibrationB">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Fixed" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
+ </property>
+ <property name="maximumSize">
+ <size>
+ <width>32</width>
+ <height>32</height>
+ </size>
+ </property>
+ <property name="toolTip">
+ <string>Dark &amp; Flat frames calibration options</string>
+ </property>
+ <property name="text">
+ <string/>
+ </property>
+ </widget>
</item>
</layout>
</item>
- <item>
+ <item row="8" column="0" colspan="6">
<layout class="QHBoxLayout" name="horizontalLayout_8">
<property name="spacing">
<number>1</number>
@@ -750,18 +746,35 @@
</item>
</layout>
</item>
- <item>
- <spacer name="verticalSpacer_3">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
+ <item row="7" column="4">
+ <layout class="QHBoxLayout" name="horizontalLayout_2">
+ <property name="spacing">
+ <number>1</number>
</property>
- </spacer>
+ <item>
+ <widget class="QLabel" name="ISOLabel">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="text">
+ <string>ISO:</string>
+ </property>
+ </widget>
+ </item>
+ <item>
+ <widget class="QComboBox" name="ISOCombo">
+ <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>
+ </layout>
</item>
</layout>
</widget>
@@ -1067,6 +1080,12 @@
</property>
<item>
<widget class="QPushButton" name="previewB">
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>32</height>
+ </size>
+ </property>
<property name="toolTip">
<string/>
</property>
@@ -1158,238 +1177,180 @@
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_13">
- <property name="spacing">
- <number>1</number>
- </property>
<item>
<widget class="QGroupBox" name="optionsGroup">
<property name="title">
<string>Options</string>
</property>
- <layout class="QVBoxLayout" name="verticalLayout_2">
+ <layout class="QGridLayout" name="gridLayout_2">
+ <property name="leftMargin">
+ <number>3</number>
+ </property>
+ <property name="topMargin">
+ <number>3</number>
+ </property>
+ <property name="rightMargin">
+ <number>3</number>
+ </property>
+ <property name="bottomMargin">
+ <number>3</number>
+ </property>
<property name="spacing">
- <number>1</number>
+ <number>3</number>
</property>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_5">
- <property name="spacing">
- <number>1</number>
+ <item row="0" column="0">
+ <widget class="QCheckBox" name="guideDeviationCheck">
+ <property name="enabled">
+ <bool>false</bool>
</property>
- <item>
- <widget class="QCheckBox" name="darkSubCheck">
- <property name="toolTip">
- <string>Perform automatic dark subtraction in preview mode</string>
- </property>
- <property name="text">
- <string>Auto dark subtract</string>
- </property>
- <property name="checked">
- <bool>false</bool>
- </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="toolTip">
+ <string>Abort sequence if guiding deviation exceed this value</string>
+ </property>
+ <property name="text">
+ <string>Guiding Deviation &lt;</string>
+ </property>
+ <property name="checked">
+ <bool>false</bool>
+ </property>
+ </widget>
</item>
- <item>
- <layout class="QGridLayout" name="gridLayout_2">
- <property name="spacing">
- <number>1</number>
+ <item row="0" column="1">
+ <widget class="QDoubleSpinBox" name="guideDeviation">
+ <property name="enabled">
+ <bool>false</bool>
</property>
- <item row="0" column="0">
- <widget class="QCheckBox" name="guideDeviationCheck">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="toolTip">
- <string>Abort sequence if guiding deviation exceed this value</string>
- </property>
- <property name="text">
- <string>Guiding Deviation &lt;</string>
- </property>
- <property name="checked">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QDoubleSpinBox" name="guideDeviation">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="decimals">
- <number>2</number>
- </property>
- <property name="maximum">
- <double>30.000000000000000</double>
- </property>
- <property name="singleStep">
- <double>0.500000000000000</double>
- </property>
- </widget>
- </item>
- <item row="0" column="2">
- <widget class="QLabel" name="textLabel1_2_4">
- <property name="toolTip">
- <string>Number of images to capture</string>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>&quot;</string>
- </property>
- </widget>
- </item>
- <item row="0" column="6">
- <widget class="QLabel" name="textLabel1_2_5">
- <property name="toolTip">
- <string>Number of images to capture</string>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>pixels</string>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QCheckBox" name="meridianCheck">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="toolTip">
- <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Command a meridian flip if the hour angle exceeds the specified value. Capture and Guiding will be suspended and resumed after the flip is complete.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
- </property>
- <property name="text">
- <string>Meridian Flip if HA &gt;</string>
- </property>
- </widget>
- </item>
- <item row="1" column="4" colspan="2">
- <widget class="QCheckBox" name="parkCheck">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="toolTip">
- <string>Automatically park telescope once all sequence jobs are completed</string>
- </property>
- <property name="text">
- <string>Park When Complete</string>
- </property>
- </widget>
- </item>
- <item row="0" column="5">
- <widget class="QDoubleSpinBox" name="HFRPixels">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="decimals">
- <number>3</number>
- </property>
- <property name="minimum">
- <double>0.000000000000000</double>
- </property>
- <property name="maximum">
- <double>10.000000000000000</double>
- </property>
- <property name="singleStep">
- <double>0.100000000000000</double>
- </property>
- <property name="value">
- <double>0.000000000000000</double>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <widget class="QLabel" name="textLabel1_2_6">
- <property name="toolTip">
- <string>Number of images to capture</string>
- </property>
- <property name="whatsThis">
- <string/>
- </property>
- <property name="text">
- <string>hours</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QDoubleSpinBox" name="meridianHours">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="decimals">
- <number>2</number>
- </property>
- <property name="minimum">
- <double>0.000000000000000</double>
- </property>
- <property name="maximum">
- <double>3.000000000000000</double>
- </property>
- <property name="singleStep">
- <double>0.100000000000000</double>
- </property>
- <property name="value">
- <double>0.000000000000000</double>
- </property>
- </widget>
- </item>
- <item row="0" column="4">
- <widget class="QCheckBox" name="autofocusCheck">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="toolTip">
- <string>Perform autofocusing once Half-Flux-Radius (HFR) value exceeds this limit</string>
- </property>
- <property name="text">
- <string>Autofocus if HFR &gt;</string>
- </property>
- </widget>
- </item>
- <item row="0" column="3">
- <widget class="Line" name="line">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </widget>
- </item>
- <item row="1" column="3">
- <widget class="Line" name="line_2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- </widget>
- </item>
- </layout>
+ <property name="decimals">
+ <number>2</number>
+ </property>
+ <property name="maximum">
+ <double>30.000000000000000</double>
+ </property>
+ <property name="singleStep">
+ <double>0.500000000000000</double>
+ </property>
+ </widget>
</item>
- <item>
- <spacer name="verticalSpacer_2">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
+ <item row="0" column="2">
+ <widget class="QLabel" name="textLabel1_2_4">
+ <property name="toolTip">
+ <string>Number of images to capture</string>
+ </property>
+ <property name="whatsThis">
+ <string/>
+ </property>
+ <property name="text">
+ <string>&quot;</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="3">
+ <widget class="QCheckBox" name="autofocusCheck">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="toolTip">
+ <string>Perform autofocusing once Half-Flux-Radius (HFR) value exceeds this limit</string>
+ </property>
+ <property name="text">
+ <string>Autofocus if HFR &gt;</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="4">
+ <widget class="QDoubleSpinBox" name="HFRPixels">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="decimals">
+ <number>3</number>
+ </property>
+ <property name="minimum">
+ <double>0.000000000000000</double>
+ </property>
+ <property name="maximum">
+ <double>10.000000000000000</double>
</property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>40</height>
- </size>
+ <property name="singleStep">
+ <double>0.100000000000000</double>
</property>
- </spacer>
+ <property name="value">
+ <double>0.000000000000000</double>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="5">
+ <widget class="QLabel" name="textLabel1_2_5">
+ <property name="toolTip">
+ <string>Number of images to capture</string>
+ </property>
+ <property name="whatsThis">
+ <string/>
+ </property>
+ <property name="text">
+ <string>pixels</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QCheckBox" name="meridianCheck">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="toolTip">
+ <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Command a meridian flip if the hour angle exceeds the specified value. Capture and Guiding will be suspended and resumed after the flip is complete.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+ </property>
+ <property name="text">
+ <string>Meridian Flip if HA &gt;</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QDoubleSpinBox" name="meridianHours">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="decimals">
+ <number>2</number>
+ </property>
+ <property name="minimum">
+ <double>0.000000000000000</double>
+ </property>
+ <property name="maximum">
+ <double>3.000000000000000</double>
+ </property>
+ <property name="singleStep">
+ <double>0.100000000000000</double>
+ </property>
+ <property name="value">
+ <double>0.000000000000000</double>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QLabel" name="textLabel1_2_6">
+ <property name="toolTip">
+ <string>Number of images to capture</string>
+ </property>
+ <property name="whatsThis">
+ <string/>
+ </property>
+ <property name="text">
+ <string>hours</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="3" colspan="2">
+ <widget class="QCheckBox" name="parkCheck">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="toolTip">
+ <string>Automatically park telescope once all sequence jobs are completed</string>
+ </property>
+ <property name="text">
+ <string>Park When Complete</string>
+ </property>
+ </widget>
</item>
</layout>
</widget>
@@ -1556,19 +1517,6 @@
</property>
</widget>
</item>
- <item>
- <spacer name="verticalSpacer_4">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
- </property>
- <property name="sizeHint" stdset="0">
- <size>
- <width>20</width>
- <height>1</height>
- </size>
- </property>
- </spacer>
- </item>
</layout>
</widget>
</item>
@@ -1588,7 +1536,6 @@
</spacer>
</item>
</layout>
- <zorder>verticalSpacer</zorder>
</widget>
<resources/>
<connections/>