added Asymmetry Block Dialog

This commit is contained in:
nemu 2009-03-08 18:59:42 +00:00
parent cff9b40b07
commit d2176e774b
5 changed files with 1057 additions and 0 deletions

View File

@ -0,0 +1,66 @@
/****************************************************************************
PGetAsymmetryRunBlockDialog.cpp
Author: Andreas Suter
e-mail: andreas.suter@psi.ch
$Id$
*****************************************************************************/
/***************************************************************************
* Copyright (C) 2009 by Andreas Suter *
* andreas.suter@psi.ch *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#include <qlineedit.h>
#include <qvalidator.h>
#include "PGetAsymmetryRunBlockDialog.h"
//----------------------------------------------------------------------------------------------------
/**
* <p>
*/
PGetAsymmetryRunBlockDialog::PGetAsymmetryRunBlockDialog()
{
fForward_lineEdit->setValidator( new QIntValidator(fForward_lineEdit) );
fBackward_lineEdit->setValidator( new QIntValidator(fBackward_lineEdit) );
fDataForwardStart_lineEdit->setValidator( new QIntValidator(fDataForwardStart_lineEdit) );
fDataForwardEnd_lineEdit->setValidator( new QIntValidator(fDataForwardEnd_lineEdit) );
fDataBackwardStart_lineEdit->setValidator( new QIntValidator(fDataBackwardStart_lineEdit) );
fDataBackwardEnd_lineEdit->setValidator( new QIntValidator(fDataBackwardEnd_lineEdit) );
fBackgroundForwardStart_lineEdit->setValidator( new QIntValidator(fBackgroundForwardStart_lineEdit) );
fBackgroundForwardEnd_lineEdit->setValidator( new QIntValidator(fBackgroundForwardEnd_lineEdit) );
fBackgroundBackwardStart_lineEdit->setValidator( new QIntValidator(fBackgroundBackwardStart_lineEdit) );
fBackgroundBackwardEnd_lineEdit->setValidator( new QIntValidator(fBackgroundBackwardEnd_lineEdit) );
fBackgroundForwardFix_lineEdit->setValidator( new QDoubleValidator(fBackgroundForwardFix_lineEdit) );
fBackgroundBackwardFix_lineEdit->setValidator( new QDoubleValidator(fBackgroundBackwardFix_lineEdit) );
fFitRangeStart_lineEdit->setValidator( new QDoubleValidator(fFitRangeStart_lineEdit) );
fFitRangeEnd_lineEdit->setValidator( new QDoubleValidator(fFitRangeEnd_lineEdit) );
fPacking_lineEdit->setValidator( new QIntValidator(fPacking_lineEdit) );
fAlpha_lineEdit->setValidator( new QIntValidator(fAlpha_lineEdit) );
fBeta_lineEdit->setValidator( new QIntValidator(fBeta_lineEdit) );
fT0Forward_lineEdit->setValidator( new QIntValidator(fT0Forward_lineEdit) );
fT0Backward_lineEdit->setValidator( new QIntValidator(fT0Backward_lineEdit) );
}
//----------------------------------------------------------------------------------------------------
// END
//----------------------------------------------------------------------------------------------------

View File

@ -0,0 +1,43 @@
/****************************************************************************
PGetAsymmetryRunBlockDialog.h
Author: Andreas Suter
e-mail: andreas.suter@psi.ch
$Id$
*****************************************************************************/
/***************************************************************************
* Copyright (C) 2009 by Andreas Suter *
* andreas.suter@psi.ch *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef _PGETASYMMETRYRUNBLOCKDIALOG_H_
#define _PGETASYMMETRYRUNBLOCKDIALOG_H_
#include "forms/PGetAsymmetryRunBlockDialogBase.h"
class PGetAsymmetryRunBlockDialog : public PGetAsymmetryRunBlockDialogBase
{
public:
PGetAsymmetryRunBlockDialog();
};
#endif // _PGETASYMMETRYRUNBLOCKDIALOG_H_

View File

@ -33,10 +33,13 @@
#include <qpopupmenu.h>
#include <qdatetime.h>
#include <qlineedit.h>
#include <qcombobox.h>
#include <qmessagebox.h>
#include "PSubTextEdit.h"
#include "forms/PGetTitleDialog.h"
#include "PGetParameterDialog.h"
#include "PGetAsymmetryRunBlockDialog.h"
#include "PGetFourierDialog.h"
#include "PGetPlotDialog.h"
@ -155,6 +158,111 @@ void PSubTextEdit::insertFunctionBlock()
*/
void PSubTextEdit::insertAsymRunBlock()
{
PGetAsymmetryRunBlockDialog *dlg = new PGetAsymmetryRunBlockDialog();
if (dlg->exec() == QDialog::Accepted) {
QString str, workStr;
// check if there is already a run block present, necessary because of the '####' line
// STILL MISSING
// add run line
str += "RUN " + dlg->fRunFileName_lineEdit->text() + " ";
str += dlg->fBeamline_lineEdit->text().upper() + " ";
str += dlg->fInstitute_comboBox->currentText() + " ";
str += dlg->fFileFormat_comboBox->currentText() + " (name beamline institute data-file-format)\n";
// add fittype
str += "fittype 2 (asymmetry fit)\n";
// add alpha if present
workStr = dlg->fAlpha_lineEdit->text();
if (!workStr.isEmpty()) {
str += "alpha " + workStr + "\n";
}
// add beta if present
workStr = dlg->fBeta_lineEdit->text();
if (!workStr.isEmpty()) {
str += "beta " + workStr + "\n";
}
// add map
str += "map " + dlg->fMap_lineEdit->text() + "\n";
// add forward
str += "forward " + dlg->fForward_lineEdit->text() + "\n";
// add backward
str += "backward " + dlg->fBackward_lineEdit->text() + "\n";
// check that either background or background.fix is given
if (dlg->fBackgroundForwardStart_lineEdit->text().isEmpty() && dlg->fBackgroundForwardEnd_lineEdit->text().isEmpty() &&
dlg->fBackgroundBackwardStart_lineEdit->text().isEmpty() && dlg->fBackgroundBackwardEnd_lineEdit->text().isEmpty() &&
dlg->fBackgroundForwardFix_lineEdit->text().isEmpty() && dlg->fBackgroundBackwardFix_lineEdit->text().isEmpty()) {
QMessageBox::critical(this, "**ERROR**",
"Either Background or Background.Fix is needed!\nWill set Background to 0..10, please correct!",
QMessageBox::Ok, QMessageBox::NoButton);
str += "background 0 10 0 10\n";
} else {
if (!dlg->fBackgroundForwardStart_lineEdit->text().isEmpty()) { // assume the rest is given, not fool prove but ...
str += "background ";
str += dlg->fBackgroundForwardStart_lineEdit->text() + " ";
str += dlg->fBackgroundForwardEnd_lineEdit->text() + " ";
str += dlg->fBackgroundBackwardStart_lineEdit->text() + " ";
str += dlg->fBackgroundBackwardEnd_lineEdit->text() + "\n";
}
if (!dlg->fBackgroundForwardFix_lineEdit->text().isEmpty()) { // assume the rest is given, not fool prove but ...
str += "backgr.fix ";
str += dlg->fBackgroundForwardFix_lineEdit->text() + " ";
str += dlg->fBackgroundBackwardFix_lineEdit->text() + "\n";
}
}
// add data
if (dlg->fDataForwardStart_lineEdit->text().isEmpty() || dlg->fDataForwardEnd_lineEdit->text().isEmpty() ||
dlg->fDataBackwardStart_lineEdit->text().isEmpty() || dlg->fDataBackwardEnd_lineEdit->text().isEmpty()) {
QMessageBox::critical(this, "**ERROR**",
"Not all Data entries are present.Fix is needed!\nWill not set anything!",
QMessageBox::Ok, QMessageBox::NoButton);
} else {
str += "data ";
str += dlg->fDataForwardStart_lineEdit->text() + " ";
str += dlg->fDataForwardEnd_lineEdit->text() + " ";
str += dlg->fDataBackwardStart_lineEdit->text() + " ";
str += dlg->fDataBackwardEnd_lineEdit->text() + "\n";
}
// add t0 if present
if (!dlg->fT0Forward_lineEdit->text().isEmpty() && !dlg->fT0Forward_lineEdit->text().isEmpty()) {
str += "t0 ";
str += dlg->fT0Forward_lineEdit->text() + " ";
str += dlg->fT0Backward_lineEdit->text() + "\n";
}
// add fit range
if (dlg->fFitRangeStart_lineEdit->text().isEmpty() || dlg->fFitRangeEnd_lineEdit->text().isEmpty()) {
QMessageBox::critical(this, "**ERROR**",
"No valid fit range is given.Fix is needed!\nWill add a default one!",
QMessageBox::Ok, QMessageBox::NoButton);
str += "fit 0.0 10.0\n";
} else {
str += "fit ";
str += dlg->fFitRangeStart_lineEdit->text() + " ";
str += dlg->fFitRangeEnd_lineEdit->text() + "\n";
}
// add packing
if (dlg->fPacking_lineEdit->text().isEmpty()) {
QMessageBox::critical(this, "**ERROR**",
"No valid packing/binning is given.Fix is needed!\nWill add a default one!",
QMessageBox::Ok, QMessageBox::NoButton);
str += "packing 1\n";
} else {
str += "packing " + dlg->fPacking_lineEdit->text() + "\n\n";
}
// insert Asymmetry Run Block at the current cursor position
insert(str);
}
}
//----------------------------------------------------------------------------------------------------

View File

@ -0,0 +1,837 @@
<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>PGetAsymmetryRunBlockDialogBase</class>
<widget class="QDialog">
<property name="name">
<cstring>PGetAsymmetryRunBlockDialogBase</cstring>
</property>
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>483</width>
<height>527</height>
</rect>
</property>
<property name="caption">
<string>Get Asymmetry Run Block Parameters</string>
</property>
<property name="sizeGripEnabled">
<bool>true</bool>
</property>
<property name="modal">
<bool>true</bool>
</property>
<widget class="QGroupBox">
<property name="name">
<cstring>fRunHeader_groupBox</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>460</width>
<height>120</height>
</rect>
</property>
<property name="title">
<string>Run Header Info</string>
</property>
<widget class="QLabel">
<property name="name">
<cstring>fRunFileName_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>24</y>
<width>96</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Run File Name</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBeamline_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>50</y>
<width>140</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fBeamline_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>53</y>
<width>70</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Beamline</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fInstitute_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>83</y>
<width>60</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Institute</string>
</property>
</widget>
<widget class="QComboBox">
<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>
<property name="name">
<cstring>fInstitute_comboBox</cstring>
</property>
<property name="geometry">
<rect>
<x>112</x>
<y>80</y>
<width>99</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fRunFileName_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>110</x>
<y>20</y>
<width>340</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QComboBox">
<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>PSIBIN</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>
<property name="name">
<cstring>fFileFormat_comboBox</cstring>
</property>
<property name="geometry">
<rect>
<x>350</x>
<y>80</y>
<width>99</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fFileFormat_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>270</x>
<y>83</y>
<width>80</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>File Format</string>
</property>
</widget>
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>fOptionalEntries_groupBox</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>380</y>
<width>460</width>
<height>90</height>
</rect>
</property>
<property name="title">
<string>Optional Entries</string>
</property>
<widget class="QLabel">
<property name="name">
<cstring>fAplha_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>23</y>
<width>125</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Alpha (default = 1)</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fT0_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>53</y>
<width>201</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>t0 (requiered if not in data file)</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fT0Backward_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>300</x>
<y>50</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fBeta_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>220</x>
<y>23</y>
<width>118</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Beta (default = 1)</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBeta_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>350</x>
<y>20</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fAlpha_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>20</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fT0Forward_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>220</x>
<y>50</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
</widget>
<widget class="QLayoutWidget">
<property name="name">
<cstring>Layout1</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>480</y>
<width>460</width>
<height>33</height>
</rect>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<property name="margin">
<number>0</number>
</property>
<property name="spacing">
<number>6</number>
</property>
<widget class="QPushButton">
<property name="name">
<cstring>fHelp_button</cstring>
</property>
<property name="text">
<string>&amp;Help</string>
</property>
<property name="accel">
<string>F1</string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
<spacer>
<property name="name">
<cstring>Horizontal Spacing2</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
</size>
</property>
</spacer>
<widget class="QPushButton">
<property name="name">
<cstring>fOk_button</cstring>
</property>
<property name="text">
<string>&amp;OK</string>
</property>
<property name="accel">
<string></string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
<property name="default">
<bool>true</bool>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>fCancel_button</cstring>
</property>
<property name="text">
<string>&amp;Cancel</string>
</property>
<property name="accel">
<string></string>
</property>
<property name="autoDefault">
<bool>true</bool>
</property>
</widget>
</hbox>
</widget>
<widget class="QGroupBox">
<property name="name">
<cstring>fRequiredEntries_groupBox</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>135</y>
<width>460</width>
<height>240</height>
</rect>
</property>
<property name="title">
<string>Required Entries</string>
</property>
<widget class="QLabel">
<property name="name">
<cstring>fMap_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>23</y>
<width>50</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Map</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fForward_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>53</y>
<width>113</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Forward Histo No</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fDataRange_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>83</y>
<width>79</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Data Range</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fBackward_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>210</x>
<y>53</y>
<width>116</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Backward Hist No</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fFitRange_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>173</y>
<width>71</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Fit Range</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fPacking_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>203</y>
<width>110</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Packing/Binning</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fFitRangeEnd_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>220</x>
<y>170</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fForward_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>50</y>
<width>50</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fFitRangeStart_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>170</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fPacking_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>200</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBackward_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>340</x>
<y>50</y>
<width>50</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fMap_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>70</x>
<y>20</y>
<width>380</width>
<height>24</height>
</rect>
</property>
<property name="text">
<string>0 0 0 0 0 0 0 0 0 0</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBackgroundBackwardStart_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>300</x>
<y>140</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBackgroundForwardEnd_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>220</x>
<y>140</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBackgroundForwardStart_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>140</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fBackground_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>143</y>
<width>123</width>
<height>20</height>
</rect>
</property>
<property name="text">
<string>Background Range</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBackgroundBackwardEnd_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>380</x>
<y>140</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fBackgroundFix_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>110</y>
<width>110</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>Background Fix</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>fOr_textLabel</cstring>
</property>
<property name="geometry">
<rect>
<x>300</x>
<y>110</y>
<width>30</width>
<height>21</height>
</rect>
</property>
<property name="text">
<string>&lt;b&gt;OR&lt;/b&gt;</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBackgroundForwardFix_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>110</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fBackgroundBackwardFix_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>220</x>
<y>110</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fDataForwardStart_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>140</x>
<y>80</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fDataForwardEnd_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>220</x>
<y>80</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fDataBackwardStart_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>300</x>
<y>80</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>fDataBackwardEnd_lineEdit</cstring>
</property>
<property name="geometry">
<rect>
<x>380</x>
<y>80</y>
<width>70</width>
<height>24</height>
</rect>
</property>
</widget>
</widget>
</widget>
<connections>
<connection>
<sender>fOk_button</sender>
<signal>clicked()</signal>
<receiver>PGetAsymmetryRunBlockDialogBase</receiver>
<slot>accept()</slot>
</connection>
<connection>
<sender>fCancel_button</sender>
<signal>clicked()</signal>
<receiver>PGetAsymmetryRunBlockDialogBase</receiver>
<slot>reject()</slot>
</connection>
</connections>
<tabstops>
<tabstop>fRunFileName_lineEdit</tabstop>
<tabstop>fBeamline_lineEdit</tabstop>
<tabstop>fInstitute_comboBox</tabstop>
<tabstop>fFileFormat_comboBox</tabstop>
<tabstop>fMap_lineEdit</tabstop>
<tabstop>fForward_lineEdit</tabstop>
<tabstop>fBackward_lineEdit</tabstop>
<tabstop>fDataForwardStart_lineEdit</tabstop>
<tabstop>fDataForwardEnd_lineEdit</tabstop>
<tabstop>fDataBackwardStart_lineEdit</tabstop>
<tabstop>fDataBackwardEnd_lineEdit</tabstop>
<tabstop>fBackgroundForwardFix_lineEdit</tabstop>
<tabstop>fBackgroundBackwardFix_lineEdit</tabstop>
<tabstop>fBackgroundForwardStart_lineEdit</tabstop>
<tabstop>fBackgroundForwardEnd_lineEdit</tabstop>
<tabstop>fBackgroundBackwardStart_lineEdit</tabstop>
<tabstop>fBackgroundBackwardEnd_lineEdit</tabstop>
<tabstop>fFitRangeStart_lineEdit</tabstop>
<tabstop>fFitRangeEnd_lineEdit</tabstop>
<tabstop>fPacking_lineEdit</tabstop>
<tabstop>fAlpha_lineEdit</tabstop>
<tabstop>fBeta_lineEdit</tabstop>
<tabstop>fT0Forward_lineEdit</tabstop>
<tabstop>fT0Backward_lineEdit</tabstop>
<tabstop>fOk_button</tabstop>
<tabstop>fCancel_button</tabstop>
<tabstop>fHelp_button</tabstop>
</tabstops>
<layoutdefaults spacing="6" margin="11"/>
</UI>

View File

@ -20,6 +20,7 @@ HEADERS = PTextEdit.h \
PPrefsDialog.h \
PGetDefaultDialog.h \
PGetParameterDialog.h \
PGetAsymmetryRunBlockDialog.h \
PGetFourierDialog.h \
PMlog2DbDialog.h \
PGetPlotDialog.h
@ -31,6 +32,7 @@ SOURCES = PTextEdit.cpp \
PPrefsDialog.cpp \
PGetDefaultDialog.cpp \
PGetParameterDialog.cpp \
PGetAsymmetryRunBlockDialog.cpp \
PGetFourierDialog.cpp \
PGetPlotDialog.cpp \
PMlog2DbDialog.cpp \
@ -41,6 +43,7 @@ FORMS = forms/PGetDefaultDialogBase.ui \
forms/PPrefsDialogBase.ui \
forms/PGetTitleDialog.ui \
forms/PGetParameterDialogBase.ui \
forms/PGetAsymmetryRunBlockDialogBase.ui \
forms/PGetFourierDialogBase.ui \
forms/PGetPlotDialogBase.ui \
forms/PMlog2DbDialogBase.ui