newly added. Essentially a port of musrgui (Qt3.x) to Qt4.6. A lot of revisioning is still nedded. Code only partilly working.

This commit is contained in:
nemu
2010-01-28 05:52:15 +00:00
parent 3b3521eccf
commit f21d5eb2d0
114 changed files with 14735 additions and 0 deletions

View File

@@ -0,0 +1,246 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PFindDialog</class>
<widget class="QDialog" name="PFindDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>345</width>
<height>237</height>
</rect>
</property>
<property name="windowTitle">
<string>Find Text - musredit</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QGroupBox" name="fFind_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>341</width>
<height>81</height>
</rect>
</property>
<property name="title">
<string>Find</string>
</property>
<widget class="QLabel" name="fFind_label">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Text to find:</string>
</property>
</widget>
<widget class="QComboBox" name="fFind_comboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>321</width>
<height>31</height>
</rect>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QPushButton" name="fFind_pushButton">
<property name="geometry">
<rect>
<x>190</x>
<y>210</y>
<width>71</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>&amp;Find</string>
</property>
</widget>
<widget class="QPushButton" name="fClose_pushButton">
<property name="geometry">
<rect>
<x>270</x>
<y>210</y>
<width>71</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>&amp;Close</string>
</property>
</widget>
<widget class="QGroupBox" name="fOptions_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>80</y>
<width>341</width>
<height>121</height>
</rect>
</property>
<property name="title">
<string>Options</string>
</property>
<property name="alignment">
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
</property>
<widget class="QCheckBox" name="fCaseSensitive_checkBox">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>141</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>C&amp;ase Sensitive</string>
</property>
</widget>
<widget class="QCheckBox" name="fWholeWordsOnly_checkBox">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>141</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&amp;Whole words only</string>
</property>
</widget>
<widget class="QCheckBox" name="fFromCursor_checkBox">
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>141</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>From c&amp;ursor</string>
</property>
</widget>
<widget class="QCheckBox" name="fFindBackwards_checkBox">
<property name="geometry">
<rect>
<x>180</x>
<y>30</y>
<width>141</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Find &amp;backwards</string>
</property>
</widget>
<widget class="QCheckBox" name="fSelectedText_checkBox">
<property name="geometry">
<rect>
<x>180</x>
<y>60</y>
<width>141</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&amp;Selected text</string>
</property>
</widget>
</widget>
<widget class="Line" name="line">
<property name="geometry">
<rect>
<x>0</x>
<y>200</y>
<width>351</width>
<height>16</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</widget>
<tabstops>
<tabstop>fFind_comboBox</tabstop>
<tabstop>fCaseSensitive_checkBox</tabstop>
<tabstop>fWholeWordsOnly_checkBox</tabstop>
<tabstop>fFromCursor_checkBox</tabstop>
<tabstop>fFindBackwards_checkBox</tabstop>
<tabstop>fSelectedText_checkBox</tabstop>
<tabstop>fFind_pushButton</tabstop>
<tabstop>fClose_pushButton</tabstop>
</tabstops>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fClose_pushButton</sender>
<signal>clicked()</signal>
<receiver>PFindDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>287</x>
<y>205</y>
</hint>
<hint type="destinationlabel">
<x>344</x>
<y>228</y>
</hint>
</hints>
</connection>
<connection>
<sender>fFind_pushButton</sender>
<signal>clicked()</signal>
<receiver>PFindDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>208</x>
<y>211</y>
</hint>
<hint type="destinationlabel">
<x>171</x>
<y>211</y>
</hint>
</hints>
</connection>
<connection>
<sender>fFind_comboBox</sender>
<signal>editTextChanged(QString)</signal>
<receiver>PFindDialog</receiver>
<slot>onFindTextAvailable(QString)</slot>
<hints>
<hint type="sourcelabel">
<x>126</x>
<y>58</y>
</hint>
<hint type="destinationlabel">
<x>105</x>
<y>218</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>onFindTextAvailable(QString)</slot>
</slots>
</ui>

View File

@@ -0,0 +1,707 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PGetAsymmetryRunBlockDialog</class>
<widget class="QDialog" name="PGetAsymmetryRunBlockDialog">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>446</width>
<height>503</height>
</rect>
</property>
<property name="windowTitle">
<string>Get Asymmetry Run Block Parameters</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QGroupBox" name="fRunHeaderInfo_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>441</width>
<height>121</height>
</rect>
</property>
<property name="title">
<string>Run Header Info</string>
</property>
<widget class="QLabel" name="fRunFileName_label">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Run File Name</string>
</property>
</widget>
<widget class="QLabel" name="fBeamline_label">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Beamline</string>
</property>
</widget>
<widget class="QLabel" name="fInstitute_label">
<property name="geometry">
<rect>
<x>20</x>
<y>90</y>
<width>56</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Institute</string>
</property>
</widget>
<widget class="QLabel" name="fFileFormat_label">
<property name="geometry">
<rect>
<x>260</x>
<y>90</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>File Format</string>
</property>
</widget>
<widget class="QLineEdit" name="fRunFileName_lineEdit">
<property name="geometry">
<rect>
<x>120</x>
<y>26</y>
<width>311</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fBeamline_lineEdit">
<property name="geometry">
<rect>
<x>120</x>
<y>56</y>
<width>113</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QComboBox" name="fInstitute_comboBox">
<property name="geometry">
<rect>
<x>120</x>
<y>86</y>
<width>77</width>
<height>25</height>
</rect>
</property>
<item>
<property name="text">
<string>PSI</string>
</property>
</item>
<item>
<property name="text">
<string>RAL</string>
</property>
</item>
<item>
<property name="text">
<string>TRIUMF</string>
</property>
</item>
<item>
<property name="text">
<string>JPARC</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="fFileFormat_comboBox">
<property name="geometry">
<rect>
<x>336</x>
<y>86</y>
<width>91</width>
<height>25</height>
</rect>
</property>
<item>
<property name="text">
<string>NeXuS</string>
</property>
</item>
<item>
<property name="text">
<string>ROOT-NPP</string>
</property>
</item>
<item>
<property name="text">
<string>ROOT-PPC</string>
</property>
</item>
<item>
<property name="text">
<string>PSI-BIN</string>
</property>
</item>
<item>
<property name="text">
<string>PSI-MDU</string>
</property>
</item>
<item>
<property name="text">
<string>MUD</string>
</property>
</item>
<item>
<property name="text">
<string>MDU-ASCII</string>
</property>
</item>
<item>
<property name="text">
<string>ASCII</string>
</property>
</item>
<item>
<property name="text">
<string>DB</string>
</property>
</item>
</widget>
</widget>
<widget class="QGroupBox" name="fRequiredEntries_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>120</y>
<width>441</width>
<height>241</height>
</rect>
</property>
<property name="title">
<string>Required Entries</string>
</property>
<widget class="QLabel" name="fMap_label">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>56</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Map</string>
</property>
</widget>
<widget class="QLabel" name="fForwardHistoNo_label">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Forward Histo No</string>
</property>
</widget>
<widget class="QLabel" name="fBackwardHistoNo_label">
<property name="geometry">
<rect>
<x>240</x>
<y>60</y>
<width>121</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Backward Histo No</string>
</property>
</widget>
<widget class="QLabel" name="fDataRange_label">
<property name="geometry">
<rect>
<x>20</x>
<y>90</y>
<width>81</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Data Range</string>
</property>
</widget>
<widget class="QLabel" name="fBackgroundFix_label">
<property name="geometry">
<rect>
<x>20</x>
<y>120</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Background Fix</string>
</property>
</widget>
<widget class="QLabel" name="fOr_label">
<property name="geometry">
<rect>
<x>310</x>
<y>120</y>
<width>31</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>OR</string>
</property>
</widget>
<widget class="QLabel" name="fBackgroundRange_label">
<property name="geometry">
<rect>
<x>20</x>
<y>150</y>
<width>121</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Background Range</string>
</property>
</widget>
<widget class="QLabel" name="fFitRange_label">
<property name="geometry">
<rect>
<x>20</x>
<y>180</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Fit Range</string>
</property>
</widget>
<widget class="QLineEdit" name="fMap_lineEdit">
<property name="geometry">
<rect>
<x>60</x>
<y>26</y>
<width>371</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>0 0 0 0 0 0 0 0 0</string>
</property>
</widget>
<widget class="QLineEdit" name="fForwardHistoNo_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>56</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fBackwardHistoNo_lineEdit">
<property name="geometry">
<rect>
<x>360</x>
<y>56</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fDataForwardStart_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>86</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fDataForwardEnd_lineEdit">
<property name="geometry">
<rect>
<x>220</x>
<y>86</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fDataBackwardStart_lineEdit">
<property name="geometry">
<rect>
<x>290</x>
<y>86</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fDataBackwardEnd_lineEdit">
<property name="geometry">
<rect>
<x>360</x>
<y>86</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fBackgroundForwardFix_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>116</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fBackgroundBackwardFix_lineEdit">
<property name="geometry">
<rect>
<x>220</x>
<y>116</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fBackgroundForwardStart_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>146</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fBackgroundForwardEnd_lineEdit">
<property name="geometry">
<rect>
<x>220</x>
<y>146</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fBackgroundBackwardStart_lineEdit">
<property name="geometry">
<rect>
<x>290</x>
<y>146</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fBackgroundBackwardEnd_lineEdit">
<property name="geometry">
<rect>
<x>360</x>
<y>146</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fFitRangeStart_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>176</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fFitRangeEnd_lineEdit">
<property name="geometry">
<rect>
<x>220</x>
<y>176</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fPacking_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>206</y>
<width>71</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>1</string>
</property>
</widget>
<widget class="QLabel" name="fPacking_textLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>210</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Packing/Binning</string>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="fOptionalEntries_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>360</y>
<width>441</width>
<height>91</height>
</rect>
</property>
<property name="title">
<string>Optional Entries</string>
</property>
<widget class="QLabel" name="fAplha_textLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>131</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Alpha (default = 1.0)</string>
</property>
</widget>
<widget class="QLabel" name="fBeta_label">
<property name="geometry">
<rect>
<x>240</x>
<y>30</y>
<width>121</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Beta (default = 1.0)</string>
</property>
</widget>
<widget class="QLabel" name="fT0_label">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>241</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>t0 (reqired if not given in the data file)</string>
</property>
</widget>
<widget class="QLineEdit" name="fAlpha_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>26</y>
<width>71</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLineEdit" name="fBeta_lineEdit">
<property name="geometry">
<rect>
<x>360</x>
<y>26</y>
<width>71</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string/>
</property>
</widget>
<widget class="QLineEdit" name="fT0Forward_lineEdit">
<property name="geometry">
<rect>
<x>290</x>
<y>56</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fT0Backward_lineEdit">
<property name="geometry">
<rect>
<x>360</x>
<y>56</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>460</y>
<width>441</width>
<height>36</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="fHelp_pushButton">
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>188</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fCancel_pushButton">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fCancel_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetAsymmetryRunBlockDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>458</x>
<y>434</y>
</hint>
<hint type="destinationlabel">
<x>471</x>
<y>415</y>
</hint>
</hints>
</connection>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetAsymmetryRunBlockDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>394</x>
<y>438</y>
</hint>
<hint type="destinationlabel">
<x>407</x>
<y>406</y>
</hint>
</hints>
</connection>
<connection>
<sender>fHelp_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetAsymmetryRunBlockDialog</receiver>
<slot>helpContent()</slot>
<hints>
<hint type="sourcelabel">
<x>47</x>
<y>437</y>
</hint>
<hint type="destinationlabel">
<x>70</x>
<y>398</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>helpContent()</slot>
</slots>
</ui>

View File

@@ -0,0 +1,312 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PGetDefaultDialog</class>
<widget class="QDialog" name="PGetDefaultDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>168</height>
</rect>
</property>
<property name="windowTitle">
<string>Run</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>130</y>
<width>381</width>
<height>25</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="fHelp_pushButton">
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>118</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fCancel_pushButton">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>381</width>
<height>22</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="fRunFileName_label">
<property name="text">
<string>Run File Name</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fRunFileName_lineEdit"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>381</width>
<height>22</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="fBeamline_label">
<property name="minimumSize">
<size>
<width>68</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Beamline</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fBeamline_lineEdit"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>70</y>
<width>156</width>
<height>22</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="fInstitute_label">
<property name="minimumSize">
<size>
<width>68</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Institute</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="fInstitute_comboBox">
<property name="minimumSize">
<size>
<width>80</width>
<height>0</height>
</size>
</property>
<item>
<property name="text">
<string>PSI</string>
</property>
</item>
<item>
<property name="text">
<string>RAL</string>
</property>
</item>
<item>
<property name="text">
<string>TRIUMF</string>
</property>
</item>
<item>
<property name="text">
<string>JPARC</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>100</y>
<width>156</width>
<height>22</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="fFileFormat_label">
<property name="minimumSize">
<size>
<width>68</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>File Format</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="fFileFormat_comboBox">
<item>
<property name="text">
<string>NeXuS</string>
</property>
</item>
<item>
<property name="text">
<string>ROOT-NPP</string>
</property>
</item>
<item>
<property name="text">
<string>ROOT-PPC</string>
</property>
</item>
<item>
<property name="text">
<string>PSI-BIN</string>
</property>
</item>
<item>
<property name="text">
<string>MDU</string>
</property>
</item>
<item>
<property name="text">
<string>MDU-ASCII</string>
</property>
</item>
<item>
<property name="text">
<string>MUD</string>
</property>
</item>
<item>
<property name="text">
<string>WKM</string>
</property>
</item>
<item>
<property name="text">
<string>ASCII</string>
</property>
</item>
<item>
<property name="text">
<string>DB</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</widget>
<tabstops>
<tabstop>fOk_pushButton</tabstop>
<tabstop>fCancel_pushButton</tabstop>
<tabstop>fHelp_pushButton</tabstop>
</tabstops>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fCancel_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetDefaultDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>337</x>
<y>272</y>
</hint>
<hint type="destinationlabel">
<x>355</x>
<y>225</y>
</hint>
</hints>
</connection>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetDefaultDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>286</x>
<y>265</y>
</hint>
<hint type="destinationlabel">
<x>243</x>
<y>227</y>
</hint>
</hints>
</connection>
<connection>
<sender>fHelp_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetDefaultDialog</receiver>
<slot>helpContent()</slot>
<hints>
<hint type="sourcelabel">
<x>50</x>
<y>273</y>
</hint>
<hint type="destinationlabel">
<x>115</x>
<y>221</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>helpContent()</slot>
</slots>
</ui>

View File

@@ -0,0 +1,391 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PGetFourierBlockDialog</class>
<widget class="QDialog" name="PGetFourierBlockDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>400</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Get Fourier</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>260</y>
<width>381</width>
<height>32</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="fHelp_pushButton">
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>118</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fCancel_pushButton">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QLabel" name="fUnits_label">
<property name="geometry">
<rect>
<x>40</x>
<y>20</y>
<width>61</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Units</string>
</property>
</widget>
<widget class="QLabel" name="fFourierPower_label">
<property name="geometry">
<rect>
<x>30</x>
<y>40</y>
<width>151</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Fourier Power</string>
</property>
</widget>
<widget class="QLabel" name="fApodization_label">
<property name="geometry">
<rect>
<x>40</x>
<y>70</y>
<width>141</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Apodization</string>
</property>
</widget>
<widget class="QLabel" name="fPlot_label">
<property name="geometry">
<rect>
<x>50</x>
<y>100</y>
<width>61</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Plot</string>
</property>
</widget>
<widget class="QLabel" name="fPhase_label">
<property name="geometry">
<rect>
<x>40</x>
<y>140</y>
<width>61</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Phase</string>
</property>
</widget>
<widget class="QLabel" name="fPhaseCorrectionRange_label">
<property name="geometry">
<rect>
<x>30</x>
<y>170</y>
<width>111</width>
<height>41</height>
</rect>
</property>
<property name="text">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Lucida Grande'; font-size:8pt;&quot;&gt;Phase Correction&lt;/span&gt;&lt;/p&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Lucida Grande'; font-size:8pt;&quot;&gt;Range&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QLabel" name="fRange_label">
<property name="geometry">
<rect>
<x>30</x>
<y>220</y>
<width>61</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Range</string>
</property>
</widget>
<widget class="QComboBox" name="fUnits_comboBox">
<property name="geometry">
<rect>
<x>170</x>
<y>10</y>
<width>111</width>
<height>26</height>
</rect>
</property>
<item>
<property name="text">
<string>Gauss</string>
</property>
</item>
<item>
<property name="text">
<string>MHz</string>
</property>
</item>
<item>
<property name="text">
<string>Mc/s</string>
</property>
</item>
</widget>
<widget class="QLineEdit" name="fFourierPower_lineEdit">
<property name="geometry">
<rect>
<x>170</x>
<y>40</y>
<width>113</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QComboBox" name="fApodization_comboBox">
<property name="geometry">
<rect>
<x>170</x>
<y>70</y>
<width>111</width>
<height>26</height>
</rect>
</property>
<item>
<property name="text">
<string>None</string>
</property>
</item>
<item>
<property name="text">
<string>Weak</string>
</property>
</item>
<item>
<property name="text">
<string>Medium</string>
</property>
</item>
<item>
<property name="text">
<string>Strong</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="fPlot_comboBox">
<property name="geometry">
<rect>
<x>160</x>
<y>100</y>
<width>111</width>
<height>26</height>
</rect>
</property>
<item>
<property name="text">
<string>Power</string>
</property>
</item>
<item>
<property name="text">
<string>Real</string>
</property>
</item>
<item>
<property name="text">
<string>Imag</string>
</property>
</item>
<item>
<property name="text">
<string>Real &amp; Imag</string>
</property>
</item>
<item>
<property name="text">
<string>Phase</string>
</property>
</item>
</widget>
<widget class="QLineEdit" name="fPhase_lineEdit">
<property name="geometry">
<rect>
<x>160</x>
<y>140</y>
<width>113</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fPhaseCorrectionRangeLow_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>170</y>
<width>113</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fPhaseCorrectionRangeUp_lineEdit">
<property name="geometry">
<rect>
<x>270</x>
<y>170</y>
<width>113</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fRangeLow_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>210</y>
<width>113</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fRangeUp_lineEdit">
<property name="geometry">
<rect>
<x>280</x>
<y>210</y>
<width>113</width>
<height>22</height>
</rect>
</property>
</widget>
</widget>
<tabstops>
<tabstop>fOk_pushButton</tabstop>
<tabstop>fCancel_pushButton</tabstop>
<tabstop>fHelp_pushButton</tabstop>
</tabstops>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fCancel_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetFourierBlockDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>337</x>
<y>272</y>
</hint>
<hint type="destinationlabel">
<x>355</x>
<y>225</y>
</hint>
</hints>
</connection>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetFourierBlockDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>286</x>
<y>265</y>
</hint>
<hint type="destinationlabel">
<x>243</x>
<y>227</y>
</hint>
</hints>
</connection>
<connection>
<sender>fHelp_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetFourierBlockDialog</receiver>
<slot>helpContent()</slot>
<hints>
<hint type="sourcelabel">
<x>50</x>
<y>273</y>
</hint>
<hint type="destinationlabel">
<x>115</x>
<y>221</y>
</hint>
</hints>
</connection>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetFourierBlockDialog</receiver>
<slot>fillFourierBlock()</slot>
<hints>
<hint type="sourcelabel">
<x>247</x>
<y>274</y>
</hint>
<hint type="destinationlabel">
<x>175</x>
<y>264</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>helpContent()</slot>
<slot>fillFourierBlock()</slot>
</slots>
</ui>

View File

@@ -0,0 +1,253 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PGetFunctionsBlockDialog</class>
<widget class="QDialog" name="PGetFunctionsBlockDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>636</width>
<height>604</height>
</rect>
</property>
<property name="windowTitle">
<string>Get Functions</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>570</y>
<width>631</width>
<height>32</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="fHelp_pushButton">
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>118</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fCancel_pushButton">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QTextEdit" name="fHelp_textEdit">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>631</width>
<height>201</height>
</rect>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Lucida Grande';&quot;&gt;Supported basic arithmetics: &lt;/span&gt;&lt;span style=&quot; font-family:'Courier New,courier';&quot;&gt;+, -, *, /, ()&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Lucida Grande';&quot;&gt;Supported built-in functions; &lt;/span&gt;&lt;span style=&quot; font-family:'Courier New,courier';&quot;&gt;cos(), sin(), tan(), acos(), asin(), atan(), cosh(), sinh(), tanh(), acosh(), asinh(), atanh(), exp(), log(), ln()&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Lucida Grande';&quot;&gt;Supported pre-defined constants&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New,courier';&quot;&gt;gamma_mu = 0.0135538817 (MHz/G)&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New,courier';&quot;&gt;pi = 3.1415926535897932846&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Lucida Grande';&quot;&gt;Parameters and Maps are reached via parX, mapY, where X, Y are numbers, e.g. par1, map3&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Lucida Grande';&quot;&gt;Examples:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New,courier';&quot;&gt;fun1 = gamma_mu * par3&lt;/span&gt;&lt;span style=&quot; font-family:'Lucida Grande';&quot;&gt; valid&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New,courier';&quot;&gt;fun2 = par2/map4 * sin(par3*par5)&lt;/span&gt;&lt;span style=&quot; font-family:'Lucida Grande';&quot;&gt; valid&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Courier New,courier';&quot;&gt;fun3 = fun1 + par6&lt;/span&gt;&lt;span style=&quot; font-family:'Lucida Grande';&quot;&gt; invalid, since functions cannot be used with the functions definition&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QGroupBox" name="fInput_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>210</y>
<width>631</width>
<height>101</height>
</rect>
</property>
<property name="title">
<string>Input</string>
</property>
<widget class="QLineEdit" name="fFunctionInput_lineEdit">
<property name="geometry">
<rect>
<x>90</x>
<y>30</y>
<width>521</width>
<height>22</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="fFunction_label">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>71</width>
<height>17</height>
</rect>
</property>
<property name="text">
<string>Function:</string>
</property>
</widget>
<widget class="QPushButton" name="fAdd_pushButton">
<property name="geometry">
<rect>
<x>500</x>
<y>60</y>
<width>113</width>
<height>32</height>
</rect>
</property>
<property name="text">
<string>Add</string>
</property>
</widget>
</widget>
<widget class="QPlainTextEdit" name="fFunctionBlock_plainTextEdit">
<property name="geometry">
<rect>
<x>0</x>
<y>310</y>
<width>631</width>
<height>251</height>
</rect>
</property>
<property name="plainText">
<string>#####################################################
FUNCTIONS</string>
</property>
</widget>
</widget>
<tabstops>
<tabstop>fOk_pushButton</tabstop>
<tabstop>fCancel_pushButton</tabstop>
<tabstop>fHelp_pushButton</tabstop>
</tabstops>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fCancel_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetFunctionsBlockDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>629</x>
<y>584</y>
</hint>
<hint type="destinationlabel">
<x>368</x>
<y>565</y>
</hint>
</hints>
</connection>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetFunctionsBlockDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>538</x>
<y>577</y>
</hint>
<hint type="destinationlabel">
<x>265</x>
<y>583</y>
</hint>
</hints>
</connection>
<connection>
<sender>fHelp_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetFunctionsBlockDialog</receiver>
<slot>helpContent()</slot>
<hints>
<hint type="sourcelabel">
<x>41</x>
<y>585</y>
</hint>
<hint type="destinationlabel">
<x>111</x>
<y>582</y>
</hint>
</hints>
</connection>
<connection>
<sender>fAdd_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetFunctionsBlockDialog</receiver>
<slot>addFunction()</slot>
<hints>
<hint type="sourcelabel">
<x>555</x>
<y>289</y>
</hint>
<hint type="destinationlabel">
<x>410</x>
<y>591</y>
</hint>
</hints>
</connection>
<connection>
<sender>fFunctionInput_lineEdit</sender>
<signal>returnPressed()</signal>
<receiver>PGetFunctionsBlockDialog</receiver>
<slot>addFunction()</slot>
<hints>
<hint type="sourcelabel">
<x>399</x>
<y>252</y>
</hint>
<hint type="destinationlabel">
<x>413</x>
<y>570</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>helpContent()</slot>
<slot>addFunction()</slot>
</slots>
</ui>

View File

@@ -0,0 +1,462 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PGetNonMusrRunBlockDialog</class>
<widget class="QDialog" name="PGetNonMusrRunBlockDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>402</width>
<height>300</height>
</rect>
</property>
<property name="windowTitle">
<string>Get NonMusr Run Block Parameters</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QGroupBox" name="fRunHeaderInfo_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>401</width>
<height>131</height>
</rect>
</property>
<property name="title">
<string>Run Header Info</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>381</width>
<height>28</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="fRunFileName_label">
<property name="text">
<string>Run File Name</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fRunFileName_lineEdit"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>11</x>
<y>60</y>
<width>381</width>
<height>28</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="fBeamline_label">
<property name="text">
<string>Beamline</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>23</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLineEdit" name="fBeamline_lineEdit"/>
</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>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>91</y>
<width>381</width>
<height>27</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="fInstitute_label">
<property name="text">
<string>Institute</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>34</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QComboBox" name="fInstitute_comboBox">
<item>
<property name="text">
<string>PSI</string>
</property>
</item>
<item>
<property name="text">
<string>RAL</string>
</property>
</item>
<item>
<property name="text">
<string>TRIUMF</string>
</property>
</item>
<item>
<property name="text">
<string>JPARC</string>
</property>
</item>
</widget>
</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>
<item>
<widget class="QLabel" name="fFileFormat_label">
<property name="text">
<string>File Format</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="fFileFormat_comboBox">
<item>
<property name="text">
<string>ASCII</string>
</property>
</item>
<item>
<property name="text">
<string>DB</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="fReqiredEntries_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>130</y>
<width>401</width>
<height>131</height>
</rect>
</property>
<property name="title">
<string>Required Entries</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>381</width>
<height>28</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="fMap_label">
<property name="text">
<string>Map</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fMap_lineEdit">
<property name="text">
<string>0 0 0 0 0 0 0 0 0 0</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>11</x>
<y>60</y>
<width>281</width>
<height>28</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="fXYData_label">
<property name="text">
<string>xy-Data</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>37</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLineEdit" name="fXData_lineEdit"/>
</item>
<item>
<widget class="QLineEdit" name="fYData_lineEdit"/>
</item>
</layout>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>92</y>
<width>291</width>
<height>28</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QLabel" name="fFitRange_label">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Fit Range</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fFitRangeStart_lineEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>105</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>105</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fFitRangeEnd_lineEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>105</width>
<height>0</height>
</size>
</property>
<property name="maximumSize">
<size>
<width>105</width>
<height>16777215</height>
</size>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>270</y>
<width>381</width>
<height>27</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="fHelp_pushButton">
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fCancel_pushButton">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<tabstops>
<tabstop>fRunFileName_lineEdit</tabstop>
<tabstop>fBeamline_lineEdit</tabstop>
<tabstop>fInstitute_comboBox</tabstop>
<tabstop>fFileFormat_comboBox</tabstop>
<tabstop>fMap_lineEdit</tabstop>
<tabstop>fXData_lineEdit</tabstop>
<tabstop>fYData_lineEdit</tabstop>
<tabstop>fFitRangeStart_lineEdit</tabstop>
<tabstop>fFitRangeEnd_lineEdit</tabstop>
<tabstop>fOk_pushButton</tabstop>
<tabstop>fCancel_pushButton</tabstop>
<tabstop>fHelp_pushButton</tabstop>
</tabstops>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fCancel_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetNonMusrRunBlockDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>337</x>
<y>281</y>
</hint>
<hint type="destinationlabel">
<x>364</x>
<y>216</y>
</hint>
</hints>
</connection>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetNonMusrRunBlockDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>289</x>
<y>277</y>
</hint>
<hint type="destinationlabel">
<x>238</x>
<y>220</y>
</hint>
</hints>
</connection>
<connection>
<sender>fHelp_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetNonMusrRunBlockDialog</receiver>
<slot>helpContent()</slot>
<hints>
<hint type="sourcelabel">
<x>37</x>
<y>286</y>
</hint>
<hint type="destinationlabel">
<x>78</x>
<y>229</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>helpContent()</slot>
</slots>
</ui>

View File

@@ -0,0 +1,344 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PGetParameterBlockDialog</class>
<widget class="QDialog" name="PGetParameterBlockDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>656</width>
<height>476</height>
</rect>
</property>
<property name="windowTitle">
<string>Get Parameter</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>430</y>
<width>631</width>
<height>32</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="fHelp_pushButton">
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>118</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fCancel_pushButton">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPlainTextEdit" name="fParam_plainTextEdit">
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>631</width>
<height>331</height>
</rect>
</property>
<property name="plainText">
<string>###############################################################
FITPARAMETER
# Nr. Name Value Step Pos_Error Boundaries</string>
</property>
</widget>
<widget class="QPushButton" name="fAdd_pushButton">
<property name="geometry">
<rect>
<x>560</x>
<y>50</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&amp;Add</string>
</property>
</widget>
<widget class="QLabel" name="fParamNo_label">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>31</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>No.</string>
</property>
</widget>
<widget class="QLabel" name="fName_label">
<property name="geometry">
<rect>
<x>60</x>
<y>30</y>
<width>46</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>Name</string>
</property>
</widget>
<widget class="QLabel" name="fValue_label">
<property name="geometry">
<rect>
<x>180</x>
<y>30</y>
<width>46</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>Value</string>
</property>
</widget>
<widget class="QLabel" name="fStep_label">
<property name="geometry">
<rect>
<x>270</x>
<y>30</y>
<width>46</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>Step</string>
</property>
</widget>
<widget class="QGroupBox" name="fBoundaries_groupBox">
<property name="geometry">
<rect>
<x>370</x>
<y>10</y>
<width>171</width>
<height>71</height>
</rect>
</property>
<property name="title">
<string>Boundaries</string>
</property>
<widget class="QLabel" name="fLower_label">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>46</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>Lower</string>
</property>
</widget>
<widget class="QLabel" name="fUpper_label">
<property name="geometry">
<rect>
<x>90</x>
<y>20</y>
<width>46</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>Upper</string>
</property>
</widget>
<widget class="QLineEdit" name="fLower_lineEdit">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>none</string>
</property>
</widget>
<widget class="QLineEdit" name="fUpper_lineEdit">
<property name="geometry">
<rect>
<x>90</x>
<y>40</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>none</string>
</property>
</widget>
</widget>
<widget class="QSpinBox" name="fParamNo_spinBox">
<property name="geometry">
<rect>
<x>10</x>
<y>50</y>
<width>42</width>
<height>22</height>
</rect>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="maximum">
<number>999</number>
</property>
</widget>
<widget class="QLineEdit" name="fName_lineEdit">
<property name="geometry">
<rect>
<x>60</x>
<y>50</y>
<width>113</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fValue_lineEdit">
<property name="geometry">
<rect>
<x>180</x>
<y>50</y>
<width>81</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fStep_lineEdit">
<property name="geometry">
<rect>
<x>270</x>
<y>50</y>
<width>81</width>
<height>20</height>
</rect>
</property>
</widget>
</widget>
<tabstops>
<tabstop>fParamNo_spinBox</tabstop>
<tabstop>fName_lineEdit</tabstop>
<tabstop>fValue_lineEdit</tabstop>
<tabstop>fStep_lineEdit</tabstop>
<tabstop>fLower_lineEdit</tabstop>
<tabstop>fUpper_lineEdit</tabstop>
<tabstop>fAdd_pushButton</tabstop>
<tabstop>fOk_pushButton</tabstop>
<tabstop>fCancel_pushButton</tabstop>
<tabstop>fParam_plainTextEdit</tabstop>
<tabstop>fHelp_pushButton</tabstop>
</tabstops>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fCancel_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetParameterBlockDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>639</x>
<y>434</y>
</hint>
<hint type="destinationlabel">
<x>338</x>
<y>429</y>
</hint>
</hints>
</connection>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetParameterBlockDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>548</x>
<y>436</y>
</hint>
<hint type="destinationlabel">
<x>448</x>
<y>438</y>
</hint>
</hints>
</connection>
<connection>
<sender>fAdd_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetParameterBlockDialog</receiver>
<slot>paramAdd()</slot>
<hints>
<hint type="sourcelabel">
<x>594</x>
<y>59</y>
</hint>
<hint type="destinationlabel">
<x>562</x>
<y>16</y>
</hint>
</hints>
</connection>
<connection>
<sender>fHelp_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetParameterBlockDialog</receiver>
<slot>helpContent()</slot>
<hints>
<hint type="sourcelabel">
<x>62</x>
<y>447</y>
</hint>
<hint type="destinationlabel">
<x>148</x>
<y>443</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>helpContent()</slot>
<slot>paramAdd()</slot>
</slots>
</ui>

View File

@@ -0,0 +1,300 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PGetPlotBlockDialog</class>
<widget class="QDialog" name="PGetPlotBlockDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>594</width>
<height>349</height>
</rect>
</property>
<property name="windowTitle">
<string>Get Plot</string>
</property>
<property name="windowIcon">
<iconset>
<normaloff>:/musredit/musrfit.xpm</normaloff>:/musredit/musrfit.xpm</iconset>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>310</y>
<width>571</width>
<height>29</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="fHelp_pushButton">
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>118</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fCancel_pushButton">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QPlainTextEdit" name="fPlot_plainTextEdit">
<property name="geometry">
<rect>
<x>10</x>
<y>70</y>
<width>571</width>
<height>231</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="fType_label">
<property name="geometry">
<rect>
<x>10</x>
<y>15</y>
<width>46</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>Type</string>
</property>
</widget>
<widget class="QComboBox" name="fType_comboBox">
<property name="geometry">
<rect>
<x>60</x>
<y>10</y>
<width>141</width>
<height>22</height>
</rect>
</property>
<item>
<property name="text">
<string>Single Histo</string>
</property>
</item>
<item>
<property name="text">
<string>Asymmetry</string>
</property>
</item>
<item>
<property name="text">
<string>MuMinus</string>
</property>
</item>
<item>
<property name="text">
<string>NonMusr</string>
</property>
</item>
</widget>
<widget class="QLabel" name="fRunList_label">
<property name="geometry">
<rect>
<x>10</x>
<y>45</y>
<width>46</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>Run List</string>
</property>
</widget>
<widget class="QLineEdit" name="fRunList_lineEdit">
<property name="geometry">
<rect>
<x>60</x>
<y>40</y>
<width>141</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="fXRange_label">
<property name="geometry">
<rect>
<x>220</x>
<y>15</y>
<width>91</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>Time-/x-Range</string>
</property>
</widget>
<widget class="QLineEdit" name="fXRangeLow_lineEdit">
<property name="geometry">
<rect>
<x>320</x>
<y>10</y>
<width>81</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fXRangeUp_lineEdit">
<property name="geometry">
<rect>
<x>410</x>
<y>10</y>
<width>81</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="fYRange_label">
<property name="geometry">
<rect>
<x>220</x>
<y>45</y>
<width>61</width>
<height>13</height>
</rect>
</property>
<property name="text">
<string>y-Range</string>
</property>
</widget>
<widget class="QLineEdit" name="fYRangeLow_lineEdit">
<property name="geometry">
<rect>
<x>320</x>
<y>40</y>
<width>81</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fYRangeUp_lineEdit">
<property name="geometry">
<rect>
<x>410</x>
<y>40</y>
<width>81</width>
<height>20</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="fAdd_pushButton">
<property name="geometry">
<rect>
<x>500</x>
<y>25</y>
<width>75</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&amp;Add</string>
</property>
</widget>
</widget>
<tabstops>
<tabstop>fOk_pushButton</tabstop>
<tabstop>fCancel_pushButton</tabstop>
<tabstop>fHelp_pushButton</tabstop>
</tabstops>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fCancel_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetPlotBlockDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>579</x>
<y>311</y>
</hint>
<hint type="destinationlabel">
<x>355</x>
<y>225</y>
</hint>
</hints>
</connection>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetPlotBlockDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>488</x>
<y>311</y>
</hint>
<hint type="destinationlabel">
<x>243</x>
<y>227</y>
</hint>
</hints>
</connection>
<connection>
<sender>fHelp_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetPlotBlockDialog</receiver>
<slot>helpContent()</slot>
<hints>
<hint type="sourcelabel">
<x>51</x>
<y>311</y>
</hint>
<hint type="destinationlabel">
<x>115</x>
<y>221</y>
</hint>
</hints>
</connection>
<connection>
<sender>fAdd_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetPlotBlockDialog</receiver>
<slot>addPlot()</slot>
<hints>
<hint type="sourcelabel">
<x>536</x>
<y>36</y>
</hint>
<hint type="destinationlabel">
<x>291</x>
<y>316</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>helpContent()</slot>
<slot>addPlot()</slot>
</slots>
</ui>

View File

@@ -0,0 +1,654 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PGetSingleHistoRunBlockDialog</class>
<widget class="QDialog" name="PGetSingleHistoRunBlockDialog">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>424</width>
<height>586</height>
</rect>
</property>
<property name="windowTitle">
<string>Get Single Histogram Run Block Parameters</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QGroupBox" name="fRunHeaderInfo_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>421</width>
<height>121</height>
</rect>
</property>
<property name="title">
<string>Run Header Info</string>
</property>
<widget class="QLabel" name="fRunFileName_label">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Run File Name</string>
</property>
</widget>
<widget class="QLabel" name="fBeamline_label">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Beamline</string>
</property>
</widget>
<widget class="QLabel" name="fInstitute_label">
<property name="geometry">
<rect>
<x>20</x>
<y>90</y>
<width>56</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Institute</string>
</property>
</widget>
<widget class="QLabel" name="fFileFormat_label">
<property name="geometry">
<rect>
<x>240</x>
<y>90</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>File Format</string>
</property>
</widget>
<widget class="QLineEdit" name="fRunFileName_lineEdit">
<property name="geometry">
<rect>
<x>120</x>
<y>26</y>
<width>291</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fBeamline_lineEdit">
<property name="geometry">
<rect>
<x>120</x>
<y>56</y>
<width>113</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QComboBox" name="fInstitute_comboBox">
<property name="geometry">
<rect>
<x>120</x>
<y>86</y>
<width>77</width>
<height>25</height>
</rect>
</property>
<item>
<property name="text">
<string>PSI</string>
</property>
</item>
<item>
<property name="text">
<string>RAL</string>
</property>
</item>
<item>
<property name="text">
<string>TRIUMF</string>
</property>
</item>
<item>
<property name="text">
<string>JPARC</string>
</property>
</item>
</widget>
<widget class="QComboBox" name="fFileFormat_comboBox">
<property name="geometry">
<rect>
<x>316</x>
<y>86</y>
<width>91</width>
<height>25</height>
</rect>
</property>
<item>
<property name="text">
<string>NeXuS</string>
</property>
</item>
<item>
<property name="text">
<string>ROOT-NPP</string>
</property>
</item>
<item>
<property name="text">
<string>ROOT-PPC</string>
</property>
</item>
<item>
<property name="text">
<string>PSI-BIN</string>
</property>
</item>
<item>
<property name="text">
<string>PSI-MDU</string>
</property>
</item>
<item>
<property name="text">
<string>MUD</string>
</property>
</item>
<item>
<property name="text">
<string>MDU-ASCII</string>
</property>
</item>
<item>
<property name="text">
<string>ASCII</string>
</property>
</item>
<item>
<property name="text">
<string>DB</string>
</property>
</item>
</widget>
</widget>
<widget class="QGroupBox" name="fRequiredEntries_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>120</y>
<width>421</width>
<height>301</height>
</rect>
</property>
<property name="title">
<string>Required Entries</string>
</property>
<widget class="QLabel" name="fMap_label">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>56</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Map</string>
</property>
</widget>
<widget class="QLabel" name="fForwardHistoNo_label">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>111</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Forward Histo No</string>
</property>
</widget>
<widget class="QLabel" name="fDataRange_label">
<property name="geometry">
<rect>
<x>20</x>
<y>120</y>
<width>81</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Data Range</string>
</property>
</widget>
<widget class="QLabel" name="fBackgroundFix_label">
<property name="geometry">
<rect>
<x>20</x>
<y>150</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Background Fix</string>
</property>
</widget>
<widget class="QLabel" name="fOr_label">
<property name="geometry">
<rect>
<x>240</x>
<y>150</y>
<width>31</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<weight>75</weight>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>OR</string>
</property>
</widget>
<widget class="QLabel" name="fBackgroundRange_label">
<property name="geometry">
<rect>
<x>20</x>
<y>210</y>
<width>121</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Background Range</string>
</property>
</widget>
<widget class="QLabel" name="fFitRange_label">
<property name="geometry">
<rect>
<x>20</x>
<y>240</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Fit Range</string>
</property>
</widget>
<widget class="QLineEdit" name="fMap_lineEdit">
<property name="geometry">
<rect>
<x>60</x>
<y>26</y>
<width>351</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>0 0 0 0 0 0 0 0 0</string>
</property>
</widget>
<widget class="QLineEdit" name="fForwardHistoNo_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>56</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fDataStart_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>116</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fDataEnd_lineEdit">
<property name="geometry">
<rect>
<x>220</x>
<y>116</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fBackgroundFix_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>146</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fBackgroundStart_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>206</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fBackgroundEnd_lineEdit">
<property name="geometry">
<rect>
<x>220</x>
<y>206</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fFitRangeStart_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>236</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fFitRangeEnd_lineEdit">
<property name="geometry">
<rect>
<x>220</x>
<y>236</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLineEdit" name="fPacking_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>266</y>
<width>71</width>
<height>26</height>
</rect>
</property>
<property name="text">
<string>1</string>
</property>
</widget>
<widget class="QLabel" name="fPacking_textLabel">
<property name="geometry">
<rect>
<x>20</x>
<y>270</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Packing/Binning</string>
</property>
</widget>
<widget class="QLabel" name="fNorm_label">
<property name="geometry">
<rect>
<x>20</x>
<y>90</y>
<width>56</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Norm</string>
</property>
</widget>
<widget class="QLineEdit" name="fNorm_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>86</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="fBackgroundFit_label">
<property name="geometry">
<rect>
<x>20</x>
<y>180</y>
<width>101</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Background Fit</string>
</property>
</widget>
<widget class="QLineEdit" name="fBackgroundFit_lineEdit">
<property name="geometry">
<rect>
<x>150</x>
<y>176</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
</widget>
<widget class="QGroupBox" name="fOptionalEntries_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>410</y>
<width>421</width>
<height>121</height>
</rect>
</property>
<property name="title">
<string>Optional Entries</string>
</property>
<widget class="QLabel" name="fT0_label">
<property name="geometry">
<rect>
<x>20</x>
<y>30</y>
<width>241</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>t0 (reqired if not given in the data file)</string>
</property>
</widget>
<widget class="QLineEdit" name="fT0_lineEdit">
<property name="geometry">
<rect>
<x>260</x>
<y>26</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QLabel" name="fMuonLifetimeParameter_label">
<property name="geometry">
<rect>
<x>20</x>
<y>60</y>
<width>211</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Muon Lifetime Parameter</string>
</property>
</widget>
<widget class="QLineEdit" name="fLifetime_lineEdit">
<property name="geometry">
<rect>
<x>180</x>
<y>56</y>
<width>71</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QCheckBox" name="fLifetimeCorrection_checkBox">
<property name="geometry">
<rect>
<x>18</x>
<y>90</y>
<width>151</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Lifetime Correction</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>545</y>
<width>421</width>
<height>36</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="fHelp_pushButton">
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>188</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fCancel_pushButton">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fCancel_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetSingleHistoRunBlockDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>458</x>
<y>434</y>
</hint>
<hint type="destinationlabel">
<x>471</x>
<y>415</y>
</hint>
</hints>
</connection>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetSingleHistoRunBlockDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>394</x>
<y>438</y>
</hint>
<hint type="destinationlabel">
<x>407</x>
<y>406</y>
</hint>
</hints>
</connection>
<connection>
<sender>fHelp_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetSingleHistoRunBlockDialog</receiver>
<slot>helpContent()</slot>
<hints>
<hint type="sourcelabel">
<x>47</x>
<y>437</y>
</hint>
<hint type="destinationlabel">
<x>70</x>
<y>398</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>helpContent()</slot>
</slots>
</ui>

View File

@@ -0,0 +1,261 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PGetTheoryBlockDialog</class>
<widget class="QDialog" name="PGetTheoryBlockDialog">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>550</width>
<height>529</height>
</rect>
</property>
<property name="windowTitle">
<string>Get Theory</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QTextEdit" name="fDescription_textEdit">
<property name="geometry">
<rect>
<x>0</x>
<y>10</y>
<width>541</width>
<height>211</height>
</rect>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="html">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;Every theory function has to be written on a single line. It starts with the theory function name or its abbreviation followed by the parameters. Consecutive lines of theory functions will be multiplied. If theory functions need to be added, a line with a '+' has to separate them. The parameters are given as the numbers assigned to them in the FITPARAMETER-block.&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;Example:&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;asymmetry 2&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;simplExpo 3&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;TFieldCos map1 fun2&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;+&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;asymmetry 6&lt;/span&gt;&lt;/p&gt;
&lt;p style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;&lt;span style=&quot; font-family:'Sans Serif'; font-size:9pt;&quot;&gt;simplExpo 7&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QGroupBox" name="fTheoryInput_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>220</y>
<width>541</width>
<height>71</height>
</rect>
</property>
<property name="title">
<string>Theory Input Line</string>
</property>
<widget class="QComboBox" name="fTheoryFunction_comboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>381</width>
<height>25</height>
</rect>
</property>
</widget>
<widget class="QPushButton" name="fPlus_pushButton">
<property name="geometry">
<rect>
<x>420</x>
<y>30</y>
<width>51</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>+</string>
</property>
</widget>
<widget class="QPushButton" name="fMultiply_pushButton">
<property name="geometry">
<rect>
<x>480</x>
<y>30</y>
<width>51</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>*</string>
</property>
</widget>
</widget>
<widget class="QPlainTextEdit" name="fTheoryBlock_plainTextEdit">
<property name="geometry">
<rect>
<x>0</x>
<y>290</y>
<width>541</width>
<height>201</height>
</rect>
</property>
<property name="plainText">
<string>#####################################################
THEORY</string>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>500</y>
<width>541</width>
<height>29</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="fHelp_pushButton">
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>178</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fCancel_pushButton">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<tabstops>
<tabstop>fTheoryFunction_comboBox</tabstop>
<tabstop>fPlus_pushButton</tabstop>
<tabstop>fMultiply_pushButton</tabstop>
<tabstop>fTheoryBlock_plainTextEdit</tabstop>
<tabstop>fOk_pushButton</tabstop>
<tabstop>fCancel_pushButton</tabstop>
<tabstop>fHelp_pushButton</tabstop>
<tabstop>fDescription_textEdit</tabstop>
</tabstops>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fCancel_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetTheoryBlockDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>539</x>
<y>502</y>
</hint>
<hint type="destinationlabel">
<x>492</x>
<y>411</y>
</hint>
</hints>
</connection>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetTheoryBlockDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>458</x>
<y>502</y>
</hint>
<hint type="destinationlabel">
<x>380</x>
<y>472</y>
</hint>
</hints>
</connection>
<connection>
<sender>fHelp_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetTheoryBlockDialog</receiver>
<slot>helpContent()</slot>
<hints>
<hint type="sourcelabel">
<x>45</x>
<y>502</y>
</hint>
<hint type="destinationlabel">
<x>90</x>
<y>440</y>
</hint>
</hints>
</connection>
<connection>
<sender>fPlus_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetTheoryBlockDialog</receiver>
<slot>addPlus()</slot>
<hints>
<hint type="sourcelabel">
<x>434</x>
<y>257</y>
</hint>
<hint type="destinationlabel">
<x>173</x>
<y>500</y>
</hint>
</hints>
</connection>
<connection>
<sender>fMultiply_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetTheoryBlockDialog</receiver>
<slot>addMultiply()</slot>
<hints>
<hint type="sourcelabel">
<x>500</x>
<y>263</y>
</hint>
<hint type="destinationlabel">
<x>256</x>
<y>504</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>helpContent()</slot>
<slot>addPlus()</slot>
<slot>addMultiply()</slot>
</slots>
</ui>

View File

@@ -0,0 +1,163 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PGetTitleBlockDialog</class>
<widget class="QDialog" name="PGetTitleBlockDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>555</width>
<height>84</height>
</rect>
</property>
<property name="windowTitle">
<string>Get Title</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QLabel" name="fTitle_label">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>31</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Title</string>
</property>
</widget>
<widget class="QLineEdit" name="fTitle_lineEdit">
<property name="geometry">
<rect>
<x>50</x>
<y>6</y>
<width>501</width>
<height>26</height>
</rect>
</property>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>541</width>
<height>47</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="fHelp_pushButton">
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>138</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fCancel_pushButton">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<tabstops>
<tabstop>fTitle_lineEdit</tabstop>
<tabstop>fOk_pushButton</tabstop>
<tabstop>fCancel_pushButton</tabstop>
<tabstop>fHelp_pushButton</tabstop>
</tabstops>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetTitleBlockDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>467</x>
<y>78</y>
</hint>
<hint type="destinationlabel">
<x>286</x>
<y>221</y>
</hint>
</hints>
</connection>
<connection>
<sender>fCancel_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetTitleBlockDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>548</x>
<y>78</y>
</hint>
<hint type="destinationlabel">
<x>350</x>
<y>219</y>
</hint>
</hints>
</connection>
<connection>
<sender>fHelp_pushButton</sender>
<signal>clicked()</signal>
<receiver>PGetTitleBlockDialog</receiver>
<slot>helpContent()</slot>
<hints>
<hint type="sourcelabel">
<x>59</x>
<y>64</y>
</hint>
<hint type="destinationlabel">
<x>149</x>
<y>49</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>helpContent()</slot>
</slots>
</ui>

View File

@@ -0,0 +1,630 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PMsr2DataDialog</class>
<widget class="QDialog" name="PMsr2DataDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>542</width>
<height>522</height>
</rect>
</property>
<property name="windowTitle">
<string>msr2data input</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrmsr2data.xpm</normaloff>:/images/musrmsr2data.xpm</iconset>
</property>
<widget class="QGroupBox" name="fRunListInput_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>541</width>
<height>131</height>
</rect>
</property>
<property name="font">
<font>
<weight>50</weight>
<bold>false</bold>
</font>
</property>
<property name="title">
<string>Run List Input</string>
</property>
<property name="flat">
<bool>false</bool>
</property>
<property name="checkable">
<bool>false</bool>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>511</width>
<height>94</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout_2">
<item>
<layout class="QHBoxLayout" name="horizontalLayout_2">
<item>
<widget class="QLabel" name="fFirst_label">
<property name="text">
<string>First</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fFirst_lineEdit"/>
</item>
<item>
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Expanding</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="fLast_label">
<property name="text">
<string>Last</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fLast_lineEdit"/>
</item>
<item>
<spacer name="horizontalSpacer_3">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>200</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="fOrFirstLast_label">
<property name="text">
<string>&lt;b&gt;OR&lt;/b&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_3">
<item>
<widget class="QLabel" name="fRunList_label">
<property name="text">
<string>Run List</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fRunList_lineEdit"/>
</item>
<item>
<spacer name="horizontalSpacer_4">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Minimum</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>28</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLabel" name="fOrRunList_label">
<property name="text">
<string>&lt;b&gt;OR&lt;/b&gt;</string>
</property>
<property name="textFormat">
<enum>Qt::AutoText</enum>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout_4">
<item>
<widget class="QLabel" name="fRunListFileName_label">
<property name="text">
<string>Run List File Name</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fRunListFileName_lineEdit"/>
</item>
<item>
<spacer name="horizontalSpacer_5">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Fixed</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>52</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="fMsrFileExtension_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>130</y>
<width>541</width>
<height>71</height>
</rect>
</property>
<property name="title">
<string>msr File Extension</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>511</width>
<height>28</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QLabel" name="fExtension_label">
<property name="text">
<string>Extension</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_6">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QLineEdit" name="fMsrFileExtension_lineEdit"/>
</item>
<item>
<spacer name="horizontalSpacer_7">
<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>
</widget>
<widget class="QGroupBox" name="fTemplateRunInput_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>200</y>
<width>541</width>
<height>80</height>
</rect>
</property>
<property name="title">
<string>Template Run Input</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>511</width>
<height>28</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_6">
<item>
<widget class="QLabel" name="fTemplateRunNumber_label">
<property name="text">
<string>Template Run Number</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fTemplateRunNumber_lineEdit"/>
</item>
<item>
<widget class="QCheckBox" name="fChainFit_checkBox">
<property name="text">
<string>Chain Fit</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer_8">
<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>
</widget>
<widget class="QGroupBox" name="fDataOutputFileName_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>280</y>
<width>541</width>
<height>80</height>
</rect>
</property>
<property name="title">
<string>Data Ouput File Name</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>511</width>
<height>28</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_7">
<item>
<widget class="QLabel" name="fDataOutputFileName_label">
<property name="text">
<string>Data Output File Name</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="fDataOutputFileName_lineEdit"/>
</item>
<item>
<spacer name="horizontalSpacer_9">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeType">
<enum>QSizePolicy::Preferred</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</widget>
<widget class="QGroupBox" name="fOptions_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>360</y>
<width>541</width>
<height>111</height>
</rect>
</property>
<property name="title">
<string>Options</string>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>521</width>
<height>81</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_8">
<item>
<layout class="QVBoxLayout" name="verticalLayout_3">
<item>
<widget class="QCheckBox" name="fWriteDataHeader_checkBox">
<property name="text">
<string>Write Data Header</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="fSummaryPresent_checkBox">
<property name="text">
<string>Summary Files Present</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="fKeepMinuit2Output_checkBox">
<property name="text">
<string>Keep Minuit2 Output</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_4">
<item>
<widget class="QCheckBox" name="fWriteColumnData_checkBox">
<property name="text">
<string>Write Column Data</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="fRecreateDataFile_checkBox">
<property name="text">
<string>Recreate Data File</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="fOpenFilesAfterFitting_checkBox">
<property name="text">
<string>Open Files after Fitting</string>
</property>
</widget>
</item>
</layout>
</item>
<item>
<layout class="QVBoxLayout" name="verticalLayout_5">
<item>
<widget class="QCheckBox" name="fTitleFromData_checkBox">
<property name="text">
<string>Take Data File Title</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="fCreateMsrFileOnly_checkBox">
<property name="text">
<string>Create msr-File only</string>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="fFitOnly_checkBox">
<property name="text">
<string>Fit Only</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>470</y>
<width>541</width>
<height>51</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="Line" name="line">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="fHelp_pushButton">
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>178</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fCancel_pushButton">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<tabstops>
<tabstop>fFirst_lineEdit</tabstop>
<tabstop>fLast_lineEdit</tabstop>
<tabstop>fRunList_lineEdit</tabstop>
<tabstop>fRunListFileName_lineEdit</tabstop>
<tabstop>fMsrFileExtension_lineEdit</tabstop>
<tabstop>fTemplateRunNumber_lineEdit</tabstop>
<tabstop>fChainFit_checkBox</tabstop>
<tabstop>fDataOutputFileName_lineEdit</tabstop>
<tabstop>fWriteDataHeader_checkBox</tabstop>
<tabstop>fSummaryPresent_checkBox</tabstop>
<tabstop>fKeepMinuit2Output_checkBox</tabstop>
<tabstop>fWriteColumnData_checkBox</tabstop>
<tabstop>fRecreateDataFile_checkBox</tabstop>
<tabstop>fOpenFilesAfterFitting_checkBox</tabstop>
<tabstop>fTitleFromData_checkBox</tabstop>
<tabstop>fCreateMsrFileOnly_checkBox</tabstop>
<tabstop>fFitOnly_checkBox</tabstop>
<tabstop>fOk_pushButton</tabstop>
<tabstop>fCancel_pushButton</tabstop>
<tabstop>fHelp_pushButton</tabstop>
</tabstops>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fCancel_pushButton</sender>
<signal>clicked()</signal>
<receiver>PMsr2DataDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>538</x>
<y>488</y>
</hint>
<hint type="destinationlabel">
<x>508</x>
<y>358</y>
</hint>
</hints>
</connection>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PMsr2DataDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>457</x>
<y>488</y>
</hint>
<hint type="destinationlabel">
<x>380</x>
<y>364</y>
</hint>
</hints>
</connection>
<connection>
<sender>fHelp_pushButton</sender>
<signal>clicked()</signal>
<receiver>PMsr2DataDialog</receiver>
<slot>helpContent()</slot>
<hints>
<hint type="sourcelabel">
<x>57</x>
<y>488</y>
</hint>
<hint type="destinationlabel">
<x>96</x>
<y>370</y>
</hint>
</hints>
</connection>
<connection>
<sender>fFitOnly_checkBox</sender>
<signal>stateChanged(int)</signal>
<receiver>PMsr2DataDialog</receiver>
<slot>fitOnlyChanged(int)</slot>
<hints>
<hint type="sourcelabel">
<x>363</x>
<y>457</y>
</hint>
<hint type="destinationlabel">
<x>301</x>
<y>484</y>
</hint>
</hints>
</connection>
<connection>
<sender>fCreateMsrFileOnly_checkBox</sender>
<signal>stateChanged(int)</signal>
<receiver>PMsr2DataDialog</receiver>
<slot>createMsrFileOnlyChanged(int)</slot>
<hints>
<hint type="sourcelabel">
<x>377</x>
<y>429</y>
</hint>
<hint type="destinationlabel">
<x>150</x>
<y>487</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>helpContent()</slot>
<slot>fitOnlyChanged(int)</slot>
<slot>createMsrFileOnlyChanged(int)</slot>
</slots>
</ui>

View File

@@ -0,0 +1,105 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PMusrEditAbout</class>
<widget class="QDialog" name="PMusrEditAbout">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>395</width>
<height>176</height>
</rect>
</property>
<property name="windowTitle">
<string>Musr Edit About</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>11</x>
<y>11</y>
<width>371</width>
<height>161</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QLabel" name="fMusrEditAbout_label">
<property name="font">
<font>
<pointsize>24</pointsize>
<weight>50</weight>
<italic>true</italic>
<bold>false</bold>
</font>
</property>
<property name="text">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:24pt; font-weight:400; font-style:italic;&quot;&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;musredit ...&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="fDetails_label">
<property name="text">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;by Andreas Suter&lt;/p&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;andreas.suter@psi.ch&lt;/p&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Paul Scherrer Institute&lt;/p&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;Switzerland&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="fSvn_label">
<property name="text">
<string>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
p, li { white-space: pre-wrap; }
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;&quot;&gt;
&lt;p align=&quot;center&quot; style=&quot; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;&quot;&gt;$Id$&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
</layout>
</widget>
</widget>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PMusrEditAbout</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>178</x>
<y>271</y>
</hint>
<hint type="destinationlabel">
<x>226</x>
<y>228</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View File

@@ -0,0 +1,203 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PPrefsDialog</class>
<widget class="QDialog" name="PPrefsDialog">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>455</width>
<height>168</height>
</rect>
</property>
<property name="windowTitle">
<string>Preferences</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QWidget" name="layoutWidget">
<property name="geometry">
<rect>
<x>0</x>
<y>5</y>
<width>451</width>
<height>161</height>
</rect>
</property>
<layout class="QVBoxLayout" name="verticalLayout">
<item>
<widget class="QTabWidget" name="fTabWidget">
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="tab">
<attribute name="title">
<string>musrfit</string>
</attribute>
<widget class="QCheckBox" name="fKeepMn2Output_checkBox">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>161</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>keep minuit2 output</string>
</property>
</widget>
<widget class="QCheckBox" name="fDumpAscii_checkBox">
<property name="geometry">
<rect>
<x>10</x>
<y>35</y>
<width>151</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>dump ascii</string>
</property>
</widget>
<widget class="QCheckBox" name="fDumpRoot_checkBox">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>131</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>dump root</string>
</property>
</widget>
<widget class="QCheckBox" name="fTitleFromData_checkBox">
<property name="geometry">
<rect>
<x>170</x>
<y>10</y>
<width>171</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>take title from data file</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="tab_2">
<attribute name="title">
<string>musrt0</string>
</attribute>
<widget class="QCheckBox" name="fEnableMusrT0_checkBox">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>131</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>enable it</string>
</property>
</widget>
</widget>
</widget>
</item>
<item>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QPushButton" name="fHelp_pushButton">
<property name="text">
<string>&amp;Help</string>
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>88</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
<item>
<widget class="QPushButton" name="fOk_pushButton">
<property name="text">
<string>&amp;OK</string>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="fCancel_pushButton">
<property name="text">
<string>&amp;Cancel</string>
</property>
</widget>
</item>
</layout>
</item>
</layout>
</widget>
</widget>
<tabstops>
<tabstop>fTabWidget</tabstop>
<tabstop>fKeepMn2Output_checkBox</tabstop>
<tabstop>fDumpAscii_checkBox</tabstop>
<tabstop>fDumpRoot_checkBox</tabstop>
<tabstop>fTitleFromData_checkBox</tabstop>
<tabstop>fOk_pushButton</tabstop>
<tabstop>fCancel_pushButton</tabstop>
<tabstop>fHelp_pushButton</tabstop>
</tabstops>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fCancel_pushButton</sender>
<signal>clicked()</signal>
<receiver>PPrefsDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>391</x>
<y>198</y>
</hint>
<hint type="destinationlabel">
<x>422</x>
<y>142</y>
</hint>
</hints>
</connection>
<connection>
<sender>fOk_pushButton</sender>
<signal>clicked()</signal>
<receiver>PPrefsDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>331</x>
<y>199</y>
</hint>
<hint type="destinationlabel">
<x>293</x>
<y>144</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View File

@@ -0,0 +1,136 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PReplaceConfirmationDialog</class>
<widget class="QDialog" name="PReplaceConfirmationDialog">
<property name="windowModality">
<enum>Qt::WindowModal</enum>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>513</width>
<height>65</height>
</rect>
</property>
<property name="windowTitle">
<string>Replace Confirmation - musredit</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QLabel" name="fTextLabel">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>461</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Found an occurrence of your search term.What do you want to do?</string>
</property>
</widget>
<widget class="Line" name="line">
<property name="geometry">
<rect>
<x>7</x>
<y>20</y>
<width>521</width>
<height>20</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QPushButton" name="fReplace_pushButton">
<property name="geometry">
<rect>
<x>7</x>
<y>35</y>
<width>81</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>&amp;Replace</string>
</property>
</widget>
<widget class="QPushButton" name="fReplaceAndClose_pushButton">
<property name="geometry">
<rect>
<x>87</x>
<y>35</y>
<width>131</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Re&amp;place and Close</string>
</property>
</widget>
<widget class="QPushButton" name="fReplaceAll_pushButton">
<property name="geometry">
<rect>
<x>217</x>
<y>35</y>
<width>97</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>Replace &amp;All</string>
</property>
</widget>
<widget class="QPushButton" name="fFindNext_pushButton">
<property name="geometry">
<rect>
<x>317</x>
<y>35</y>
<width>91</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>&amp;Find Next</string>
</property>
</widget>
<widget class="QPushButton" name="fClose_pushButton">
<property name="geometry">
<rect>
<x>407</x>
<y>35</y>
<width>97</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>&amp;Close</string>
</property>
</widget>
</widget>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fClose_pushButton</sender>
<signal>clicked()</signal>
<receiver>PReplaceConfirmationDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>457</x>
<y>58</y>
</hint>
<hint type="destinationlabel">
<x>468</x>
<y>71</y>
</hint>
</hints>
</connection>
</connections>
</ui>

View File

@@ -0,0 +1,300 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>PReplaceDialog</class>
<widget class="QDialog" name="PReplaceDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>345</width>
<height>315</height>
</rect>
</property>
<property name="windowTitle">
<string>Replace Text - musredit</string>
</property>
<property name="windowIcon">
<iconset resource="../musredit.qrc">
<normaloff>:/images/musrfit.xpm</normaloff>:/images/musrfit.xpm</iconset>
</property>
<widget class="QGroupBox" name="fFind_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>341</width>
<height>81</height>
</rect>
</property>
<property name="title">
<string>Find</string>
</property>
<widget class="QLabel" name="fFind_label">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>91</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Text to find:</string>
</property>
</widget>
<widget class="QComboBox" name="fFind_comboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>321</width>
<height>31</height>
</rect>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
</widget>
<widget class="QPushButton" name="fReplace_pushButton">
<property name="geometry">
<rect>
<x>190</x>
<y>290</y>
<width>71</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>&amp;Replace</string>
</property>
</widget>
<widget class="QPushButton" name="fClose_pushButton">
<property name="geometry">
<rect>
<x>270</x>
<y>290</y>
<width>71</width>
<height>25</height>
</rect>
</property>
<property name="text">
<string>&amp;Close</string>
</property>
</widget>
<widget class="QGroupBox" name="fOptions_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>160</y>
<width>341</width>
<height>121</height>
</rect>
</property>
<property name="title">
<string>Options</string>
</property>
<property name="alignment">
<set>Qt::AlignBottom|Qt::AlignLeading|Qt::AlignLeft</set>
</property>
<widget class="QCheckBox" name="fCaseSensitive_checkBox">
<property name="geometry">
<rect>
<x>10</x>
<y>30</y>
<width>141</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>C&amp;ase Sensitive</string>
</property>
</widget>
<widget class="QCheckBox" name="fWholeWordsOnly_checkBox">
<property name="geometry">
<rect>
<x>10</x>
<y>60</y>
<width>141</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&amp;Whole words only</string>
</property>
</widget>
<widget class="QCheckBox" name="fFromCursor_checkBox">
<property name="geometry">
<rect>
<x>10</x>
<y>90</y>
<width>141</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>From c&amp;ursor</string>
</property>
</widget>
<widget class="QCheckBox" name="fFindBackwards_checkBox">
<property name="geometry">
<rect>
<x>180</x>
<y>30</y>
<width>141</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>Find &amp;backwards</string>
</property>
</widget>
<widget class="QCheckBox" name="fSelectedText_checkBox">
<property name="geometry">
<rect>
<x>180</x>
<y>60</y>
<width>141</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&amp;Selected text</string>
</property>
</widget>
<widget class="QCheckBox" name="fPromptOnReplace_checkBox">
<property name="geometry">
<rect>
<x>180</x>
<y>90</y>
<width>151</width>
<height>23</height>
</rect>
</property>
<property name="text">
<string>&amp;Prompt on replace</string>
</property>
</widget>
</widget>
<widget class="Line" name="line">
<property name="geometry">
<rect>
<x>0</x>
<y>280</y>
<width>351</width>
<height>16</height>
</rect>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
</widget>
<widget class="QGroupBox" name="fReplacement_groupBox">
<property name="geometry">
<rect>
<x>0</x>
<y>80</y>
<width>341</width>
<height>81</height>
</rect>
</property>
<property name="title">
<string>Replace With</string>
</property>
<widget class="QLabel" name="fReplace_textLabel">
<property name="geometry">
<rect>
<x>10</x>
<y>20</y>
<width>111</width>
<height>16</height>
</rect>
</property>
<property name="text">
<string>Replacement text:</string>
</property>
</widget>
<widget class="QComboBox" name="fReplacementText_comboBox">
<property name="geometry">
<rect>
<x>10</x>
<y>40</y>
<width>321</width>
<height>31</height>
</rect>
</property>
<property name="editable">
<bool>true</bool>
</property>
</widget>
</widget>
</widget>
<tabstops>
<tabstop>fFind_comboBox</tabstop>
<tabstop>fReplacementText_comboBox</tabstop>
<tabstop>fCaseSensitive_checkBox</tabstop>
<tabstop>fWholeWordsOnly_checkBox</tabstop>
<tabstop>fFromCursor_checkBox</tabstop>
<tabstop>fFindBackwards_checkBox</tabstop>
<tabstop>fSelectedText_checkBox</tabstop>
<tabstop>fPromptOnReplace_checkBox</tabstop>
<tabstop>fReplace_pushButton</tabstop>
<tabstop>fClose_pushButton</tabstop>
</tabstops>
<resources>
<include location="../musredit.qrc"/>
</resources>
<connections>
<connection>
<sender>fClose_pushButton</sender>
<signal>clicked()</signal>
<receiver>PReplaceDialog</receiver>
<slot>reject()</slot>
<hints>
<hint type="sourcelabel">
<x>287</x>
<y>205</y>
</hint>
<hint type="destinationlabel">
<x>344</x>
<y>228</y>
</hint>
</hints>
</connection>
<connection>
<sender>fReplace_pushButton</sender>
<signal>clicked()</signal>
<receiver>PReplaceDialog</receiver>
<slot>accept()</slot>
<hints>
<hint type="sourcelabel">
<x>208</x>
<y>211</y>
</hint>
<hint type="destinationlabel">
<x>171</x>
<y>211</y>
</hint>
</hints>
</connection>
<connection>
<sender>fFind_comboBox</sender>
<signal>editTextChanged(QString)</signal>
<receiver>PReplaceDialog</receiver>
<slot>onFindTextAvailable(QString)</slot>
<hints>
<hint type="sourcelabel">
<x>183</x>
<y>63</y>
</hint>
<hint type="destinationlabel">
<x>90</x>
<y>298</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>onFindTextAvailable(QString)</slot>
</slots>
</ui>