Version 1 with the action tab working

git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorGui@6 af1100a4-978c-4157-bff7-07162d2ba061
This commit is contained in:
l_maliakal_d
2012-06-06 15:23:55 +00:00
parent 20cc6d9a90
commit 7a218418d1
20 changed files with 1689 additions and 767 deletions

View File

@ -10,7 +10,7 @@
<x>0</x>
<y>0</y>
<width>800</width>
<height>822</height>
<height>800</height>
</rect>
</property>
<property name="sizePolicy">
@ -39,12 +39,9 @@
<property name="dockNestingEnabled">
<bool>false</bool>
</property>
<property name="dockOptions">
<set>QMainWindow::AllowTabbedDocks|QMainWindow::AnimatedDocks</set>
</property>
<widget class="QWidget" name="centralwidget">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -52,13 +49,13 @@
<property name="minimumSize">
<size>
<width>0</width>
<height>0</height>
<height>395</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>524287</width>
<height>450</height>
<height>395</height>
</size>
</property>
</widget>
@ -71,6 +68,24 @@
<height>25</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>16777215</width>
<height>25</height>
</size>
</property>
<property name="font">
<font>
<pointsize>9</pointsize>
@ -132,13 +147,13 @@
<property name="minimumSize">
<size>
<width>38</width>
<height>369</height>
<height>200</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>524287</width>
<height>524287</height>
<height>390</height>
</size>
</property>
<property name="palette">
@ -251,8 +266,11 @@
</widget>
</widget>
<widget class="QDockWidget" name="dockWidgetPlot">
<property name="enabled">
<bool>true</bool>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>

View File

@ -6,12 +6,12 @@
<rect>
<x>0</x>
<y>0</y>
<width>748</width>
<width>734</width>
<height>339</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -24,26 +24,13 @@
</property>
<property name="maximumSize">
<size>
<width>1000</width>
<height>1000</height>
<width>16777215</width>
<height>16777215</height>
</size>
</property>
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QPushButton" name="pushButton">
<property name="geometry">
<rect>
<x>224</x>
<y>223</y>
<width>75</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>PushButton</string>
</property>
</widget>
</widget>
<resources/>
<connections/>

View File

@ -47,8 +47,8 @@
<widget class="QPushButton" name="btnTemp">
<property name="geometry">
<rect>
<x>52</x>
<y>106</y>
<x>10</x>
<y>14</y>
<width>91</width>
<height>41</height>
</rect>
@ -67,8 +67,8 @@ Temperature</string>
<widget class="QLineEdit" name="dispTempFpga">
<property name="geometry">
<rect>
<x>222</x>
<y>132</y>
<x>180</x>
<y>40</y>
<width>151</width>
<height>21</height>
</rect>
@ -90,8 +90,8 @@ Temperature</string>
<widget class="QLabel" name="label_10">
<property name="geometry">
<rect>
<x>162</x>
<y>102</y>
<x>120</x>
<y>10</y>
<width>41</width>
<height>20</height>
</rect>
@ -103,8 +103,8 @@ Temperature</string>
<widget class="QLabel" name="label_11">
<property name="geometry">
<rect>
<x>162</x>
<y>132</y>
<x>120</x>
<y>40</y>
<width>41</width>
<height>20</height>
</rect>
@ -116,8 +116,8 @@ Temperature</string>
<widget class="QLineEdit" name="dispTempAdc">
<property name="geometry">
<rect>
<x>222</x>
<y>102</y>
<x>180</x>
<y>10</y>
<width>151</width>
<height>21</height>
</rect>

View File

@ -31,41 +31,182 @@
<property name="windowTitle">
<string>Form</string>
</property>
<widget class="QPushButton" name="pushButton">
<widget class="QGroupBox" name="boxCorrection">
<property name="geometry">
<rect>
<x>157</x>
<y>256</y>
<width>75</width>
<height>25</height>
<x>20</x>
<y>75</y>
<width>691</width>
<height>206</height>
</rect>
</property>
<property name="text">
<string>PushButton</string>
<property name="title">
<string>Correction</string>
</property>
<widget class="QWidget" name="gridLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>671</width>
<height>181</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QCheckBox" name="checkBox_3">
<property name="text">
<string>Flat Field File</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QCheckBox" name="checkBox_2">
<property name="text">
<string>Rate Correction</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QCheckBox" name="checkBox_4">
<property name="text">
<string>Angular Conversion</string>
</property>
</widget>
</item>
<item row="0" column="2" colspan="4">
<widget class="QLineEdit" name="lineEdit_2"/>
</item>
<item row="0" column="7">
<widget class="QPushButton" name="pushButton_3">
<property name="text">
<string>Acquire Flat Field Data</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QRadioButton" name="radioButton_3">
<property name="text">
<string>Auto</string>
</property>
</widget>
</item>
<item row="1" column="7">
<widget class="QSpinBox" name="spinBox"/>
</item>
<item row="0" column="6">
<widget class="QPushButton" name="pushButton_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Browse</string>
</property>
</widget>
</item>
<item row="1" column="5" colspan="2">
<widget class="QRadioButton" name="radioButton">
<property name="text">
<string>Custom dead time(ns):</string>
</property>
</widget>
</item>
<item row="1" column="3">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item row="3" column="0">
<widget class="QCheckBox" name="checkBox_5">
<property name="text">
<string>Discard Bad Channels</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_2">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>:</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLabel" name="label_3">
<property name="text">
<string>:</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QLabel" name="label">
<widget class="QFrame" name="frameOutput">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>108</width>
<height>16</height>
<x>19</x>
<y>20</y>
<width>701</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>Output Directory:</string>
<property name="frameShape">
<enum>QFrame::NoFrame</enum>
</property>
</widget>
<widget class="QLineEdit" name="lineEdit">
<property name="geometry">
<rect>
<x>118</x>
<y>10</y>
<width>113</width>
<height>21</height>
</rect>
<property name="frameShadow">
<enum>QFrame::Plain</enum>
</property>
<widget class="QWidget" name="horizontalLayoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>6</y>
<width>691</width>
<height>28</height>
</rect>
</property>
<layout class="QHBoxLayout" name="layoutOutput">
<property name="spacing">
<number>-1</number>
</property>
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Output Directory:</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="dispOutputDir"/>
</item>
<item>
<widget class="QPushButton" name="btnOutputBrowse">
<property name="text">
<string>Browse</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
</widget>
<resources/>

File diff suppressed because it is too large Load Diff

View File

@ -7,11 +7,11 @@
<x>0</x>
<y>0</y>
<width>734</width>
<height>339</height>
<height>345</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
@ -37,12 +37,15 @@
<x>10</x>
<y>130</y>
<width>711</width>
<height>151</height>
<height>146</height>
</rect>
</property>
<property name="title">
<string>Plot Axis</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="flat">
<bool>false</bool>
</property>
@ -288,12 +291,15 @@
<x>11</x>
<y>70</y>
<width>571</width>
<height>51</height>
<height>46</height>
</rect>
</property>
<property name="title">
<string>2D Plot Options</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="flat">
<bool>false</bool>
</property>
@ -350,7 +356,7 @@
<x>10</x>
<y>10</y>
<width>571</width>
<height>51</height>
<height>46</height>
</rect>
</property>
<property name="palette">
@ -474,6 +480,9 @@
<property name="title">
<string>1D Plot Options</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="flat">
<bool>false</bool>
</property>
@ -482,20 +491,26 @@
<rect>
<x>10</x>
<y>20</y>
<width>551</width>
<height>27</height>
<width>641</width>
<height>21</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QCheckBox" name="chktest1D">
<property name="text">
<string/>
<string>Superimpose</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QPushButton" name="btnClear">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="focusPolicy">
<enum>Qt::NoFocus</enum>
</property>
@ -509,22 +524,27 @@
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
<width>400</width>
<height>10</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<zorder>gridLayoutWidget_3</zorder>
<zorder>groupBox_2</zorder>
</widget>
<widget class="QGroupBox" name="boxSave">
<property name="geometry">
<rect>
<x>10</x>
<y>288</y>
<y>290</y>
<width>711</width>
<height>51</height>
</rect>
@ -532,11 +552,17 @@
<property name="title">
<string>Save</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="flat">
<bool>false</bool>
</property>
<widget class="QWidget" name="horizontalLayoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>13</y>
<y>15</y>
<width>698</width>
<height>31</height>
</rect>
@ -645,24 +671,33 @@
</widget>
</widget>
<widget class="QGroupBox" name="groupBox_2">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>599</x>
<y>10</y>
<width>121</width>
<height>111</height>
<height>81</height>
</rect>
</property>
<property name="title">
<string>Clone</string>
</property>
<property name="alignment">
<set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignVCenter</set>
</property>
<property name="flat">
<bool>false</bool>
</property>
<widget class="QWidget" name="gridLayoutWidget_2">
<property name="geometry">
<rect>
<x>20</x>
<y>20</y>
<width>81</width>
<height>81</height>
<x>5</x>
<y>10</y>
<width>111</width>
<height>76</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_2">
@ -673,7 +708,7 @@
<number>9</number>
</property>
<property name="verticalSpacing">
<number>13</number>
<number>-1</number>
</property>
<item row="0" column="0">
<widget class="QPushButton" name="btnClone">