proper class encapsulation for PGetAsymmetryRunBlockDialog, and adding a skeleton for PGetSingleHistoRunBlockDialog

This commit is contained in:
nemu
2009-03-14 18:03:20 +00:00
parent e427a55283
commit aa99881488
7 changed files with 633 additions and 220 deletions

View File

@@ -9,7 +9,7 @@
<x>0</x>
<y>0</y>
<width>442</width>
<height>595</height>
<height>593</height>
</rect>
</property>
<property name="caption">
@@ -222,22 +222,6 @@
</property>
</widget>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fOr_textLabel_2</cstring>
</property>
<property name="geometry">
<rect>
<x>230</x>
<y>303</y>
<width>30</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>&lt;b&gt;OR&lt;/b&gt;</string>
</property>
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>fRequiredEntries_groupBox</cstring>
@@ -247,7 +231,7 @@
<x>10</x>
<y>135</y>
<width>420</width>
<height>290</height>
<height>292</height>
</rect>
</property>
<property name="title">
@@ -269,6 +253,115 @@
<string>Map</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fMap_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>70</x>
<y>20</y>
<width>340</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>0 0 0 0 0 0 0 0 0 0</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fNorm_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>83</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Norm</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fForward_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>53</y>
<width>113</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Forward Histo No</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fForward_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>50</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fNorm_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>80</y>
<width>70</width>
<height>24</height>
</rect>
</property>
<property name="toolTip" stdset="0">
<string>Param No for the N0</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBackgroundStart_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>200</y>
<width>70</width>
<height>24</height>
</rect>
</property>
<property name="toolTip" stdset="0">
<string>histo start bkg bin</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fFitRangeEnd_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>220</x>
<y>230</y>
<width>70</width>
<height>24</height>
</rect>
</property>
<property name="toolTip" stdset="0">
<string>end in (us)</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBackgroundFix_lineEdit</cstring>
@@ -303,34 +396,34 @@
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fBackgroundFix_textLabel</cstring>
<cstring>fBackground_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>140</y>
<width>110</width>
<height>21</height>
<y>203</y>
<width>123</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Background Fix</string>
<string>Background Range</string>
</property>
</widget>
<widget class="QLineEdit">
<widget class="QLabel">
<property name="name">
<cstring>fDataEnd_lineEdit</cstring>
<cstring>fBackgroundFit_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>220</x>
<y>110</y>
<width>70</width>
<height>24</height>
<x>10</x>
<y>173</y>
<width>110</width>
<height>20</height>
</rect>
</property>
<property name="toolTip" stdset="0">
<string>histo end bin</string>
<property name="text">
<string>Background Fit</string>
</property>
</widget>
<widget class="QLineEdit">
@@ -349,85 +442,31 @@
<string>histo start bin</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fHistoNo_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>83</y>
<width>113</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Histo No</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fHistoNo_lineEdit</cstring>
<cstring>fPacking_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>80</y>
<y>260</y>
<width>70</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fMap_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>70</x>
<y>20</y>
<width>340</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>0 0 0 0 0 0 0 0 0 0</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fNorm_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>53</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Norm</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fNorm_lineEdit</cstring>
<cstring>fBackgroundFit_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>50</y>
<y>170</y>
<width>70</width>
<height>24</height>
</rect>
</property>
<property name="toolTip" stdset="0">
<string>Param No for the N0</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
@@ -461,6 +500,22 @@
<string>Packing/Binning</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fOr_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>220</x>
<y>140</y>
<width>30</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>&lt;b&gt;OR&lt;/b&gt;</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fFitRange_textLabel</cstring>
@@ -477,52 +532,20 @@
<string>Fit Range</string>
</property>
</widget>
<widget class="QLineEdit">
<widget class="QLabel">
<property name="name">
<cstring>fFitRangeEnd_lineEdit</cstring>
<cstring>fOr_textLabel_2</cstring>
</property>
<property name="geometry">
<rect>
<x>220</x>
<y>230</y>
<width>70</width>
<height>24</height>
</rect>
</property>
<property name="toolTip" stdset="0">
<string>end in (us)</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fBackground_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>203</y>
<width>123</width>
<height>20</height>
<y>170</y>
<width>30</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Background Range</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBackgroundStart_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>200</y>
<width>70</width>
<height>24</height>
</rect>
</property>
<property name="toolTip" stdset="0">
<string>histo start bkg bin</string>
<string>&lt;b&gt;OR&lt;/b&gt;</string>
</property>
</widget>
<widget class="QLineEdit">
@@ -541,63 +564,37 @@
<string>start in (us)</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fPacking_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>260</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fOr_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>220</x>
<y>140</y>
<width>30</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>&lt;b&gt;OR&lt;/b&gt;</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fBackgroundFit_textLabel</cstring>
<cstring>fBackgroundFix_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>173</y>
<y>140</y>
<width>110</width>
<height>20</height>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Background Fit</string>
<string>Background Fix</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBackgroundFit_lineEdit</cstring>
<cstring>fDataEnd_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>170</y>
<x>220</x>
<y>110</y>
<width>70</width>
<height>24</height>
</rect>
</property>
<property name="toolTip" stdset="0">
<string>histo end bin</string>
</property>
</widget>
</widget>
<widget class="QGroupBox">
@@ -607,7 +604,7 @@
<property name="geometry">
<rect>
<x>10</x>
<y>430</y>
<y>433</y>
<width>420</width>
<height>110</height>
</rect>
@@ -791,7 +788,7 @@
</widget>
<images>
<image name="image0">
<data format="PNG" length="270">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000000d549444154388db594510e84200c44a78653d1f34faf853fd66d2a2aa8fb1222697068cb80d0884cadda7c6e46392c1860c9010da2bd8d4629f1670140a3200869d536ad8a2d63cfc805bc7c338ac766b33eb4c279dadb5be1b72c5ab5c5d2f3028fcda6bff042f40dd2f3f119355477c7708fdd15a3eef8ecf0f2868f847bb733332c1c9d43a344f15e9bca51e25a3cde52493736d3e2d85cb27ff36861d0081ad18b15607b783a785cabb67d4da7bf5e890070f34eb5c245cee2c4cfebc533ca593e211ee2652bdef0bfd7ed4bb1e8f5a947688615932a98c849f587290000000049454e44ae426082</data>
<data format="PNG" length="411">89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000016249444154388d95544dae86200c9c1a169e471217707e5890d4f3b830e95b687d15e51349889982fd19a6252e0c6c001cb06e2b4637629abde0584b61aacf7bf0b06eebc5e88d5360b74fc18b9ed7f75bd82908210a01e0c204e33c8628029c99e8fd373ca853009023c3a530290d1a619abdf464aa7818dd682b3f232f8569ddd6cb594fa6578eab9f2f0f5105ede57888214ace692f3d33d591951602be719c72a2d18dc839512b93737de0989e74dcc2d3eca557d7371db7b0364daf3a865eceded41142949b8e7b38b32b86288fe7371d77bcb66d1ace4ceadcce9669f6a2f79dcdf0edbb1426752200c874ec8da6c37e6e2e0cfbadb798cd99c18571b11546ca090ed807cf85db23b2da6388a27ab7034a39d54a08403afc383c7514dab8a5e3a530a5431d4b667200e0c37f16e968efa70adede40a7e414bc3875663b4833d44a6adc548f59832dd3ce865fb8a9fbdaf1178e7f656ea724a59cba75fce5fb0774073f42f0dd40cc0000000049454e44ae426082</data>
</image>
</images>
<connections>
@@ -814,8 +811,8 @@
<tabstop>fInstitute_comboBox</tabstop>
<tabstop>fFileFormat_comboBox</tabstop>
<tabstop>fMap_lineEdit</tabstop>
<tabstop>fForward_lineEdit</tabstop>
<tabstop>fNorm_lineEdit</tabstop>
<tabstop>fHistoNo_lineEdit</tabstop>
<tabstop>fDataStart_lineEdit</tabstop>
<tabstop>fDataEnd_lineEdit</tabstop>
<tabstop>fBackgroundFix_lineEdit</tabstop>