Auto/Man file selection redesign.
This commit is contained in:
parent
31f7d9cd98
commit
b8db37af8c
464
src/external/MuSRFitGUI/MuSRFit.pl
vendored
464
src/external/MuSRFitGUI/MuSRFit.pl
vendored
@ -1,6 +1,6 @@
|
|||||||
# Form implementation generated from reading ui file 'MuSRFit.ui'
|
# Form implementation generated from reading ui file 'MuSRFit.ui'
|
||||||
#
|
#
|
||||||
# Created: Wed Sep 2 23:50:05 2009
|
# Created: Fri Sep 4 00:11:05 2009
|
||||||
# by: The PerlQt User Interface Compiler (puic)
|
# by: The PerlQt User Interface Compiler (puic)
|
||||||
#
|
#
|
||||||
# WARNING! All changes made in this file will be lost!
|
# WARNING! All changes made in this file will be lost!
|
||||||
@ -47,17 +47,17 @@ use Qt::attributes qw(
|
|||||||
TITLE
|
TITLE
|
||||||
FILENAMELabel
|
FILENAMELabel
|
||||||
FILENAME
|
FILENAME
|
||||||
RUNSelection
|
FileTypeMan
|
||||||
textLabel1_4
|
textLabel1_5
|
||||||
RUNSAuto
|
|
||||||
RunFiles
|
RunFiles
|
||||||
Browse
|
Browse
|
||||||
RunNumbers
|
FileTypeAuto
|
||||||
BeamLineLabel
|
|
||||||
BeamLine
|
|
||||||
YEARLabel
|
|
||||||
YEAR
|
YEAR
|
||||||
RUNSManual
|
BeamLineLabel
|
||||||
|
textLabel1_5_2
|
||||||
|
YEARLabel
|
||||||
|
BeamLine
|
||||||
|
RunNumbers
|
||||||
ComponentsLabel
|
ComponentsLabel
|
||||||
Comp1Label
|
Comp1Label
|
||||||
Comp3Label
|
Comp3Label
|
||||||
@ -200,10 +200,11 @@ use Qt::attributes qw(
|
|||||||
Action
|
Action
|
||||||
separatorAction
|
separatorAction
|
||||||
FileExistCheck
|
FileExistCheck
|
||||||
MaualFile
|
ManualFile
|
||||||
fileChangeDirAction
|
fileChangeDirAction
|
||||||
Action_2
|
Action_2
|
||||||
Action_3
|
Action_3
|
||||||
|
optionsnew_itemAction
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@ -573,10 +574,10 @@ sub NEW
|
|||||||
setIcon($image0 );
|
setIcon($image0 );
|
||||||
|
|
||||||
setCentralWidget(Qt::Widget(this, "qt_central_widget"));
|
setCentralWidget(Qt::Widget(this, "qt_central_widget"));
|
||||||
my $MuSRFitformLayout = Qt::VBoxLayout(centralWidget(), 11, 6, '$MuSRFitformLayout');
|
|
||||||
|
|
||||||
musrfit_tabs = Qt::TabWidget(centralWidget(), "musrfit_tabs");
|
musrfit_tabs = Qt::TabWidget(centralWidget(), "musrfit_tabs");
|
||||||
musrfit_tabs->setEnabled( 1 );
|
musrfit_tabs->setEnabled( 1 );
|
||||||
|
musrfit_tabs->setGeometry( Qt::Rect(11, 11, 560, 485) );
|
||||||
musrfit_tabs->setSizePolicy( Qt::SizePolicy(7, 7, 1, 1, musrfit_tabs->sizePolicy()->hasHeightForWidth()) );
|
musrfit_tabs->setSizePolicy( Qt::SizePolicy(7, 7, 1, 1, musrfit_tabs->sizePolicy()->hasHeightForWidth()) );
|
||||||
musrfit_tabs->setMinimumSize( Qt::Size(560, 400) );
|
musrfit_tabs->setMinimumSize( Qt::Size(560, 400) );
|
||||||
musrfit_tabs->setMaximumSize( Qt::Size(95, 32767) );
|
musrfit_tabs->setMaximumSize( Qt::Size(95, 32767) );
|
||||||
@ -584,16 +585,16 @@ sub NEW
|
|||||||
RUNSPage = Qt::Widget(musrfit_tabs, "RUNSPage");
|
RUNSPage = Qt::Widget(musrfit_tabs, "RUNSPage");
|
||||||
|
|
||||||
my $LayoutWidget = Qt::Widget(RUNSPage, '$LayoutWidget');
|
my $LayoutWidget = Qt::Widget(RUNSPage, '$LayoutWidget');
|
||||||
$LayoutWidget->setGeometry( Qt::Rect(1, 2, 555, 380) );
|
$LayoutWidget->setGeometry( Qt::Rect(2, 11, 555, 397) );
|
||||||
my $layout28 = Qt::VBoxLayout($LayoutWidget, 4, 0, '$layout28');
|
my $layout32 = Qt::VBoxLayout($LayoutWidget, 11, 6, '$layout32');
|
||||||
|
|
||||||
TITLELabel = Qt::Label($LayoutWidget, "TITLELabel");
|
TITLELabel = Qt::Label($LayoutWidget, "TITLELabel");
|
||||||
TITLELabel->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, TITLELabel->sizePolicy()->hasHeightForWidth()) );
|
TITLELabel->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, TITLELabel->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout28->addWidget(TITLELabel);
|
$layout32->addWidget(TITLELabel);
|
||||||
|
|
||||||
TITLE = Qt::LineEdit($LayoutWidget, "TITLE");
|
TITLE = Qt::LineEdit($LayoutWidget, "TITLE");
|
||||||
TITLE->setSizePolicy( Qt::SizePolicy(5, 0, 1, 1, TITLE->sizePolicy()->hasHeightForWidth()) );
|
TITLE->setSizePolicy( Qt::SizePolicy(5, 0, 1, 1, TITLE->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout28->addWidget(TITLE);
|
$layout32->addWidget(TITLE);
|
||||||
|
|
||||||
my $layout17 = Qt::HBoxLayout(undef, 0, 6, '$layout17');
|
my $layout17 = Qt::HBoxLayout(undef, 0, 6, '$layout17');
|
||||||
|
|
||||||
@ -603,63 +604,77 @@ sub NEW
|
|||||||
FILENAME = Qt::LineEdit($LayoutWidget, "FILENAME");
|
FILENAME = Qt::LineEdit($LayoutWidget, "FILENAME");
|
||||||
FILENAME->setSizePolicy( Qt::SizePolicy(5, 0, 0, 0, FILENAME->sizePolicy()->hasHeightForWidth()) );
|
FILENAME->setSizePolicy( Qt::SizePolicy(5, 0, 0, 0, FILENAME->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout17->addWidget(FILENAME);
|
$layout17->addWidget(FILENAME);
|
||||||
$layout28->addLayout($layout17);
|
$layout32->addLayout($layout17);
|
||||||
|
|
||||||
RUNSelection = Qt::ButtonGroup($LayoutWidget, "RUNSelection");
|
FileTypeMan = Qt::ButtonGroup($LayoutWidget, "FileTypeMan");
|
||||||
RUNSelection->setMargin( int(0) );
|
FileTypeMan->setSizePolicy( Qt::SizePolicy(5, 7, 0, 0, FileTypeMan->sizePolicy()->hasHeightForWidth()) );
|
||||||
RUNSelection->setExclusive( 1 );
|
FileTypeMan->setMargin( int(0) );
|
||||||
|
FileTypeMan->setExclusive( 1 );
|
||||||
|
|
||||||
textLabel1_4 = Qt::Label(RUNSelection, "textLabel1_4");
|
my $LayoutWidget_2 = Qt::Widget(FileTypeMan, '$LayoutWidget_2');
|
||||||
textLabel1_4->setGeometry( Qt::Rect(11, 64, 181, 36) );
|
$LayoutWidget_2->setGeometry( Qt::Rect(5, 15, 540, 25) );
|
||||||
|
my $layout28 = Qt::HBoxLayout($LayoutWidget_2, 11, 6, '$layout28');
|
||||||
|
|
||||||
RUNSAuto = Qt::RadioButton(RUNSelection, "RUNSAuto");
|
textLabel1_5 = Qt::Label($LayoutWidget_2, "textLabel1_5");
|
||||||
RUNSAuto->setGeometry( Qt::Rect(10, 45, 180, 22) );
|
textLabel1_5->setMinimumSize( Qt::Size(0, 20) );
|
||||||
RUNSAuto->setChecked( 1 );
|
$layout28->addWidget(textLabel1_5);
|
||||||
|
|
||||||
my $LayoutWidget_2 = Qt::Widget(RUNSelection, '$LayoutWidget_2');
|
|
||||||
$LayoutWidget_2->setGeometry( Qt::Rect(196, 3, 340, 96) );
|
|
||||||
my $layout26 = Qt::VBoxLayout($LayoutWidget_2, 11, 6, '$layout26');
|
|
||||||
|
|
||||||
my $layout37 = Qt::HBoxLayout(undef, 0, 6, '$layout37');
|
|
||||||
|
|
||||||
RunFiles = Qt::LineEdit($LayoutWidget_2, "RunFiles");
|
RunFiles = Qt::LineEdit($LayoutWidget_2, "RunFiles");
|
||||||
RunFiles->setEnabled( 0 );
|
RunFiles->setEnabled( 1 );
|
||||||
RunFiles->setSizePolicy( Qt::SizePolicy(5, 0, 0, 0, RunFiles->sizePolicy()->hasHeightForWidth()) );
|
RunFiles->setSizePolicy( Qt::SizePolicy(5, 0, 0, 0, RunFiles->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout37->addWidget(RunFiles);
|
RunFiles->setMinimumSize( Qt::Size(0, 20) );
|
||||||
|
$layout28->addWidget(RunFiles);
|
||||||
|
|
||||||
Browse = Qt::PushButton($LayoutWidget_2, "Browse");
|
Browse = Qt::PushButton($LayoutWidget_2, "Browse");
|
||||||
Browse->setEnabled( 0 );
|
Browse->setEnabled( 1 );
|
||||||
Browse->setSizePolicy( Qt::SizePolicy(0, 5, 0, 0, Browse->sizePolicy()->hasHeightForWidth()) );
|
Browse->setSizePolicy( Qt::SizePolicy(0, 5, 0, 0, Browse->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout37->addWidget(Browse);
|
Browse->setMinimumSize( Qt::Size(0, 20) );
|
||||||
$layout26->addLayout($layout37);
|
$layout28->addWidget(Browse);
|
||||||
|
$layout32->addWidget(FileTypeMan);
|
||||||
|
|
||||||
RunNumbers = Qt::LineEdit($LayoutWidget_2, "RunNumbers");
|
FileTypeAuto = Qt::GroupBox($LayoutWidget, "FileTypeAuto");
|
||||||
RunNumbers->setSizePolicy( Qt::SizePolicy(5, 0, 0, 0, RunNumbers->sizePolicy()->hasHeightForWidth()) );
|
FileTypeAuto->setSizePolicy( Qt::SizePolicy(5, 7, 0, 0, FileTypeAuto->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout26->addWidget(RunNumbers);
|
|
||||||
|
|
||||||
my $layout35 = Qt::HBoxLayout(undef, 0, 6, '$layout35');
|
my $LayoutWidget_3 = Qt::Widget(FileTypeAuto, '$LayoutWidget_3');
|
||||||
|
$LayoutWidget_3->setGeometry( Qt::Rect(5, 10, 540, 55) );
|
||||||
|
my $layout27 = Qt::GridLayout($LayoutWidget_3, 1, 1, 11, 6, '$layout27');
|
||||||
|
|
||||||
BeamLineLabel = Qt::Label($LayoutWidget_2, "BeamLineLabel");
|
YEAR = Qt::ComboBox(0, $LayoutWidget_3, "YEAR");
|
||||||
$layout35->addWidget(BeamLineLabel);
|
|
||||||
|
|
||||||
BeamLine = Qt::ComboBox(0, $LayoutWidget_2, "BeamLine");
|
|
||||||
BeamLine->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, BeamLine->sizePolicy()->hasHeightForWidth()) );
|
|
||||||
$layout35->addWidget(BeamLine);
|
|
||||||
|
|
||||||
YEARLabel = Qt::Label($LayoutWidget_2, "YEARLabel");
|
|
||||||
$layout35->addWidget(YEARLabel);
|
|
||||||
|
|
||||||
YEAR = Qt::ComboBox(0, $LayoutWidget_2, "YEAR");
|
|
||||||
YEAR->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, YEAR->sizePolicy()->hasHeightForWidth()) );
|
YEAR->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, YEAR->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout35->addWidget(YEAR);
|
YEAR->setMinimumSize( Qt::Size(0, 20) );
|
||||||
$layout26->addLayout($layout35);
|
|
||||||
|
|
||||||
RUNSManual = Qt::RadioButton(RUNSelection, "RUNSManual");
|
$layout27->addWidget(YEAR, 1, 4);
|
||||||
RUNSManual->setGeometry( Qt::Rect(10, 15, 180, 22) );
|
|
||||||
$layout28->addWidget(RUNSelection);
|
BeamLineLabel = Qt::Label($LayoutWidget_3, "BeamLineLabel");
|
||||||
|
BeamLineLabel->setMinimumSize( Qt::Size(0, 20) );
|
||||||
|
|
||||||
|
$layout27->addWidget(BeamLineLabel, 1, 1);
|
||||||
|
|
||||||
|
textLabel1_5_2 = Qt::Label($LayoutWidget_3, "textLabel1_5_2");
|
||||||
|
textLabel1_5_2->setMinimumSize( Qt::Size(0, 20) );
|
||||||
|
|
||||||
|
$layout27->addWidget(textLabel1_5_2, 0, 0);
|
||||||
|
|
||||||
|
YEARLabel = Qt::Label($LayoutWidget_3, "YEARLabel");
|
||||||
|
YEARLabel->setMinimumSize( Qt::Size(0, 20) );
|
||||||
|
|
||||||
|
$layout27->addWidget(YEARLabel, 1, 3);
|
||||||
|
|
||||||
|
BeamLine = Qt::ComboBox(0, $LayoutWidget_3, "BeamLine");
|
||||||
|
BeamLine->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, BeamLine->sizePolicy()->hasHeightForWidth()) );
|
||||||
|
BeamLine->setMinimumSize( Qt::Size(0, 20) );
|
||||||
|
|
||||||
|
$layout27->addWidget(BeamLine, 1, 2);
|
||||||
|
|
||||||
|
RunNumbers = Qt::LineEdit($LayoutWidget_3, "RunNumbers");
|
||||||
|
RunNumbers->setSizePolicy( Qt::SizePolicy(5, 0, 0, 0, RunNumbers->sizePolicy()->hasHeightForWidth()) );
|
||||||
|
RunNumbers->setMinimumSize( Qt::Size(0, 23) );
|
||||||
|
|
||||||
|
$layout27->addMultiCellWidget(RunNumbers, 0, 0, 1, 4);
|
||||||
|
$layout32->addWidget(FileTypeAuto);
|
||||||
|
|
||||||
ComponentsLabel = Qt::Label($LayoutWidget, "ComponentsLabel");
|
ComponentsLabel = Qt::Label($LayoutWidget, "ComponentsLabel");
|
||||||
$layout28->addWidget(ComponentsLabel);
|
$layout32->addWidget(ComponentsLabel);
|
||||||
|
|
||||||
my $layout19 = Qt::GridLayout(undef, 1, 1, 0, 6, '$layout19');
|
my $layout19 = Qt::GridLayout(undef, 1, 1, 0, 6, '$layout19');
|
||||||
|
|
||||||
@ -692,7 +707,7 @@ sub NEW
|
|||||||
Comp2Label = Qt::Label($LayoutWidget, "Comp2Label");
|
Comp2Label = Qt::Label($LayoutWidget, "Comp2Label");
|
||||||
|
|
||||||
$layout19->addWidget(Comp2Label, 0, 1);
|
$layout19->addWidget(Comp2Label, 0, 1);
|
||||||
$layout28->addLayout($layout19);
|
$layout32->addLayout($layout19);
|
||||||
|
|
||||||
my $layout20 = Qt::GridLayout(undef, 1, 1, 0, 6, '$layout20');
|
my $layout20 = Qt::GridLayout(undef, 1, 1, 0, 6, '$layout20');
|
||||||
|
|
||||||
@ -722,7 +737,7 @@ sub NEW
|
|||||||
TisLabel = Qt::Label($LayoutWidget, "TisLabel");
|
TisLabel = Qt::Label($LayoutWidget, "TisLabel");
|
||||||
|
|
||||||
$layout20->addWidget(TisLabel, 0, 0);
|
$layout20->addWidget(TisLabel, 0, 0);
|
||||||
$layout28->addLayout($layout20);
|
$layout32->addLayout($layout20);
|
||||||
|
|
||||||
my $layout23 = Qt::HBoxLayout(undef, 0, 6, '$layout23');
|
my $layout23 = Qt::HBoxLayout(undef, 0, 6, '$layout23');
|
||||||
|
|
||||||
@ -738,7 +753,7 @@ sub NEW
|
|||||||
LRBF = Qt::LineEdit($LayoutWidget, "LRBF");
|
LRBF = Qt::LineEdit($LayoutWidget, "LRBF");
|
||||||
LRBF->setSizePolicy( Qt::SizePolicy(5, 0, 0, 0, LRBF->sizePolicy()->hasHeightForWidth()) );
|
LRBF->setSizePolicy( Qt::SizePolicy(5, 0, 0, 0, LRBF->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout23->addWidget(LRBF);
|
$layout23->addWidget(LRBF);
|
||||||
$layout28->addLayout($layout23);
|
$layout32->addLayout($layout23);
|
||||||
musrfit_tabs->insertTab( RUNSPage, "" );
|
musrfit_tabs->insertTab( RUNSPage, "" );
|
||||||
|
|
||||||
SharingPahe = Qt::Widget(musrfit_tabs, "SharingPahe");
|
SharingPahe = Qt::Widget(musrfit_tabs, "SharingPahe");
|
||||||
@ -759,47 +774,47 @@ sub NEW
|
|||||||
Comp1ShLabel->setGeometry( Qt::Rect(2, 30, 185, 20) );
|
Comp1ShLabel->setGeometry( Qt::Rect(2, 30, 185, 20) );
|
||||||
Comp1ShLabel->setPaletteBackgroundColor( Qt::Color(255, 255, 127) );
|
Comp1ShLabel->setPaletteBackgroundColor( Qt::Color(255, 255, 127) );
|
||||||
|
|
||||||
my $LayoutWidget_3 = Qt::Widget(SharingComp1, '$LayoutWidget_3');
|
my $LayoutWidget_4 = Qt::Widget(SharingComp1, '$LayoutWidget_4');
|
||||||
$LayoutWidget_3->setGeometry( Qt::Rect(40, 60, 81, 266) );
|
$LayoutWidget_4->setGeometry( Qt::Rect(40, 60, 81, 266) );
|
||||||
my $layout14 = Qt::VBoxLayout($LayoutWidget_3, 0, 0, '$layout14');
|
my $layout14 = Qt::VBoxLayout($LayoutWidget_4, 0, 0, '$layout14');
|
||||||
|
|
||||||
ShParam_1_1 = Qt::CheckBox($LayoutWidget_3, "ShParam_1_1");
|
ShParam_1_1 = Qt::CheckBox($LayoutWidget_4, "ShParam_1_1");
|
||||||
$layout14->addWidget(ShParam_1_1);
|
$layout14->addWidget(ShParam_1_1);
|
||||||
|
|
||||||
ShParam_1_2 = Qt::CheckBox($LayoutWidget_3, "ShParam_1_2");
|
ShParam_1_2 = Qt::CheckBox($LayoutWidget_4, "ShParam_1_2");
|
||||||
$layout14->addWidget(ShParam_1_2);
|
$layout14->addWidget(ShParam_1_2);
|
||||||
|
|
||||||
ShParam_1_3 = Qt::CheckBox($LayoutWidget_3, "ShParam_1_3");
|
ShParam_1_3 = Qt::CheckBox($LayoutWidget_4, "ShParam_1_3");
|
||||||
$layout14->addWidget(ShParam_1_3);
|
$layout14->addWidget(ShParam_1_3);
|
||||||
|
|
||||||
ShParam_1_4 = Qt::CheckBox($LayoutWidget_3, "ShParam_1_4");
|
ShParam_1_4 = Qt::CheckBox($LayoutWidget_4, "ShParam_1_4");
|
||||||
$layout14->addWidget(ShParam_1_4);
|
$layout14->addWidget(ShParam_1_4);
|
||||||
|
|
||||||
ShParam_1_5 = Qt::CheckBox($LayoutWidget_3, "ShParam_1_5");
|
ShParam_1_5 = Qt::CheckBox($LayoutWidget_4, "ShParam_1_5");
|
||||||
ShParam_1_5->setEnabled( 0 );
|
ShParam_1_5->setEnabled( 0 );
|
||||||
ShParam_1_5->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_1_5->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_1_5->setTristate( 0 );
|
ShParam_1_5->setTristate( 0 );
|
||||||
$layout14->addWidget(ShParam_1_5);
|
$layout14->addWidget(ShParam_1_5);
|
||||||
|
|
||||||
ShParam_1_6 = Qt::CheckBox($LayoutWidget_3, "ShParam_1_6");
|
ShParam_1_6 = Qt::CheckBox($LayoutWidget_4, "ShParam_1_6");
|
||||||
ShParam_1_6->setEnabled( 0 );
|
ShParam_1_6->setEnabled( 0 );
|
||||||
ShParam_1_6->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_1_6->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_1_6->setTristate( 0 );
|
ShParam_1_6->setTristate( 0 );
|
||||||
$layout14->addWidget(ShParam_1_6);
|
$layout14->addWidget(ShParam_1_6);
|
||||||
|
|
||||||
ShParam_1_7 = Qt::CheckBox($LayoutWidget_3, "ShParam_1_7");
|
ShParam_1_7 = Qt::CheckBox($LayoutWidget_4, "ShParam_1_7");
|
||||||
ShParam_1_7->setEnabled( 0 );
|
ShParam_1_7->setEnabled( 0 );
|
||||||
ShParam_1_7->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_1_7->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_1_7->setTristate( 0 );
|
ShParam_1_7->setTristate( 0 );
|
||||||
$layout14->addWidget(ShParam_1_7);
|
$layout14->addWidget(ShParam_1_7);
|
||||||
|
|
||||||
ShParam_1_8 = Qt::CheckBox($LayoutWidget_3, "ShParam_1_8");
|
ShParam_1_8 = Qt::CheckBox($LayoutWidget_4, "ShParam_1_8");
|
||||||
ShParam_1_8->setEnabled( 0 );
|
ShParam_1_8->setEnabled( 0 );
|
||||||
ShParam_1_8->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_1_8->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_1_8->setTristate( 0 );
|
ShParam_1_8->setTristate( 0 );
|
||||||
$layout14->addWidget(ShParam_1_8);
|
$layout14->addWidget(ShParam_1_8);
|
||||||
|
|
||||||
ShParam_1_9 = Qt::CheckBox($LayoutWidget_3, "ShParam_1_9");
|
ShParam_1_9 = Qt::CheckBox($LayoutWidget_4, "ShParam_1_9");
|
||||||
ShParam_1_9->setEnabled( 0 );
|
ShParam_1_9->setEnabled( 0 );
|
||||||
ShParam_1_9->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_1_9->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_1_9->setTristate( 0 );
|
ShParam_1_9->setTristate( 0 );
|
||||||
@ -814,44 +829,44 @@ sub NEW
|
|||||||
Comp2ShLabel->setGeometry( Qt::Rect(2, 30, 185, 20) );
|
Comp2ShLabel->setGeometry( Qt::Rect(2, 30, 185, 20) );
|
||||||
Comp2ShLabel->setPaletteBackgroundColor( Qt::Color(255, 255, 127) );
|
Comp2ShLabel->setPaletteBackgroundColor( Qt::Color(255, 255, 127) );
|
||||||
|
|
||||||
my $LayoutWidget_4 = Qt::Widget(SharingComp2, '$LayoutWidget_4');
|
my $LayoutWidget_5 = Qt::Widget(SharingComp2, '$LayoutWidget_5');
|
||||||
$LayoutWidget_4->setGeometry( Qt::Rect(40, 60, 81, 266) );
|
$LayoutWidget_5->setGeometry( Qt::Rect(40, 60, 81, 266) );
|
||||||
my $layout13 = Qt::VBoxLayout($LayoutWidget_4, 0, 0, '$layout13');
|
my $layout13 = Qt::VBoxLayout($LayoutWidget_5, 0, 0, '$layout13');
|
||||||
|
|
||||||
ShParam_2_1 = Qt::CheckBox($LayoutWidget_4, "ShParam_2_1");
|
ShParam_2_1 = Qt::CheckBox($LayoutWidget_5, "ShParam_2_1");
|
||||||
$layout13->addWidget(ShParam_2_1);
|
$layout13->addWidget(ShParam_2_1);
|
||||||
|
|
||||||
ShParam_2_2 = Qt::CheckBox($LayoutWidget_4, "ShParam_2_2");
|
ShParam_2_2 = Qt::CheckBox($LayoutWidget_5, "ShParam_2_2");
|
||||||
$layout13->addWidget(ShParam_2_2);
|
$layout13->addWidget(ShParam_2_2);
|
||||||
|
|
||||||
ShParam_2_3 = Qt::CheckBox($LayoutWidget_4, "ShParam_2_3");
|
ShParam_2_3 = Qt::CheckBox($LayoutWidget_5, "ShParam_2_3");
|
||||||
$layout13->addWidget(ShParam_2_3);
|
$layout13->addWidget(ShParam_2_3);
|
||||||
|
|
||||||
ShParam_2_4 = Qt::CheckBox($LayoutWidget_4, "ShParam_2_4");
|
ShParam_2_4 = Qt::CheckBox($LayoutWidget_5, "ShParam_2_4");
|
||||||
$layout13->addWidget(ShParam_2_4);
|
$layout13->addWidget(ShParam_2_4);
|
||||||
|
|
||||||
ShParam_2_5 = Qt::CheckBox($LayoutWidget_4, "ShParam_2_5");
|
ShParam_2_5 = Qt::CheckBox($LayoutWidget_5, "ShParam_2_5");
|
||||||
$layout13->addWidget(ShParam_2_5);
|
$layout13->addWidget(ShParam_2_5);
|
||||||
|
|
||||||
ShParam_2_6 = Qt::CheckBox($LayoutWidget_4, "ShParam_2_6");
|
ShParam_2_6 = Qt::CheckBox($LayoutWidget_5, "ShParam_2_6");
|
||||||
ShParam_2_6->setEnabled( 0 );
|
ShParam_2_6->setEnabled( 0 );
|
||||||
ShParam_2_6->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_2_6->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_2_6->setTristate( 0 );
|
ShParam_2_6->setTristate( 0 );
|
||||||
$layout13->addWidget(ShParam_2_6);
|
$layout13->addWidget(ShParam_2_6);
|
||||||
|
|
||||||
ShParam_2_7 = Qt::CheckBox($LayoutWidget_4, "ShParam_2_7");
|
ShParam_2_7 = Qt::CheckBox($LayoutWidget_5, "ShParam_2_7");
|
||||||
ShParam_2_7->setEnabled( 0 );
|
ShParam_2_7->setEnabled( 0 );
|
||||||
ShParam_2_7->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_2_7->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_2_7->setTristate( 0 );
|
ShParam_2_7->setTristate( 0 );
|
||||||
$layout13->addWidget(ShParam_2_7);
|
$layout13->addWidget(ShParam_2_7);
|
||||||
|
|
||||||
ShParam_2_8 = Qt::CheckBox($LayoutWidget_4, "ShParam_2_8");
|
ShParam_2_8 = Qt::CheckBox($LayoutWidget_5, "ShParam_2_8");
|
||||||
ShParam_2_8->setEnabled( 0 );
|
ShParam_2_8->setEnabled( 0 );
|
||||||
ShParam_2_8->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_2_8->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_2_8->setTristate( 0 );
|
ShParam_2_8->setTristate( 0 );
|
||||||
$layout13->addWidget(ShParam_2_8);
|
$layout13->addWidget(ShParam_2_8);
|
||||||
|
|
||||||
ShParam_2_9 = Qt::CheckBox($LayoutWidget_4, "ShParam_2_9");
|
ShParam_2_9 = Qt::CheckBox($LayoutWidget_5, "ShParam_2_9");
|
||||||
ShParam_2_9->setEnabled( 0 );
|
ShParam_2_9->setEnabled( 0 );
|
||||||
ShParam_2_9->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_2_9->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_2_9->setTristate( 0 );
|
ShParam_2_9->setTristate( 0 );
|
||||||
@ -867,44 +882,44 @@ sub NEW
|
|||||||
Comp3ShLabel->setGeometry( Qt::Rect(2, 30, 185, 20) );
|
Comp3ShLabel->setGeometry( Qt::Rect(2, 30, 185, 20) );
|
||||||
Comp3ShLabel->setPaletteBackgroundColor( Qt::Color(255, 255, 127) );
|
Comp3ShLabel->setPaletteBackgroundColor( Qt::Color(255, 255, 127) );
|
||||||
|
|
||||||
my $LayoutWidget_5 = Qt::Widget(SharingComp3, '$LayoutWidget_5');
|
my $LayoutWidget_6 = Qt::Widget(SharingComp3, '$LayoutWidget_6');
|
||||||
$LayoutWidget_5->setGeometry( Qt::Rect(41, 58, 81, 266) );
|
$LayoutWidget_6->setGeometry( Qt::Rect(41, 58, 81, 266) );
|
||||||
my $layout15 = Qt::VBoxLayout($LayoutWidget_5, 11, 6, '$layout15');
|
my $layout15 = Qt::VBoxLayout($LayoutWidget_6, 11, 6, '$layout15');
|
||||||
|
|
||||||
ShParam_3_1 = Qt::CheckBox($LayoutWidget_5, "ShParam_3_1");
|
ShParam_3_1 = Qt::CheckBox($LayoutWidget_6, "ShParam_3_1");
|
||||||
$layout15->addWidget(ShParam_3_1);
|
$layout15->addWidget(ShParam_3_1);
|
||||||
|
|
||||||
ShParam_3_2 = Qt::CheckBox($LayoutWidget_5, "ShParam_3_2");
|
ShParam_3_2 = Qt::CheckBox($LayoutWidget_6, "ShParam_3_2");
|
||||||
$layout15->addWidget(ShParam_3_2);
|
$layout15->addWidget(ShParam_3_2);
|
||||||
|
|
||||||
ShParam_3_3 = Qt::CheckBox($LayoutWidget_5, "ShParam_3_3");
|
ShParam_3_3 = Qt::CheckBox($LayoutWidget_6, "ShParam_3_3");
|
||||||
$layout15->addWidget(ShParam_3_3);
|
$layout15->addWidget(ShParam_3_3);
|
||||||
|
|
||||||
ShParam_3_4 = Qt::CheckBox($LayoutWidget_5, "ShParam_3_4");
|
ShParam_3_4 = Qt::CheckBox($LayoutWidget_6, "ShParam_3_4");
|
||||||
$layout15->addWidget(ShParam_3_4);
|
$layout15->addWidget(ShParam_3_4);
|
||||||
|
|
||||||
ShParam_3_5 = Qt::CheckBox($LayoutWidget_5, "ShParam_3_5");
|
ShParam_3_5 = Qt::CheckBox($LayoutWidget_6, "ShParam_3_5");
|
||||||
$layout15->addWidget(ShParam_3_5);
|
$layout15->addWidget(ShParam_3_5);
|
||||||
|
|
||||||
ShParam_3_6 = Qt::CheckBox($LayoutWidget_5, "ShParam_3_6");
|
ShParam_3_6 = Qt::CheckBox($LayoutWidget_6, "ShParam_3_6");
|
||||||
ShParam_3_6->setEnabled( 0 );
|
ShParam_3_6->setEnabled( 0 );
|
||||||
ShParam_3_6->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_3_6->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_3_6->setTristate( 0 );
|
ShParam_3_6->setTristate( 0 );
|
||||||
$layout15->addWidget(ShParam_3_6);
|
$layout15->addWidget(ShParam_3_6);
|
||||||
|
|
||||||
ShParam_3_7 = Qt::CheckBox($LayoutWidget_5, "ShParam_3_7");
|
ShParam_3_7 = Qt::CheckBox($LayoutWidget_6, "ShParam_3_7");
|
||||||
ShParam_3_7->setEnabled( 0 );
|
ShParam_3_7->setEnabled( 0 );
|
||||||
ShParam_3_7->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_3_7->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_3_7->setTristate( 0 );
|
ShParam_3_7->setTristate( 0 );
|
||||||
$layout15->addWidget(ShParam_3_7);
|
$layout15->addWidget(ShParam_3_7);
|
||||||
|
|
||||||
ShParam_3_8 = Qt::CheckBox($LayoutWidget_5, "ShParam_3_8");
|
ShParam_3_8 = Qt::CheckBox($LayoutWidget_6, "ShParam_3_8");
|
||||||
ShParam_3_8->setEnabled( 0 );
|
ShParam_3_8->setEnabled( 0 );
|
||||||
ShParam_3_8->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_3_8->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_3_8->setTristate( 0 );
|
ShParam_3_8->setTristate( 0 );
|
||||||
$layout15->addWidget(ShParam_3_8);
|
$layout15->addWidget(ShParam_3_8);
|
||||||
|
|
||||||
ShParam_3_9 = Qt::CheckBox($LayoutWidget_5, "ShParam_3_9");
|
ShParam_3_9 = Qt::CheckBox($LayoutWidget_6, "ShParam_3_9");
|
||||||
ShParam_3_9->setEnabled( 0 );
|
ShParam_3_9->setEnabled( 0 );
|
||||||
ShParam_3_9->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
ShParam_3_9->setPaletteBackgroundColor( Qt::Color(234, 233, 232) );
|
||||||
ShParam_3_9->setTristate( 0 );
|
ShParam_3_9->setTristate( 0 );
|
||||||
@ -979,11 +994,11 @@ sub NEW
|
|||||||
MINOS = Qt::RadioButton(ErrorCalc, "MINOS");
|
MINOS = Qt::RadioButton(ErrorCalc, "MINOS");
|
||||||
MINOS->setGeometry( Qt::Rect(19, 59, 69, 22) );
|
MINOS->setGeometry( Qt::Rect(19, 59, 69, 22) );
|
||||||
|
|
||||||
my $LayoutWidget_6 = Qt::Widget(TabPage, '$LayoutWidget_6');
|
my $LayoutWidget_7 = Qt::Widget(TabPage, '$LayoutWidget_7');
|
||||||
$LayoutWidget_6->setGeometry( Qt::Rect(418, 5, 125, 120) );
|
$LayoutWidget_7->setGeometry( Qt::Rect(418, 5, 125, 120) );
|
||||||
my $layout28_2 = Qt::VBoxLayout($LayoutWidget_6, 11, 6, '$layout28_2');
|
my $layout28_2 = Qt::VBoxLayout($LayoutWidget_7, 11, 6, '$layout28_2');
|
||||||
|
|
||||||
go = Qt::PushButton($LayoutWidget_6, "go");
|
go = Qt::PushButton($LayoutWidget_7, "go");
|
||||||
go->setSizePolicy( Qt::SizePolicy(7, 0, 1, 0, go->sizePolicy()->hasHeightForWidth()) );
|
go->setSizePolicy( Qt::SizePolicy(7, 0, 1, 0, go->sizePolicy()->hasHeightForWidth()) );
|
||||||
go->setMinimumSize( Qt::Size(95, 30) );
|
go->setMinimumSize( Qt::Size(95, 30) );
|
||||||
go->setMaximumSize( Qt::Size(95, 30) );
|
go->setMaximumSize( Qt::Size(95, 30) );
|
||||||
@ -991,7 +1006,7 @@ sub NEW
|
|||||||
go->setDefault( 1 );
|
go->setDefault( 1 );
|
||||||
$layout28_2->addWidget(go);
|
$layout28_2->addWidget(go);
|
||||||
|
|
||||||
PlotMSR = Qt::PushButton($LayoutWidget_6, "PlotMSR");
|
PlotMSR = Qt::PushButton($LayoutWidget_7, "PlotMSR");
|
||||||
PlotMSR->setSizePolicy( Qt::SizePolicy(7, 0, 1, 0, PlotMSR->sizePolicy()->hasHeightForWidth()) );
|
PlotMSR->setSizePolicy( Qt::SizePolicy(7, 0, 1, 0, PlotMSR->sizePolicy()->hasHeightForWidth()) );
|
||||||
PlotMSR->setMinimumSize( Qt::Size(95, 30) );
|
PlotMSR->setMinimumSize( Qt::Size(95, 30) );
|
||||||
PlotMSR->setMaximumSize( Qt::Size(95, 30) );
|
PlotMSR->setMaximumSize( Qt::Size(95, 30) );
|
||||||
@ -1006,212 +1021,212 @@ sub NEW
|
|||||||
|
|
||||||
TabPage_2 = Qt::Widget(musrfit_tabs, "TabPage_2");
|
TabPage_2 = Qt::Widget(musrfit_tabs, "TabPage_2");
|
||||||
|
|
||||||
my $LayoutWidget_7 = Qt::Widget(TabPage_2, '$LayoutWidget_7');
|
my $LayoutWidget_8 = Qt::Widget(TabPage_2, '$LayoutWidget_8');
|
||||||
$LayoutWidget_7->setGeometry( Qt::Rect(5, 5, 545, 94) );
|
$LayoutWidget_8->setGeometry( Qt::Rect(5, 5, 545, 94) );
|
||||||
my $layout33 = Qt::HBoxLayout($LayoutWidget_7, 11, 6, '$layout33');
|
my $layout33 = Qt::HBoxLayout($LayoutWidget_8, 11, 6, '$layout33');
|
||||||
|
|
||||||
my $layout26_2 = Qt::VBoxLayout(undef, 0, 6, '$layout26_2');
|
my $layout26 = Qt::VBoxLayout(undef, 0, 6, '$layout26');
|
||||||
|
|
||||||
FUnitsLabel = Qt::Label($LayoutWidget_7, "FUnitsLabel");
|
FUnitsLabel = Qt::Label($LayoutWidget_8, "FUnitsLabel");
|
||||||
$layout26_2->addWidget(FUnitsLabel);
|
$layout26->addWidget(FUnitsLabel);
|
||||||
|
|
||||||
FApodizationLabel = Qt::Label($LayoutWidget_7, "FApodizationLabel");
|
FApodizationLabel = Qt::Label($LayoutWidget_8, "FApodizationLabel");
|
||||||
$layout26_2->addWidget(FApodizationLabel);
|
$layout26->addWidget(FApodizationLabel);
|
||||||
|
|
||||||
FPlotLabel = Qt::Label($LayoutWidget_7, "FPlotLabel");
|
FPlotLabel = Qt::Label($LayoutWidget_8, "FPlotLabel");
|
||||||
$layout26_2->addWidget(FPlotLabel);
|
$layout26->addWidget(FPlotLabel);
|
||||||
$layout33->addLayout($layout26_2);
|
$layout33->addLayout($layout26);
|
||||||
|
|
||||||
my $layout27 = Qt::VBoxLayout(undef, 0, 6, '$layout27');
|
my $layout27_2 = Qt::VBoxLayout(undef, 0, 6, '$layout27_2');
|
||||||
|
|
||||||
FUnits = Qt::ComboBox(0, $LayoutWidget_7, "FUnits");
|
FUnits = Qt::ComboBox(0, $LayoutWidget_8, "FUnits");
|
||||||
FUnits->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, FUnits->sizePolicy()->hasHeightForWidth()) );
|
FUnits->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, FUnits->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout27->addWidget(FUnits);
|
$layout27_2->addWidget(FUnits);
|
||||||
|
|
||||||
FApodization = Qt::ComboBox(0, $LayoutWidget_7, "FApodization");
|
FApodization = Qt::ComboBox(0, $LayoutWidget_8, "FApodization");
|
||||||
FApodization->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, FApodization->sizePolicy()->hasHeightForWidth()) );
|
FApodization->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, FApodization->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout27->addWidget(FApodization);
|
$layout27_2->addWidget(FApodization);
|
||||||
|
|
||||||
FPlot = Qt::ComboBox(0, $LayoutWidget_7, "FPlot");
|
FPlot = Qt::ComboBox(0, $LayoutWidget_8, "FPlot");
|
||||||
FPlot->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, FPlot->sizePolicy()->hasHeightForWidth()) );
|
FPlot->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, FPlot->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout27->addWidget(FPlot);
|
$layout27_2->addWidget(FPlot);
|
||||||
$layout33->addLayout($layout27);
|
$layout33->addLayout($layout27_2);
|
||||||
|
|
||||||
my $layout28_3 = Qt::VBoxLayout(undef, 0, 6, '$layout28_3');
|
my $layout28_3 = Qt::VBoxLayout(undef, 0, 6, '$layout28_3');
|
||||||
|
|
||||||
textLabel1 = Qt::Label($LayoutWidget_7, "textLabel1");
|
textLabel1 = Qt::Label($LayoutWidget_8, "textLabel1");
|
||||||
$layout28_3->addWidget(textLabel1);
|
$layout28_3->addWidget(textLabel1);
|
||||||
|
|
||||||
textLabel1_3 = Qt::Label($LayoutWidget_7, "textLabel1_3");
|
textLabel1_3 = Qt::Label($LayoutWidget_8, "textLabel1_3");
|
||||||
$layout28_3->addWidget(textLabel1_3);
|
$layout28_3->addWidget(textLabel1_3);
|
||||||
|
|
||||||
textLabel1_3_5 = Qt::Label($LayoutWidget_7, "textLabel1_3_5");
|
textLabel1_3_5 = Qt::Label($LayoutWidget_8, "textLabel1_3_5");
|
||||||
$layout28_3->addWidget(textLabel1_3_5);
|
$layout28_3->addWidget(textLabel1_3_5);
|
||||||
$layout33->addLayout($layout28_3);
|
$layout33->addLayout($layout28_3);
|
||||||
|
|
||||||
my $layout29 = Qt::VBoxLayout(undef, 0, 6, '$layout29');
|
my $layout29 = Qt::VBoxLayout(undef, 0, 6, '$layout29');
|
||||||
|
|
||||||
lineEdit28 = Qt::LineEdit($LayoutWidget_7, "lineEdit28");
|
lineEdit28 = Qt::LineEdit($LayoutWidget_8, "lineEdit28");
|
||||||
lineEdit28->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, lineEdit28->sizePolicy()->hasHeightForWidth()) );
|
lineEdit28->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, lineEdit28->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout29->addWidget(lineEdit28);
|
$layout29->addWidget(lineEdit28);
|
||||||
|
|
||||||
textLabel1_3_2 = Qt::Label($LayoutWidget_7, "textLabel1_3_2");
|
textLabel1_3_2 = Qt::Label($LayoutWidget_8, "textLabel1_3_2");
|
||||||
$layout29->addWidget(textLabel1_3_2);
|
$layout29->addWidget(textLabel1_3_2);
|
||||||
|
|
||||||
textLabel1_3_6 = Qt::Label($LayoutWidget_7, "textLabel1_3_6");
|
textLabel1_3_6 = Qt::Label($LayoutWidget_8, "textLabel1_3_6");
|
||||||
$layout29->addWidget(textLabel1_3_6);
|
$layout29->addWidget(textLabel1_3_6);
|
||||||
$layout33->addLayout($layout29);
|
$layout33->addLayout($layout29);
|
||||||
|
|
||||||
my $layout31 = Qt::VBoxLayout(undef, 0, 6, '$layout31');
|
my $layout31 = Qt::VBoxLayout(undef, 0, 6, '$layout31');
|
||||||
|
|
||||||
textLabel1_2 = Qt::Label($LayoutWidget_7, "textLabel1_2");
|
textLabel1_2 = Qt::Label($LayoutWidget_8, "textLabel1_2");
|
||||||
$layout31->addWidget(textLabel1_2);
|
$layout31->addWidget(textLabel1_2);
|
||||||
|
|
||||||
textLabel1_3_3 = Qt::Label($LayoutWidget_7, "textLabel1_3_3");
|
textLabel1_3_3 = Qt::Label($LayoutWidget_8, "textLabel1_3_3");
|
||||||
$layout31->addWidget(textLabel1_3_3);
|
$layout31->addWidget(textLabel1_3_3);
|
||||||
|
|
||||||
textLabel1_3_7 = Qt::Label($LayoutWidget_7, "textLabel1_3_7");
|
textLabel1_3_7 = Qt::Label($LayoutWidget_8, "textLabel1_3_7");
|
||||||
$layout31->addWidget(textLabel1_3_7);
|
$layout31->addWidget(textLabel1_3_7);
|
||||||
$layout33->addLayout($layout31);
|
$layout33->addLayout($layout31);
|
||||||
|
|
||||||
my $layout32 = Qt::VBoxLayout(undef, 0, 6, '$layout32');
|
my $layout32_2 = Qt::VBoxLayout(undef, 0, 6, '$layout32_2');
|
||||||
|
|
||||||
lineEdit28_2 = Qt::LineEdit($LayoutWidget_7, "lineEdit28_2");
|
lineEdit28_2 = Qt::LineEdit($LayoutWidget_8, "lineEdit28_2");
|
||||||
lineEdit28_2->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, lineEdit28_2->sizePolicy()->hasHeightForWidth()) );
|
lineEdit28_2->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, lineEdit28_2->sizePolicy()->hasHeightForWidth()) );
|
||||||
$layout32->addWidget(lineEdit28_2);
|
$layout32_2->addWidget(lineEdit28_2);
|
||||||
|
|
||||||
textLabel1_3_4 = Qt::Label($LayoutWidget_7, "textLabel1_3_4");
|
textLabel1_3_4 = Qt::Label($LayoutWidget_8, "textLabel1_3_4");
|
||||||
$layout32->addWidget(textLabel1_3_4);
|
$layout32_2->addWidget(textLabel1_3_4);
|
||||||
|
|
||||||
textLabel1_3_8 = Qt::Label($LayoutWidget_7, "textLabel1_3_8");
|
textLabel1_3_8 = Qt::Label($LayoutWidget_8, "textLabel1_3_8");
|
||||||
$layout32->addWidget(textLabel1_3_8);
|
$layout32_2->addWidget(textLabel1_3_8);
|
||||||
$layout33->addLayout($layout32);
|
$layout33->addLayout($layout32_2);
|
||||||
musrfit_tabs->insertTab( TabPage_2, "" );
|
musrfit_tabs->insertTab( TabPage_2, "" );
|
||||||
|
|
||||||
TabPage_3 = Qt::Widget(musrfit_tabs, "TabPage_3");
|
TabPage_3 = Qt::Widget(musrfit_tabs, "TabPage_3");
|
||||||
|
|
||||||
my $LayoutWidget_8 = Qt::Widget(TabPage_3, '$LayoutWidget_8');
|
my $LayoutWidget_9 = Qt::Widget(TabPage_3, '$LayoutWidget_9');
|
||||||
$LayoutWidget_8->setGeometry( Qt::Rect(7, 5, 540, 180) );
|
$LayoutWidget_9->setGeometry( Qt::Rect(7, 5, 540, 180) );
|
||||||
my $layout27_2 = Qt::HBoxLayout($LayoutWidget_8, 0, 6, '$layout27_2');
|
my $layout27_3 = Qt::HBoxLayout($LayoutWidget_9, 0, 6, '$layout27_3');
|
||||||
|
|
||||||
groupHist0 = Qt::GroupBox($LayoutWidget_8, "groupHist0");
|
groupHist0 = Qt::GroupBox($LayoutWidget_9, "groupHist0");
|
||||||
groupHist0->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, groupHist0->sizePolicy()->hasHeightForWidth()) );
|
groupHist0->setSizePolicy( Qt::SizePolicy(5, 5, 0, 0, groupHist0->sizePolicy()->hasHeightForWidth()) );
|
||||||
groupHist0->setMinimumSize( Qt::Size(0, 0) );
|
groupHist0->setMinimumSize( Qt::Size(0, 0) );
|
||||||
|
|
||||||
my $LayoutWidget_9 = Qt::Widget(groupHist0, '$LayoutWidget_9');
|
my $LayoutWidget_10 = Qt::Widget(groupHist0, '$LayoutWidget_10');
|
||||||
$LayoutWidget_9->setGeometry( Qt::Rect(5, 18, 100, 150) );
|
$LayoutWidget_10->setGeometry( Qt::Rect(5, 18, 100, 150) );
|
||||||
my $layout16_2 = Qt::VBoxLayout($LayoutWidget_9, 11, 6, '$layout16_2');
|
my $layout16_2 = Qt::VBoxLayout($LayoutWidget_10, 11, 6, '$layout16_2');
|
||||||
|
|
||||||
textLabel2 = Qt::Label($LayoutWidget_9, "textLabel2");
|
textLabel2 = Qt::Label($LayoutWidget_10, "textLabel2");
|
||||||
$layout16_2->addWidget(textLabel2);
|
$layout16_2->addWidget(textLabel2);
|
||||||
|
|
||||||
textLabel2_2_2_3 = Qt::Label($LayoutWidget_9, "textLabel2_2_2_3");
|
textLabel2_2_2_3 = Qt::Label($LayoutWidget_10, "textLabel2_2_2_3");
|
||||||
$layout16_2->addWidget(textLabel2_2_2_3);
|
$layout16_2->addWidget(textLabel2_2_2_3);
|
||||||
|
|
||||||
textLabel2_2_2 = Qt::Label($LayoutWidget_9, "textLabel2_2_2");
|
textLabel2_2_2 = Qt::Label($LayoutWidget_10, "textLabel2_2_2");
|
||||||
$layout16_2->addWidget(textLabel2_2_2);
|
$layout16_2->addWidget(textLabel2_2_2);
|
||||||
|
|
||||||
textLabel2_2_2_2 = Qt::Label($LayoutWidget_9, "textLabel2_2_2_2");
|
textLabel2_2_2_2 = Qt::Label($LayoutWidget_10, "textLabel2_2_2_2");
|
||||||
$layout16_2->addWidget(textLabel2_2_2_2);
|
$layout16_2->addWidget(textLabel2_2_2_2);
|
||||||
|
|
||||||
textLabel2_2_2_2_2 = Qt::Label($LayoutWidget_9, "textLabel2_2_2_2_2");
|
textLabel2_2_2_2_2 = Qt::Label($LayoutWidget_10, "textLabel2_2_2_2_2");
|
||||||
$layout16_2->addWidget(textLabel2_2_2_2_2);
|
$layout16_2->addWidget(textLabel2_2_2_2_2);
|
||||||
$layout27_2->addWidget(groupHist0);
|
$layout27_3->addWidget(groupHist0);
|
||||||
|
|
||||||
groupHist1 = Qt::GroupBox($LayoutWidget_8, "groupHist1");
|
groupHist1 = Qt::GroupBox($LayoutWidget_9, "groupHist1");
|
||||||
groupHist1->setFrameShadow( &Qt::GroupBox::Plain() );
|
groupHist1->setFrameShadow( &Qt::GroupBox::Plain() );
|
||||||
|
|
||||||
my $LayoutWidget_10 = Qt::Widget(groupHist1, '$LayoutWidget_10');
|
my $LayoutWidget_11 = Qt::Widget(groupHist1, '$LayoutWidget_11');
|
||||||
$LayoutWidget_10->setGeometry( Qt::Rect(8, 17, 75, 150) );
|
$LayoutWidget_11->setGeometry( Qt::Rect(8, 17, 75, 150) );
|
||||||
my $layout18 = Qt::VBoxLayout($LayoutWidget_10, 0, 0, '$layout18');
|
my $layout18 = Qt::VBoxLayout($LayoutWidget_11, 0, 0, '$layout18');
|
||||||
|
|
||||||
t01 = Qt::LineEdit($LayoutWidget_10, "t01");
|
t01 = Qt::LineEdit($LayoutWidget_11, "t01");
|
||||||
$layout18->addWidget(t01);
|
$layout18->addWidget(t01);
|
||||||
|
|
||||||
Bg11 = Qt::LineEdit($LayoutWidget_10, "Bg11");
|
Bg11 = Qt::LineEdit($LayoutWidget_11, "Bg11");
|
||||||
$layout18->addWidget(Bg11);
|
$layout18->addWidget(Bg11);
|
||||||
|
|
||||||
Bg21 = Qt::LineEdit($LayoutWidget_10, "Bg21");
|
Bg21 = Qt::LineEdit($LayoutWidget_11, "Bg21");
|
||||||
$layout18->addWidget(Bg21);
|
$layout18->addWidget(Bg21);
|
||||||
|
|
||||||
Data11 = Qt::LineEdit($LayoutWidget_10, "Data11");
|
Data11 = Qt::LineEdit($LayoutWidget_11, "Data11");
|
||||||
$layout18->addWidget(Data11);
|
$layout18->addWidget(Data11);
|
||||||
|
|
||||||
Data21 = Qt::LineEdit($LayoutWidget_10, "Data21");
|
Data21 = Qt::LineEdit($LayoutWidget_11, "Data21");
|
||||||
$layout18->addWidget(Data21);
|
$layout18->addWidget(Data21);
|
||||||
$layout27_2->addWidget(groupHist1);
|
$layout27_3->addWidget(groupHist1);
|
||||||
|
|
||||||
groupHist2 = Qt::GroupBox($LayoutWidget_8, "groupHist2");
|
groupHist2 = Qt::GroupBox($LayoutWidget_9, "groupHist2");
|
||||||
groupHist2->setEnabled( 1 );
|
groupHist2->setEnabled( 1 );
|
||||||
groupHist2->setFrameShadow( &Qt::GroupBox::Plain() );
|
groupHist2->setFrameShadow( &Qt::GroupBox::Plain() );
|
||||||
|
|
||||||
my $LayoutWidget_11 = Qt::Widget(groupHist2, '$LayoutWidget_11');
|
my $LayoutWidget_12 = Qt::Widget(groupHist2, '$LayoutWidget_12');
|
||||||
$LayoutWidget_11->setGeometry( Qt::Rect(8, 17, 75, 150) );
|
$LayoutWidget_12->setGeometry( Qt::Rect(8, 17, 75, 150) );
|
||||||
my $layout18_2 = Qt::VBoxLayout($LayoutWidget_11, 0, 0, '$layout18_2');
|
my $layout18_2 = Qt::VBoxLayout($LayoutWidget_12, 0, 0, '$layout18_2');
|
||||||
|
|
||||||
t02 = Qt::LineEdit($LayoutWidget_11, "t02");
|
t02 = Qt::LineEdit($LayoutWidget_12, "t02");
|
||||||
$layout18_2->addWidget(t02);
|
$layout18_2->addWidget(t02);
|
||||||
|
|
||||||
Bg12 = Qt::LineEdit($LayoutWidget_11, "Bg12");
|
Bg12 = Qt::LineEdit($LayoutWidget_12, "Bg12");
|
||||||
$layout18_2->addWidget(Bg12);
|
$layout18_2->addWidget(Bg12);
|
||||||
|
|
||||||
Bg22 = Qt::LineEdit($LayoutWidget_11, "Bg22");
|
Bg22 = Qt::LineEdit($LayoutWidget_12, "Bg22");
|
||||||
$layout18_2->addWidget(Bg22);
|
$layout18_2->addWidget(Bg22);
|
||||||
|
|
||||||
Data12 = Qt::LineEdit($LayoutWidget_11, "Data12");
|
Data12 = Qt::LineEdit($LayoutWidget_12, "Data12");
|
||||||
$layout18_2->addWidget(Data12);
|
$layout18_2->addWidget(Data12);
|
||||||
|
|
||||||
Data22 = Qt::LineEdit($LayoutWidget_11, "Data22");
|
Data22 = Qt::LineEdit($LayoutWidget_12, "Data22");
|
||||||
$layout18_2->addWidget(Data22);
|
$layout18_2->addWidget(Data22);
|
||||||
$layout27_2->addWidget(groupHist2);
|
$layout27_3->addWidget(groupHist2);
|
||||||
|
|
||||||
groupHist3 = Qt::GroupBox($LayoutWidget_8, "groupHist3");
|
groupHist3 = Qt::GroupBox($LayoutWidget_9, "groupHist3");
|
||||||
groupHist3->setEnabled( 1 );
|
groupHist3->setEnabled( 1 );
|
||||||
groupHist3->setFrameShadow( &Qt::GroupBox::Plain() );
|
groupHist3->setFrameShadow( &Qt::GroupBox::Plain() );
|
||||||
|
|
||||||
my $LayoutWidget_12 = Qt::Widget(groupHist3, '$LayoutWidget_12');
|
my $LayoutWidget_13 = Qt::Widget(groupHist3, '$LayoutWidget_13');
|
||||||
$LayoutWidget_12->setGeometry( Qt::Rect(8, 17, 75, 150) );
|
$LayoutWidget_13->setGeometry( Qt::Rect(8, 17, 75, 150) );
|
||||||
my $layout18_3 = Qt::VBoxLayout($LayoutWidget_12, 0, 0, '$layout18_3');
|
my $layout18_3 = Qt::VBoxLayout($LayoutWidget_13, 0, 0, '$layout18_3');
|
||||||
|
|
||||||
t03 = Qt::LineEdit($LayoutWidget_12, "t03");
|
t03 = Qt::LineEdit($LayoutWidget_13, "t03");
|
||||||
$layout18_3->addWidget(t03);
|
$layout18_3->addWidget(t03);
|
||||||
|
|
||||||
Bg13 = Qt::LineEdit($LayoutWidget_12, "Bg13");
|
Bg13 = Qt::LineEdit($LayoutWidget_13, "Bg13");
|
||||||
$layout18_3->addWidget(Bg13);
|
$layout18_3->addWidget(Bg13);
|
||||||
|
|
||||||
Bg23 = Qt::LineEdit($LayoutWidget_12, "Bg23");
|
Bg23 = Qt::LineEdit($LayoutWidget_13, "Bg23");
|
||||||
$layout18_3->addWidget(Bg23);
|
$layout18_3->addWidget(Bg23);
|
||||||
|
|
||||||
Data13 = Qt::LineEdit($LayoutWidget_12, "Data13");
|
Data13 = Qt::LineEdit($LayoutWidget_13, "Data13");
|
||||||
$layout18_3->addWidget(Data13);
|
$layout18_3->addWidget(Data13);
|
||||||
|
|
||||||
Data23 = Qt::LineEdit($LayoutWidget_12, "Data23");
|
Data23 = Qt::LineEdit($LayoutWidget_13, "Data23");
|
||||||
$layout18_3->addWidget(Data23);
|
$layout18_3->addWidget(Data23);
|
||||||
$layout27_2->addWidget(groupHist3);
|
$layout27_3->addWidget(groupHist3);
|
||||||
|
|
||||||
groupHist4 = Qt::GroupBox($LayoutWidget_8, "groupHist4");
|
groupHist4 = Qt::GroupBox($LayoutWidget_9, "groupHist4");
|
||||||
groupHist4->setEnabled( 1 );
|
groupHist4->setEnabled( 1 );
|
||||||
groupHist4->setFrameShadow( &Qt::GroupBox::Plain() );
|
groupHist4->setFrameShadow( &Qt::GroupBox::Plain() );
|
||||||
|
|
||||||
my $LayoutWidget_13 = Qt::Widget(groupHist4, '$LayoutWidget_13');
|
my $LayoutWidget_14 = Qt::Widget(groupHist4, '$LayoutWidget_14');
|
||||||
$LayoutWidget_13->setGeometry( Qt::Rect(8, 17, 75, 150) );
|
$LayoutWidget_14->setGeometry( Qt::Rect(8, 17, 75, 150) );
|
||||||
my $layout18_4 = Qt::VBoxLayout($LayoutWidget_13, 0, 0, '$layout18_4');
|
my $layout18_4 = Qt::VBoxLayout($LayoutWidget_14, 0, 0, '$layout18_4');
|
||||||
|
|
||||||
t04 = Qt::LineEdit($LayoutWidget_13, "t04");
|
t04 = Qt::LineEdit($LayoutWidget_14, "t04");
|
||||||
$layout18_4->addWidget(t04);
|
$layout18_4->addWidget(t04);
|
||||||
|
|
||||||
Bg14 = Qt::LineEdit($LayoutWidget_13, "Bg14");
|
Bg14 = Qt::LineEdit($LayoutWidget_14, "Bg14");
|
||||||
$layout18_4->addWidget(Bg14);
|
$layout18_4->addWidget(Bg14);
|
||||||
|
|
||||||
Bg24 = Qt::LineEdit($LayoutWidget_13, "Bg24");
|
Bg24 = Qt::LineEdit($LayoutWidget_14, "Bg24");
|
||||||
$layout18_4->addWidget(Bg24);
|
$layout18_4->addWidget(Bg24);
|
||||||
|
|
||||||
Data14 = Qt::LineEdit($LayoutWidget_13, "Data14");
|
Data14 = Qt::LineEdit($LayoutWidget_14, "Data14");
|
||||||
$layout18_4->addWidget(Data14);
|
$layout18_4->addWidget(Data14);
|
||||||
|
|
||||||
Data24 = Qt::LineEdit($LayoutWidget_13, "Data24");
|
Data24 = Qt::LineEdit($LayoutWidget_14, "Data24");
|
||||||
$layout18_4->addWidget(Data24);
|
$layout18_4->addWidget(Data24);
|
||||||
$layout27_2->addWidget(groupHist4);
|
$layout27_3->addWidget(groupHist4);
|
||||||
|
|
||||||
ShowT0 = Qt::PushButton(TabPage_3, "ShowT0");
|
ShowT0 = Qt::PushButton(TabPage_3, "ShowT0");
|
||||||
ShowT0->setGeometry( Qt::Rect(451, 190, 95, 30) );
|
ShowT0->setGeometry( Qt::Rect(451, 190, 95, 30) );
|
||||||
@ -1220,7 +1235,6 @@ sub NEW
|
|||||||
ShowT0->setAutoDefault( 0 );
|
ShowT0->setAutoDefault( 0 );
|
||||||
ShowT0->setDefault( 1 );
|
ShowT0->setDefault( 1 );
|
||||||
musrfit_tabs->insertTab( TabPage_3, "" );
|
musrfit_tabs->insertTab( TabPage_3, "" );
|
||||||
$MuSRFitformLayout->addWidget(musrfit_tabs);
|
|
||||||
|
|
||||||
fileNewAction= Qt::Action(this, "fileNewAction");
|
fileNewAction= Qt::Action(this, "fileNewAction");
|
||||||
fileNewAction->setIconSet( Qt::IconSet($image1) );
|
fileNewAction->setIconSet( Qt::IconSet($image1) );
|
||||||
@ -1261,11 +1275,12 @@ sub NEW
|
|||||||
FileExistCheck= Qt::Action(this, "FileExistCheck");
|
FileExistCheck= Qt::Action(this, "FileExistCheck");
|
||||||
FileExistCheck->setToggleAction( 1 );
|
FileExistCheck->setToggleAction( 1 );
|
||||||
FileExistCheck->setOn( 1 );
|
FileExistCheck->setOn( 1 );
|
||||||
MaualFile= Qt::Action(this, "MaualFile");
|
ManualFile= Qt::Action(this, "ManualFile");
|
||||||
MaualFile->setToggleAction( 1 );
|
ManualFile->setToggleAction( 1 );
|
||||||
fileChangeDirAction= Qt::Action(this, "fileChangeDirAction");
|
fileChangeDirAction= Qt::Action(this, "fileChangeDirAction");
|
||||||
Action_2= Qt::Action(this, "Action_2");
|
Action_2= Qt::Action(this, "Action_2");
|
||||||
Action_3= Qt::Action(this, "Action_3");
|
Action_3= Qt::Action(this, "Action_3");
|
||||||
|
optionsnew_itemAction= Qt::Action(this, "optionsnew_itemAction");
|
||||||
|
|
||||||
|
|
||||||
toolBar = Qt::ToolBar("", this, &DockTop);
|
toolBar = Qt::ToolBar("", this, &DockTop);
|
||||||
@ -1302,7 +1317,7 @@ sub NEW
|
|||||||
|
|
||||||
Options = Qt::PopupMenu( this );
|
Options = Qt::PopupMenu( this );
|
||||||
FileExistCheck->addTo( Options );
|
FileExistCheck->addTo( Options );
|
||||||
MaualFile->addTo( Options );
|
ManualFile->addTo( Options );
|
||||||
MenuBar->insertItem( "", Options, 4 );
|
MenuBar->insertItem( "", Options, 4 );
|
||||||
|
|
||||||
helpMenu = Qt::PopupMenu( this );
|
helpMenu = Qt::PopupMenu( this );
|
||||||
@ -1315,7 +1330,7 @@ sub NEW
|
|||||||
MenuBar->insertSeparator( 6 );
|
MenuBar->insertSeparator( 6 );
|
||||||
|
|
||||||
languageChange();
|
languageChange();
|
||||||
my $resize = Qt::Size(582, 505);
|
my $resize = Qt::Size(582, 580);
|
||||||
$resize = $resize->expandedTo(minimumSizeHint());
|
$resize = $resize->expandedTo(minimumSizeHint());
|
||||||
resize( $resize );
|
resize( $resize );
|
||||||
clearWState( &Qt::WState_Polished );
|
clearWState( &Qt::WState_Polished );
|
||||||
@ -1339,13 +1354,12 @@ sub NEW
|
|||||||
Qt::Object::connect(PlotMSR, SIGNAL "clicked()", this, SLOT "GoPlot()");
|
Qt::Object::connect(PlotMSR, SIGNAL "clicked()", this, SLOT "GoPlot()");
|
||||||
Qt::Object::connect(BeamLine, SIGNAL "activated(int)", this, SLOT "T0Update()");
|
Qt::Object::connect(BeamLine, SIGNAL "activated(int)", this, SLOT "T0Update()");
|
||||||
Qt::Object::connect(InitParamTable, SIGNAL "valueChanged(int,int)", this, SLOT "CallMSRCreate()");
|
Qt::Object::connect(InitParamTable, SIGNAL "valueChanged(int,int)", this, SLOT "CallMSRCreate()");
|
||||||
Qt::Object::connect(RUNSManual, SIGNAL "toggled(bool)", this, SLOT "RunSelectionToggle()");
|
|
||||||
Qt::Object::connect(Browse, SIGNAL "clicked()", this, SLOT "fileBrowse()");
|
Qt::Object::connect(Browse, SIGNAL "clicked()", this, SLOT "fileBrowse()");
|
||||||
|
Qt::Object::connect(ManualFile, SIGNAL "toggled(bool)", this, SLOT "RunSelectionToggle()");
|
||||||
|
|
||||||
setTabOrder(musrfit_tabs, TITLE);
|
setTabOrder(musrfit_tabs, TITLE);
|
||||||
setTabOrder(TITLE, FILENAME);
|
setTabOrder(TITLE, FILENAME);
|
||||||
setTabOrder(FILENAME, RUNSAuto);
|
setTabOrder(FILENAME, RunFiles);
|
||||||
setTabOrder(RUNSAuto, RunFiles);
|
|
||||||
setTabOrder(RunFiles, Browse);
|
setTabOrder(RunFiles, Browse);
|
||||||
setTabOrder(Browse, RunNumbers);
|
setTabOrder(Browse, RunNumbers);
|
||||||
setTabOrder(RunNumbers, BeamLine);
|
setTabOrder(RunNumbers, BeamLine);
|
||||||
@ -1442,23 +1456,14 @@ sub languageChange
|
|||||||
FILENAMELabel->setText( trUtf8("Enter [name] for output [name].msr file (optional)") );
|
FILENAMELabel->setText( trUtf8("Enter [name] for output [name].msr file (optional)") );
|
||||||
Qt::ToolTip::add(FILENAME, trUtf8("Name of the produced MSR file (optional)"));
|
Qt::ToolTip::add(FILENAME, trUtf8("Name of the produced MSR file (optional)"));
|
||||||
Qt::WhatsThis::add(FILENAME, trUtf8("Name of the produced MSR file (optional)"));
|
Qt::WhatsThis::add(FILENAME, trUtf8("Name of the produced MSR file (optional)"));
|
||||||
RUNSelection->setTitle( undef );
|
FileTypeMan->setTitle( undef );
|
||||||
textLabel1_4->setText( undef );
|
textLabel1_5->setText( trUtf8("Select RUNs Manually") );
|
||||||
RUNSAuto->setText( trUtf8("Input the RUN numbers") );
|
|
||||||
Qt::ToolTip::add(RunFiles, trUtf8("Names of data files to be fit. Multiple data files are comma separated."));
|
Qt::ToolTip::add(RunFiles, trUtf8("Names of data files to be fit. Multiple data files are comma separated."));
|
||||||
Qt::WhatsThis::add(RunFiles, trUtf8("Names of data files to be fit. Multiple data files are comma separated."));
|
Qt::WhatsThis::add(RunFiles, trUtf8("Names of data files to be fit. Multiple data files are comma separated."));
|
||||||
Browse->setText( trUtf8("Browse") );
|
Browse->setText( trUtf8("Browse") );
|
||||||
Qt::ToolTip::add(Browse, trUtf8("Browse to select data files for fitting."));
|
Qt::ToolTip::add(Browse, trUtf8("Browse to select data files for fitting."));
|
||||||
Qt::WhatsThis::add(Browse, trUtf8("Browse to select data files for fitting."));
|
Qt::WhatsThis::add(Browse, trUtf8("Browse to select data files for fitting."));
|
||||||
Qt::ToolTip::add(RunNumbers, trUtf8("Numbers of RUNs to fit. Multiple runs are comma separated."));
|
FileTypeAuto->setTitle( undef );
|
||||||
Qt::WhatsThis::add(RunNumbers, trUtf8("Numbers of RUNs to fit. Multiple runs are comma separated."));
|
|
||||||
BeamLineLabel->setText( trUtf8("On beam line") );
|
|
||||||
BeamLine->clear();
|
|
||||||
BeamLine->insertItem( trUtf8("LEM") );
|
|
||||||
BeamLine->insertItem( trUtf8("GPS") );
|
|
||||||
BeamLine->insertItem( trUtf8("Dolly") );
|
|
||||||
BeamLine->insertItem( trUtf8("LTF") );
|
|
||||||
YEARLabel->setText( trUtf8("Year") );
|
|
||||||
YEAR->clear();
|
YEAR->clear();
|
||||||
YEAR->insertItem( trUtf8("2009") );
|
YEAR->insertItem( trUtf8("2009") );
|
||||||
YEAR->insertItem( trUtf8("2008") );
|
YEAR->insertItem( trUtf8("2008") );
|
||||||
@ -1466,7 +1471,16 @@ sub languageChange
|
|||||||
YEAR->insertItem( trUtf8("2006") );
|
YEAR->insertItem( trUtf8("2006") );
|
||||||
YEAR->insertItem( trUtf8("2005") );
|
YEAR->insertItem( trUtf8("2005") );
|
||||||
YEAR->insertItem( trUtf8("2004") );
|
YEAR->insertItem( trUtf8("2004") );
|
||||||
RUNSManual->setText( trUtf8("Select RUNs Manually") );
|
BeamLineLabel->setText( trUtf8("On beam line") );
|
||||||
|
textLabel1_5_2->setText( trUtf8("Input the RUN numbers") );
|
||||||
|
YEARLabel->setText( trUtf8("Year") );
|
||||||
|
BeamLine->clear();
|
||||||
|
BeamLine->insertItem( trUtf8("LEM") );
|
||||||
|
BeamLine->insertItem( trUtf8("GPS") );
|
||||||
|
BeamLine->insertItem( trUtf8("Dolly") );
|
||||||
|
BeamLine->insertItem( trUtf8("LTF") );
|
||||||
|
Qt::ToolTip::add(RunNumbers, trUtf8("Numbers of RUNs to fit. Multiple runs are comma separated."));
|
||||||
|
Qt::WhatsThis::add(RunNumbers, trUtf8("Numbers of RUNs to fit. Multiple runs are comma separated."));
|
||||||
ComponentsLabel->setText( trUtf8("Chose type of fitting function") );
|
ComponentsLabel->setText( trUtf8("Chose type of fitting function") );
|
||||||
Comp1Label->setText( trUtf8("First Component") );
|
Comp1Label->setText( trUtf8("First Component") );
|
||||||
Comp3Label->setText( trUtf8("Third Component") );
|
Comp3Label->setText( trUtf8("Third Component") );
|
||||||
@ -1679,13 +1693,15 @@ sub languageChange
|
|||||||
FileExistCheck->setText( trUtf8("File exist check") );
|
FileExistCheck->setText( trUtf8("File exist check") );
|
||||||
FileExistCheck->setMenuText( trUtf8("File exist check") );
|
FileExistCheck->setMenuText( trUtf8("File exist check") );
|
||||||
FileExistCheck->setWhatsThis( trUtf8("Enable/Disable checking for MSR files.") );
|
FileExistCheck->setWhatsThis( trUtf8("Enable/Disable checking for MSR files.") );
|
||||||
MaualFile->setText( trUtf8("Maual file selection") );
|
ManualFile->setText( trUtf8("Maual file selection") );
|
||||||
MaualFile->setMenuText( trUtf8("Maual file selection") );
|
ManualFile->setMenuText( trUtf8("Maual file selection") );
|
||||||
fileChangeDirAction->setText( trUtf8("&Change dir") );
|
fileChangeDirAction->setText( trUtf8("&Change dir") );
|
||||||
fileChangeDirAction->setMenuText( trUtf8("&Change dir") );
|
fileChangeDirAction->setMenuText( trUtf8("&Change dir") );
|
||||||
fileChangeDirAction->setAccel( Qt::KeySequence( trUtf8("Ctrl+C") ) );
|
fileChangeDirAction->setAccel( Qt::KeySequence( trUtf8("Ctrl+C") ) );
|
||||||
Action_2->setText( trUtf8("Unnamed") );
|
Action_2->setText( trUtf8("Unnamed") );
|
||||||
Action_3->setText( trUtf8("Unnamed") );
|
Action_3->setText( trUtf8("Unnamed") );
|
||||||
|
optionsnew_itemAction->setText( trUtf8("new item") );
|
||||||
|
optionsnew_itemAction->setMenuText( trUtf8("new item") );
|
||||||
toolBar->setLabel( trUtf8("Tools") );
|
toolBar->setLabel( trUtf8("Tools") );
|
||||||
MenuBar->findItem( 2 )->setText( trUtf8("&File") );
|
MenuBar->findItem( 2 )->setText( trUtf8("&File") );
|
||||||
MenuBar->findItem( 3 )->setText( trUtf8("&Edit") );
|
MenuBar->findItem( 3 )->setText( trUtf8("&Edit") );
|
||||||
@ -1838,7 +1854,7 @@ sub CreateAllInput
|
|||||||
$All{"RunNumbers"} = RunNumbers->text;
|
$All{"RunNumbers"} = RunNumbers->text;
|
||||||
$All{"RunFiles"} = RunFiles->text;
|
$All{"RunFiles"} = RunFiles->text;
|
||||||
$All{"BeamLine"} = BeamLine->currentText;
|
$All{"BeamLine"} = BeamLine->currentText;
|
||||||
$All{"RUNSType"} = RUNSManual->isChecked();
|
$All{"RUNSType"} = ManualFile->isOn();
|
||||||
$All{"YEAR"} =YEAR->currentText;
|
$All{"YEAR"} =YEAR->currentText;
|
||||||
$All{"Tis"} = Tis->text;
|
$All{"Tis"} = Tis->text;
|
||||||
$All{"Tfs"} = Tfs->text;
|
$All{"Tfs"} = Tfs->text;
|
||||||
@ -2346,23 +2362,21 @@ sub T0Update
|
|||||||
sub RunSelectionToggle
|
sub RunSelectionToggle
|
||||||
{
|
{
|
||||||
|
|
||||||
my $RUNSType = RUNSManual->isChecked();
|
my $ManualFile= ManualFile->isOn();
|
||||||
if ($RUNSType) {
|
if ($ManualFile) {
|
||||||
# Manual RUN selection
|
# Manual RUN selection
|
||||||
RunFiles->setEnabled(1);
|
FileTypeMan->setEnabled(1);
|
||||||
Browse->setEnabled(1);
|
FileTypeMan->setHidden(0);
|
||||||
RunNumbers->setEnabled(0);
|
|
||||||
RunNumbers->setText("");
|
RunNumbers->setText("");
|
||||||
BeamLine->setEnabled(0);
|
FileTypeAuto->setEnabled(0);
|
||||||
YEAR->setEnabled(0);
|
FileTypeAuto->setHidden(1);
|
||||||
} else {
|
} else {
|
||||||
# Auto RUN selection
|
# Auto RUN selection
|
||||||
RunFiles->setEnabled(0);
|
FileTypeMan->setEnabled(0);
|
||||||
|
FileTypeMan->setHidden(1);
|
||||||
RunFiles->setText("");
|
RunFiles->setText("");
|
||||||
Browse->setEnabled(0);
|
FileTypeAuto->setEnabled(1);
|
||||||
RunNumbers->setEnabled(1);
|
FileTypeAuto->setHidden(0);
|
||||||
BeamLine->setEnabled(1);
|
|
||||||
YEAR->setEnabled(1);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
354
src/external/MuSRFitGUI/MuSRFit.ui
vendored
354
src/external/MuSRFitGUI/MuSRFit.ui
vendored
@ -9,7 +9,7 @@
|
|||||||
<x>0</x>
|
<x>0</x>
|
||||||
<y>0</y>
|
<y>0</y>
|
||||||
<width>582</width>
|
<width>582</width>
|
||||||
<height>505</height>
|
<height>580</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
@ -35,10 +35,6 @@
|
|||||||
<property name="iconText">
|
<property name="iconText">
|
||||||
<string>MuSRFitGUI</string>
|
<string>MuSRFitGUI</string>
|
||||||
</property>
|
</property>
|
||||||
<vbox>
|
|
||||||
<property name="name">
|
|
||||||
<cstring>unnamed</cstring>
|
|
||||||
</property>
|
|
||||||
<widget class="QTabWidget">
|
<widget class="QTabWidget">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>musrfit_tabs</cstring>
|
<cstring>musrfit_tabs</cstring>
|
||||||
@ -46,6 +42,14 @@
|
|||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>11</x>
|
||||||
|
<y>11</y>
|
||||||
|
<width>560</width>
|
||||||
|
<height>485</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy>
|
<sizepolicy>
|
||||||
<hsizetype>7</hsizetype>
|
<hsizetype>7</hsizetype>
|
||||||
@ -75,26 +79,20 @@
|
|||||||
</attribute>
|
</attribute>
|
||||||
<widget class="QLayoutWidget">
|
<widget class="QLayoutWidget">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>layout28</cstring>
|
<cstring>layout32</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>1</x>
|
<x>2</x>
|
||||||
<y>2</y>
|
<y>11</y>
|
||||||
<width>555</width>
|
<width>555</width>
|
||||||
<height>380</height>
|
<height>397</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<vbox>
|
<vbox>
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>unnamed</cstring>
|
<cstring>unnamed</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property name="margin">
|
|
||||||
<number>4</number>
|
|
||||||
</property>
|
|
||||||
<property name="spacing">
|
|
||||||
<number>0</number>
|
|
||||||
</property>
|
|
||||||
<widget class="QLabel">
|
<widget class="QLabel">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>TITLELabel</cstring>
|
<cstring>TITLELabel</cstring>
|
||||||
@ -179,7 +177,15 @@
|
|||||||
</widget>
|
</widget>
|
||||||
<widget class="QButtonGroup">
|
<widget class="QButtonGroup">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>RUNSelection</cstring>
|
<cstring>FileTypeMan</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>5</hsizetype>
|
||||||
|
<vsizetype>7</vsizetype>
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="margin">
|
<property name="margin">
|
||||||
<number>0</number>
|
<number>0</number>
|
||||||
@ -190,71 +196,42 @@
|
|||||||
<property name="exclusive">
|
<property name="exclusive">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QLabel">
|
|
||||||
<property name="name">
|
|
||||||
<cstring>textLabel1_4</cstring>
|
|
||||||
</property>
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>11</x>
|
|
||||||
<y>64</y>
|
|
||||||
<width>181</width>
|
|
||||||
<height>36</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string></string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QRadioButton">
|
|
||||||
<property name="name">
|
|
||||||
<cstring>RUNSAuto</cstring>
|
|
||||||
</property>
|
|
||||||
<property name="geometry">
|
|
||||||
<rect>
|
|
||||||
<x>10</x>
|
|
||||||
<y>45</y>
|
|
||||||
<width>180</width>
|
|
||||||
<height>22</height>
|
|
||||||
</rect>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Input the RUN numbers</string>
|
|
||||||
</property>
|
|
||||||
<property name="checked">
|
|
||||||
<bool>true</bool>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QLayoutWidget">
|
<widget class="QLayoutWidget">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>layout26</cstring>
|
<cstring>layout28</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>196</x>
|
<x>5</x>
|
||||||
<y>3</y>
|
<y>15</y>
|
||||||
<width>340</width>
|
<width>540</width>
|
||||||
<height>96</height>
|
<height>25</height>
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<vbox>
|
|
||||||
<property name="name">
|
|
||||||
<cstring>unnamed</cstring>
|
|
||||||
</property>
|
|
||||||
<widget class="QLayoutWidget">
|
|
||||||
<property name="name">
|
|
||||||
<cstring>layout37</cstring>
|
|
||||||
</property>
|
|
||||||
<hbox>
|
<hbox>
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>unnamed</cstring>
|
<cstring>unnamed</cstring>
|
||||||
</property>
|
</property>
|
||||||
|
<widget class="QLabel">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>textLabel1_5</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Select RUNs Manually</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
<widget class="QLineEdit">
|
<widget class="QLineEdit">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>RunFiles</cstring>
|
<cstring>RunFiles</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
<bool>false</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy>
|
<sizepolicy>
|
||||||
@ -264,6 +241,12 @@
|
|||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="toolTip" stdset="0">
|
<property name="toolTip" stdset="0">
|
||||||
<string>Names of data files to be fit. Multiple data files are comma separated.</string>
|
<string>Names of data files to be fit. Multiple data files are comma separated.</string>
|
||||||
</property>
|
</property>
|
||||||
@ -276,7 +259,7 @@
|
|||||||
<cstring>Browse</cstring>
|
<cstring>Browse</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
<bool>false</bool>
|
<bool>true</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy>
|
<sizepolicy>
|
||||||
@ -286,6 +269,12 @@
|
|||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Browse</string>
|
<string>Browse</string>
|
||||||
</property>
|
</property>
|
||||||
@ -298,83 +287,39 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</hbox>
|
</hbox>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLineEdit">
|
</widget>
|
||||||
|
<widget class="QGroupBox">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>RunNumbers</cstring>
|
<cstring>FileTypeAuto</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property name="sizePolicy">
|
<property name="sizePolicy">
|
||||||
<sizepolicy>
|
<sizepolicy>
|
||||||
<hsizetype>5</hsizetype>
|
<hsizetype>5</hsizetype>
|
||||||
<vsizetype>0</vsizetype>
|
<vsizetype>7</vsizetype>
|
||||||
<horstretch>0</horstretch>
|
<horstretch>0</horstretch>
|
||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
<property name="toolTip" stdset="0">
|
<property name="title">
|
||||||
<string>Numbers of RUNs to fit. Multiple runs are comma separated.</string>
|
<string></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="whatsThis" stdset="0">
|
|
||||||
<string>Numbers of RUNs to fit. Multiple runs are comma separated.</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QLayoutWidget">
|
<widget class="QLayoutWidget">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>layout35</cstring>
|
<cstring>layout27</cstring>
|
||||||
</property>
|
</property>
|
||||||
<hbox>
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>5</x>
|
||||||
|
<y>10</y>
|
||||||
|
<width>540</width>
|
||||||
|
<height>55</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<grid>
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>unnamed</cstring>
|
<cstring>unnamed</cstring>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QLabel">
|
<widget class="QComboBox" row="1" column="4">
|
||||||
<property name="name">
|
|
||||||
<cstring>BeamLineLabel</cstring>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>On beam line</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QComboBox">
|
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string>LEM</string>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string>GPS</string>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string>Dolly</string>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<item>
|
|
||||||
<property name="text">
|
|
||||||
<string>LTF</string>
|
|
||||||
</property>
|
|
||||||
</item>
|
|
||||||
<property name="name">
|
|
||||||
<cstring>BeamLine</cstring>
|
|
||||||
</property>
|
|
||||||
<property name="sizePolicy">
|
|
||||||
<sizepolicy>
|
|
||||||
<hsizetype>5</hsizetype>
|
|
||||||
<vsizetype>5</vsizetype>
|
|
||||||
<horstretch>0</horstretch>
|
|
||||||
<verstretch>0</verstretch>
|
|
||||||
</sizepolicy>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QLabel">
|
|
||||||
<property name="name">
|
|
||||||
<cstring>YEARLabel</cstring>
|
|
||||||
</property>
|
|
||||||
<property name="text">
|
|
||||||
<string>Year</string>
|
|
||||||
</property>
|
|
||||||
</widget>
|
|
||||||
<widget class="QComboBox">
|
|
||||||
<item>
|
<item>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>2009</string>
|
<string>2009</string>
|
||||||
@ -416,27 +361,121 @@
|
|||||||
<verstretch>0</verstretch>
|
<verstretch>0</verstretch>
|
||||||
</sizepolicy>
|
</sizepolicy>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
<property name="minimumSize">
|
||||||
</hbox>
|
<size>
|
||||||
</widget>
|
<width>0</width>
|
||||||
</vbox>
|
<height>20</height>
|
||||||
</widget>
|
</size>
|
||||||
<widget class="QRadioButton">
|
|
||||||
<property name="name">
|
|
||||||
<cstring>RUNSManual</cstring>
|
|
||||||
</property>
|
</property>
|
||||||
<property name="geometry">
|
</widget>
|
||||||
<rect>
|
<widget class="QLabel" row="1" column="1">
|
||||||
<x>10</x>
|
<property name="name">
|
||||||
<y>15</y>
|
<cstring>BeamLineLabel</cstring>
|
||||||
<width>180</width>
|
</property>
|
||||||
<height>22</height>
|
<property name="minimumSize">
|
||||||
</rect>
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Select RUNs Manually</string>
|
<string>On beam line</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
|
<widget class="QLabel" row="0" column="0">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>textLabel1_5_2</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Input the RUN numbers</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" row="1" column="3">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>YEARLabel</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Year</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QComboBox" row="1" column="2">
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>LEM</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>GPS</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>Dolly</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<property name="text">
|
||||||
|
<string>LTF</string>
|
||||||
|
</property>
|
||||||
|
</item>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>BeamLine</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>5</hsizetype>
|
||||||
|
<vsizetype>5</vsizetype>
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>20</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLineEdit" row="0" column="1" rowspan="1" colspan="4">
|
||||||
|
<property name="name">
|
||||||
|
<cstring>RunNumbers</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="sizePolicy">
|
||||||
|
<sizepolicy>
|
||||||
|
<hsizetype>5</hsizetype>
|
||||||
|
<vsizetype>0</vsizetype>
|
||||||
|
<horstretch>0</horstretch>
|
||||||
|
<verstretch>0</verstretch>
|
||||||
|
</sizepolicy>
|
||||||
|
</property>
|
||||||
|
<property name="minimumSize">
|
||||||
|
<size>
|
||||||
|
<width>0</width>
|
||||||
|
<height>23</height>
|
||||||
|
</size>
|
||||||
|
</property>
|
||||||
|
<property name="toolTip" stdset="0">
|
||||||
|
<string>Numbers of RUNs to fit. Multiple runs are comma separated.</string>
|
||||||
|
</property>
|
||||||
|
<property name="whatsThis" stdset="0">
|
||||||
|
<string>Numbers of RUNs to fit. Multiple runs are comma separated.</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</grid>
|
||||||
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QLabel">
|
<widget class="QLabel">
|
||||||
<property name="name">
|
<property name="name">
|
||||||
@ -2639,7 +2678,6 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</widget>
|
</widget>
|
||||||
</vbox>
|
|
||||||
</widget>
|
</widget>
|
||||||
<menubar>
|
<menubar>
|
||||||
<property name="name">
|
<property name="name">
|
||||||
@ -2667,7 +2705,7 @@
|
|||||||
</item>
|
</item>
|
||||||
<item text="Options" name="Options">
|
<item text="Options" name="Options">
|
||||||
<action name="FileExistCheck"/>
|
<action name="FileExistCheck"/>
|
||||||
<action name="MaualFile"/>
|
<action name="ManualFile"/>
|
||||||
</item>
|
</item>
|
||||||
<item text="&Help" name="helpMenu">
|
<item text="&Help" name="helpMenu">
|
||||||
<action name="helpContentsAction"/>
|
<action name="helpContentsAction"/>
|
||||||
@ -3007,7 +3045,7 @@
|
|||||||
</action>
|
</action>
|
||||||
<action>
|
<action>
|
||||||
<property name="name">
|
<property name="name">
|
||||||
<cstring>MaualFile</cstring>
|
<cstring>ManualFile</cstring>
|
||||||
</property>
|
</property>
|
||||||
<property name="toggleAction">
|
<property name="toggleAction">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
@ -3049,6 +3087,17 @@
|
|||||||
<string>Unnamed</string>
|
<string>Unnamed</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action>
|
||||||
|
<property name="name">
|
||||||
|
<cstring>optionsnew_itemAction</cstring>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>new item</string>
|
||||||
|
</property>
|
||||||
|
<property name="menuText">
|
||||||
|
<string>new item</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</actions>
|
</actions>
|
||||||
<images>
|
<images>
|
||||||
<image name="image0">
|
<image name="image0">
|
||||||
@ -3200,24 +3249,23 @@
|
|||||||
<receiver>MuSRFitform</receiver>
|
<receiver>MuSRFitform</receiver>
|
||||||
<slot>CallMSRCreate()</slot>
|
<slot>CallMSRCreate()</slot>
|
||||||
</connection>
|
</connection>
|
||||||
<connection>
|
|
||||||
<sender>RUNSManual</sender>
|
|
||||||
<signal>toggled(bool)</signal>
|
|
||||||
<receiver>MuSRFitform</receiver>
|
|
||||||
<slot>RunSelectionToggle()</slot>
|
|
||||||
</connection>
|
|
||||||
<connection>
|
<connection>
|
||||||
<sender>Browse</sender>
|
<sender>Browse</sender>
|
||||||
<signal>clicked()</signal>
|
<signal>clicked()</signal>
|
||||||
<receiver>MuSRFitform</receiver>
|
<receiver>MuSRFitform</receiver>
|
||||||
<slot>fileBrowse()</slot>
|
<slot>fileBrowse()</slot>
|
||||||
</connection>
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>ManualFile</sender>
|
||||||
|
<signal>toggled(bool)</signal>
|
||||||
|
<receiver>MuSRFitform</receiver>
|
||||||
|
<slot>RunSelectionToggle()</slot>
|
||||||
|
</connection>
|
||||||
</connections>
|
</connections>
|
||||||
<tabstops>
|
<tabstops>
|
||||||
<tabstop>musrfit_tabs</tabstop>
|
<tabstop>musrfit_tabs</tabstop>
|
||||||
<tabstop>TITLE</tabstop>
|
<tabstop>TITLE</tabstop>
|
||||||
<tabstop>FILENAME</tabstop>
|
<tabstop>FILENAME</tabstop>
|
||||||
<tabstop>RUNSAuto</tabstop>
|
|
||||||
<tabstop>RunFiles</tabstop>
|
<tabstop>RunFiles</tabstop>
|
||||||
<tabstop>Browse</tabstop>
|
<tabstop>Browse</tabstop>
|
||||||
<tabstop>RunNumbers</tabstop>
|
<tabstop>RunNumbers</tabstop>
|
||||||
|
24
src/external/MuSRFitGUI/MuSRFit.ui.h
vendored
24
src/external/MuSRFitGUI/MuSRFit.ui.h
vendored
@ -170,7 +170,7 @@ void MuSRFitform::CreateAllInput()
|
|||||||
$All{"RunNumbers"} = RunNumbers->text;
|
$All{"RunNumbers"} = RunNumbers->text;
|
||||||
$All{"RunFiles"} = RunFiles->text;
|
$All{"RunFiles"} = RunFiles->text;
|
||||||
$All{"BeamLine"} = BeamLine->currentText;
|
$All{"BeamLine"} = BeamLine->currentText;
|
||||||
$All{"RUNSType"} = RUNSManual->isChecked();
|
$All{"RUNSType"} = ManualFile->isOn();
|
||||||
$All{"YEAR"} =YEAR->currentText;
|
$All{"YEAR"} =YEAR->currentText;
|
||||||
$All{"Tis"} = Tis->text;
|
$All{"Tis"} = Tis->text;
|
||||||
$All{"Tfs"} = Tfs->text;
|
$All{"Tfs"} = Tfs->text;
|
||||||
@ -660,23 +660,21 @@ void MuSRFitform::T0Update()
|
|||||||
|
|
||||||
void MuSRFitform::RunSelectionToggle()
|
void MuSRFitform::RunSelectionToggle()
|
||||||
{
|
{
|
||||||
my $RUNSType = RUNSManual->isChecked();
|
my $ManualFile= ManualFile->isOn();
|
||||||
if ($RUNSType) {
|
if ($ManualFile) {
|
||||||
# Manual RUN selection
|
# Manual RUN selection
|
||||||
RunFiles->setEnabled(1);
|
FileTypeMan->setEnabled(1);
|
||||||
Browse->setEnabled(1);
|
FileTypeMan->setHidden(0);
|
||||||
RunNumbers->setEnabled(0);
|
|
||||||
RunNumbers->setText("");
|
RunNumbers->setText("");
|
||||||
BeamLine->setEnabled(0);
|
FileTypeAuto->setEnabled(0);
|
||||||
YEAR->setEnabled(0);
|
FileTypeAuto->setHidden(1);
|
||||||
} else {
|
} else {
|
||||||
# Auto RUN selection
|
# Auto RUN selection
|
||||||
RunFiles->setEnabled(0);
|
FileTypeMan->setEnabled(0);
|
||||||
|
FileTypeMan->setHidden(1);
|
||||||
RunFiles->setText("");
|
RunFiles->setText("");
|
||||||
Browse->setEnabled(0);
|
FileTypeAuto->setEnabled(1);
|
||||||
RunNumbers->setEnabled(1);
|
FileTypeAuto->setHidden(0);
|
||||||
BeamLine->setEnabled(1);
|
|
||||||
YEAR->setEnabled(1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user