First running version
This commit is contained in:
parent
c994c2489f
commit
f694c3feed
@ -1,6 +1,6 @@
|
|||||||
# Form implementation generated from reading ui file 'QmuSRSim.ui'
|
# Form implementation generated from reading ui file 'QmuSRSim.ui'
|
||||||
#
|
#
|
||||||
# Created: Fri Apr 8 17:23:58 2011
|
# Created: Thu Apr 26 17:05:32 2012
|
||||||
# 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!
|
||||||
@ -30,41 +30,52 @@ use Qt::slots
|
|||||||
helpContents => [],
|
helpContents => [],
|
||||||
helpAbout => [],
|
helpAbout => [],
|
||||||
CreateAllInput => [],
|
CreateAllInput => [],
|
||||||
StartCalc => [];
|
StartCalc => [],
|
||||||
|
GetPATH => [],
|
||||||
|
CheckSim => [];
|
||||||
use Qt::attributes qw(
|
use Qt::attributes qw(
|
||||||
Tabs
|
Tabs
|
||||||
tab
|
tab
|
||||||
frame5
|
frame5
|
||||||
textLabel2_2_2_2_2_3
|
|
||||||
SR_E
|
|
||||||
SR_B
|
|
||||||
textLabel2_2_2_2_3
|
|
||||||
textLabel2
|
|
||||||
textLabel2_2_2
|
|
||||||
textLabel2_2_3
|
|
||||||
BFIELD
|
|
||||||
textLabel2_2_2_2_2
|
|
||||||
RA_B
|
|
||||||
RA_T
|
|
||||||
RA_L
|
|
||||||
textLabel2_2_2_2_2_2_2
|
|
||||||
textLabel2_2_2_2_2_2
|
|
||||||
textLabel2_2_2_2
|
|
||||||
RA_R
|
|
||||||
TL
|
|
||||||
textLabel2_3_2_2
|
|
||||||
textLabel2_3_2_2_2
|
textLabel2_3_2_2_2
|
||||||
ENERGY
|
ENERGY
|
||||||
textLabel2_3_2_2_2_2
|
textLabel2_3_2_2_2_2
|
||||||
L1
|
textLabel2_2_2_2_3_2_2
|
||||||
|
textLabel2_2_2_2_3_2
|
||||||
|
textLabel2_2_2_2_3
|
||||||
|
SR_B
|
||||||
|
textLabel2_2_2_2_2_3
|
||||||
|
SR_E
|
||||||
|
textLabel2_2_3
|
||||||
|
BFIELD
|
||||||
|
textLabel2_2_2_2_3_2_3
|
||||||
|
textLabel2_2_2
|
||||||
|
TL
|
||||||
|
textLabel2_2_2_2_3_2_2_2_2
|
||||||
|
textLabel2_3_2_2
|
||||||
L3
|
L3
|
||||||
|
textLabel2_2_2_2_3_2_2_2
|
||||||
|
textLabel2
|
||||||
|
L1
|
||||||
|
textLabel2_2_2_2_3_2_2_3
|
||||||
|
textLabel2_2_2_2_2
|
||||||
|
RA_R
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2
|
||||||
|
textLabel2_2_2_2_2_2
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2_2
|
||||||
|
RA_T
|
||||||
|
textLabel2_2_2_2
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2_2_2
|
||||||
|
textLabel2_2_2_2_2_2_2
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2
|
||||||
|
RA_B
|
||||||
|
RA_L
|
||||||
tab_2
|
tab_2
|
||||||
frame5_2
|
frame5_2
|
||||||
textLabel2_3_2_3_2
|
textLabel2_3_2_3_2
|
||||||
textLabel2_3_2_3
|
textLabel2_3_2_3
|
||||||
textLabel2_3_2
|
textLabel2_3_2
|
||||||
textLabel2_2_3_3
|
textLabel2_2_3_3
|
||||||
BFIELD_2
|
|
||||||
textLabel2_2_2_2_2_4
|
textLabel2_2_2_2_2_4
|
||||||
RA_B_2
|
RA_B_2
|
||||||
RA_T_2
|
RA_T_2
|
||||||
@ -73,16 +84,35 @@ use Qt::attributes qw(
|
|||||||
textLabel2_2_2_2_2_2_3
|
textLabel2_2_2_2_2_2_3
|
||||||
textLabel2_2_2_2_4
|
textLabel2_2_2_2_4
|
||||||
RA_R_2
|
RA_R_2
|
||||||
L1_2
|
|
||||||
textLabel2_3_2_2_2_3
|
textLabel2_3_2_2_2_3
|
||||||
ENERGY_2
|
ENERGY_2
|
||||||
textLabel2_3_2_2_2_2_2
|
textLabel2_3_2_2_2_2_2
|
||||||
|
L1_2
|
||||||
L2_2
|
L2_2
|
||||||
L3_2
|
L3_2
|
||||||
|
BFIELD_2
|
||||||
|
TabPage
|
||||||
|
SaveData
|
||||||
|
textLabel2_2_5
|
||||||
|
Geant4Button
|
||||||
|
SaveDataButton
|
||||||
|
musrSimButton
|
||||||
|
textLabel2_2_4
|
||||||
|
Geant4
|
||||||
|
textLabel2_2_6
|
||||||
|
textLabel2_2
|
||||||
|
ROOTSYSButton
|
||||||
|
ROOTSYS
|
||||||
|
musrSim
|
||||||
|
textLabel1
|
||||||
|
MAC
|
||||||
|
textLabel1_2
|
||||||
|
NMuon
|
||||||
Start
|
Start
|
||||||
MenuBar
|
MenuBar
|
||||||
fileMenu
|
fileMenu
|
||||||
editMenu
|
editMenu
|
||||||
|
Plot
|
||||||
helpMenu
|
helpMenu
|
||||||
fileNewAction
|
fileNewAction
|
||||||
fileOpenAction
|
fileOpenAction
|
||||||
@ -99,6 +129,8 @@ use Qt::attributes qw(
|
|||||||
helpContentsAction
|
helpContentsAction
|
||||||
helpIndexAction
|
helpIndexAction
|
||||||
helpAboutAction
|
helpAboutAction
|
||||||
|
plotEnvelopesAction
|
||||||
|
plotBeam_SliceAction
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
@ -17853,14 +17885,13 @@ sub NEW
|
|||||||
{
|
{
|
||||||
setName("QmuSRSim" );
|
setName("QmuSRSim" );
|
||||||
}
|
}
|
||||||
|
setSizePolicy(Qt::SizePolicy(5, 5, 1, 1, this->sizePolicy()->hasHeightForWidth()) );
|
||||||
|
|
||||||
setCentralWidget(Qt::Widget(this, "qt_central_widget"));
|
setCentralWidget(Qt::Widget(this, "qt_central_widget"));
|
||||||
|
my $QmuSRSimLayout = Qt::GridLayout(centralWidget(), 1, 1, 11, 6, '$QmuSRSimLayout');
|
||||||
|
|
||||||
my $LayoutWidget = Qt::Widget(centralWidget(), '$LayoutWidget');
|
Tabs = Qt::TabWidget(centralWidget(), "Tabs");
|
||||||
$LayoutWidget->setGeometry( Qt::Rect(0, 10, 830, 350) );
|
Tabs->setEnabled( 1 );
|
||||||
my $layout7 = Qt::VBoxLayout($LayoutWidget, 11, 6, '$layout7');
|
|
||||||
|
|
||||||
Tabs = Qt::TabWidget($LayoutWidget, "Tabs");
|
|
||||||
Tabs->setBackgroundOrigin( &Qt::TabWidget::WidgetOrigin() );
|
Tabs->setBackgroundOrigin( &Qt::TabWidget::WidgetOrigin() );
|
||||||
|
|
||||||
tab = Qt::Widget(Tabs, "tab");
|
tab = Qt::Widget(Tabs, "tab");
|
||||||
@ -17871,131 +17902,217 @@ sub NEW
|
|||||||
frame5->setFrameShape( &Qt::Frame::StyledPanel() );
|
frame5->setFrameShape( &Qt::Frame::StyledPanel() );
|
||||||
frame5->setFrameShadow( &Qt::Frame::Raised() );
|
frame5->setFrameShadow( &Qt::Frame::Raised() );
|
||||||
|
|
||||||
|
my $LayoutWidget = Qt::Widget(frame5, '$LayoutWidget');
|
||||||
|
$LayoutWidget->setGeometry( Qt::Rect(210, 20, 180, 26) );
|
||||||
|
my $layout10 = Qt::HBoxLayout($LayoutWidget, 0, 0, '$layout10');
|
||||||
|
|
||||||
|
textLabel2_3_2_2_2 = Qt::Label($LayoutWidget, "textLabel2_3_2_2_2");
|
||||||
|
textLabel2_3_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_3_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_3_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
$layout10->addWidget(textLabel2_3_2_2_2);
|
||||||
|
|
||||||
|
ENERGY = Qt::LineEdit($LayoutWidget, "ENERGY");
|
||||||
|
ENERGY->setBackgroundOrigin( &Qt::LineEdit::ParentOrigin() );
|
||||||
|
$layout10->addWidget(ENERGY);
|
||||||
|
|
||||||
|
textLabel2_3_2_2_2_2 = Qt::Label($LayoutWidget, "textLabel2_3_2_2_2_2");
|
||||||
|
textLabel2_3_2_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_3_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_3_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
$layout10->addWidget(textLabel2_3_2_2_2_2);
|
||||||
|
|
||||||
my $LayoutWidget_2 = Qt::Widget(frame5, '$LayoutWidget_2');
|
my $LayoutWidget_2 = Qt::Widget(frame5, '$LayoutWidget_2');
|
||||||
$LayoutWidget_2->setGeometry( Qt::Rect(180, 210, 100, 50) );
|
$LayoutWidget_2->setGeometry( Qt::Rect(160, 210, 140, 50) );
|
||||||
my $layout3_2 = Qt::GridLayout($LayoutWidget_2, 1, 1, 0, 0, '$layout3_2');
|
my $layout11 = Qt::GridLayout($LayoutWidget_2, 1, 1, 0, 0, '$layout11');
|
||||||
|
|
||||||
textLabel2_2_2_2_2_3 = Qt::Label($LayoutWidget_2, "textLabel2_2_2_2_2_3");
|
textLabel2_2_2_2_3_2_2 = Qt::Label($LayoutWidget_2, "textLabel2_2_2_2_3_2_2");
|
||||||
textLabel2_2_2_2_2_3->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
textLabel2_2_2_2_3_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
textLabel2_2_2_2_2_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2_2_2_2_3_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_2_2_2_2_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2_2_2_2_3_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
$layout3_2->addWidget(textLabel2_2_2_2_2_3, 1, 0);
|
$layout11->addWidget(textLabel2_2_2_2_3_2_2, 1, 2);
|
||||||
|
|
||||||
SR_E = Qt::LineEdit($LayoutWidget_2, "SR_E");
|
textLabel2_2_2_2_3_2 = Qt::Label($LayoutWidget_2, "textLabel2_2_2_2_3_2");
|
||||||
|
textLabel2_2_2_2_3_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2_2_3_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2_3_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
$layout3_2->addWidget(SR_E, 1, 1);
|
$layout11->addWidget(textLabel2_2_2_2_3_2, 0, 2);
|
||||||
|
|
||||||
SR_B = Qt::LineEdit($LayoutWidget_2, "SR_B");
|
|
||||||
|
|
||||||
$layout3_2->addWidget(SR_B, 0, 1);
|
|
||||||
|
|
||||||
textLabel2_2_2_2_3 = Qt::Label($LayoutWidget_2, "textLabel2_2_2_2_3");
|
textLabel2_2_2_2_3 = Qt::Label($LayoutWidget_2, "textLabel2_2_2_2_3");
|
||||||
textLabel2_2_2_2_3->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
textLabel2_2_2_2_3->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
textLabel2_2_2_2_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2_2_2_2_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_2_2_2_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2_2_2_2_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
$layout3_2->addWidget(textLabel2_2_2_2_3, 0, 0);
|
$layout11->addWidget(textLabel2_2_2_2_3, 0, 0);
|
||||||
|
|
||||||
textLabel2 = Qt::Label(frame5, "textLabel2");
|
SR_B = Qt::LineEdit($LayoutWidget_2, "SR_B");
|
||||||
textLabel2->setGeometry( Qt::Rect(27, 101, 31, 24) );
|
|
||||||
textLabel2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
|
||||||
textLabel2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
|
||||||
textLabel2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
|
||||||
|
|
||||||
textLabel2_2_2 = Qt::Label(frame5, "textLabel2_2_2");
|
$layout11->addWidget(SR_B, 0, 1);
|
||||||
textLabel2_2_2->setGeometry( Qt::Rect(453, 230, 31, 24) );
|
|
||||||
textLabel2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
|
||||||
textLabel2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
|
||||||
textLabel2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
|
||||||
|
|
||||||
textLabel2_2_3 = Qt::Label(frame5, "textLabel2_2_3");
|
textLabel2_2_2_2_2_3 = Qt::Label($LayoutWidget_2, "textLabel2_2_2_2_2_3");
|
||||||
textLabel2_2_3->setGeometry( Qt::Rect(604, 230, 70, 24) );
|
textLabel2_2_2_2_2_3->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2_2_2_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2_2_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
|
$layout11->addWidget(textLabel2_2_2_2_2_3, 1, 0);
|
||||||
|
|
||||||
|
SR_E = Qt::LineEdit($LayoutWidget_2, "SR_E");
|
||||||
|
|
||||||
|
$layout11->addWidget(SR_E, 1, 1);
|
||||||
|
|
||||||
|
my $LayoutWidget_3 = Qt::Widget(frame5, '$LayoutWidget_3');
|
||||||
|
$LayoutWidget_3->setGeometry( Qt::Rect(604, 230, 130, 26) );
|
||||||
|
my $layout13 = Qt::HBoxLayout($LayoutWidget_3, 0, 0, '$layout13');
|
||||||
|
|
||||||
|
textLabel2_2_3 = Qt::Label($LayoutWidget_3, "textLabel2_2_3");
|
||||||
textLabel2_2_3->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
textLabel2_2_3->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
textLabel2_2_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2_2_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_2_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2_2_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
$layout13->addWidget(textLabel2_2_3);
|
||||||
|
|
||||||
BFIELD = Qt::LineEdit(frame5, "BFIELD");
|
BFIELD = Qt::LineEdit($LayoutWidget_3, "BFIELD");
|
||||||
BFIELD->setGeometry( Qt::Rect(680, 230, 55, 24) );
|
$layout13->addWidget(BFIELD);
|
||||||
|
|
||||||
my $LayoutWidget_3 = Qt::Widget(frame5, '$LayoutWidget_3');
|
textLabel2_2_2_2_3_2_3 = Qt::Label($LayoutWidget_3, "textLabel2_2_2_2_3_2_3");
|
||||||
$LayoutWidget_3->setGeometry( Qt::Rect(630, 30, 100, 98) );
|
textLabel2_2_2_2_3_2_3->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
my $layout3 = Qt::GridLayout($LayoutWidget_3, 1, 1, 0, 0, '$layout3');
|
textLabel2_2_2_2_3_2_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2_3_2_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
$layout13->addWidget(textLabel2_2_2_2_3_2_3);
|
||||||
|
|
||||||
textLabel2_2_2_2_2 = Qt::Label($LayoutWidget_3, "textLabel2_2_2_2_2");
|
my $LayoutWidget_4 = Qt::Widget(frame5, '$LayoutWidget_4');
|
||||||
textLabel2_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
$LayoutWidget_4->setGeometry( Qt::Rect(453, 230, 90, 26) );
|
||||||
textLabel2_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
my $layout14 = Qt::HBoxLayout($LayoutWidget_4, 0, 0, '$layout14');
|
||||||
|
|
||||||
$layout3->addWidget(textLabel2_2_2_2_2, 1, 0);
|
textLabel2_2_2 = Qt::Label($LayoutWidget_4, "textLabel2_2_2");
|
||||||
|
textLabel2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
$layout14->addWidget(textLabel2_2_2);
|
||||||
|
|
||||||
RA_B = Qt::LineEdit($LayoutWidget_3, "RA_B");
|
TL = Qt::LineEdit($LayoutWidget_4, "TL");
|
||||||
|
$layout14->addWidget(TL);
|
||||||
|
|
||||||
$layout3->addWidget(RA_B, 1, 1);
|
textLabel2_2_2_2_3_2_2_2_2 = Qt::Label($LayoutWidget_4, "textLabel2_2_2_2_3_2_2_2_2");
|
||||||
|
textLabel2_2_2_2_3_2_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2_2_3_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2_3_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
$layout14->addWidget(textLabel2_2_2_2_3_2_2_2_2);
|
||||||
|
|
||||||
RA_T = Qt::LineEdit($LayoutWidget_3, "RA_T");
|
my $LayoutWidget_5 = Qt::Widget(frame5, '$LayoutWidget_5');
|
||||||
|
$LayoutWidget_5->setGeometry( Qt::Rect(313, 230, 110, 26) );
|
||||||
|
my $layout15 = Qt::HBoxLayout($LayoutWidget_5, 0, 0, '$layout15');
|
||||||
|
|
||||||
$layout3->addWidget(RA_T, 0, 1);
|
textLabel2_3_2_2 = Qt::Label($LayoutWidget_5, "textLabel2_3_2_2");
|
||||||
|
|
||||||
RA_L = Qt::LineEdit($LayoutWidget_3, "RA_L");
|
|
||||||
|
|
||||||
$layout3->addWidget(RA_L, 3, 1);
|
|
||||||
|
|
||||||
textLabel2_2_2_2_2_2_2 = Qt::Label($LayoutWidget_3, "textLabel2_2_2_2_2_2_2");
|
|
||||||
textLabel2_2_2_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
|
||||||
textLabel2_2_2_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
|
||||||
|
|
||||||
$layout3->addWidget(textLabel2_2_2_2_2_2_2, 3, 0);
|
|
||||||
|
|
||||||
textLabel2_2_2_2_2_2 = Qt::Label($LayoutWidget_3, "textLabel2_2_2_2_2_2");
|
|
||||||
textLabel2_2_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
|
||||||
textLabel2_2_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
|
||||||
|
|
||||||
$layout3->addWidget(textLabel2_2_2_2_2_2, 2, 0);
|
|
||||||
|
|
||||||
textLabel2_2_2_2 = Qt::Label($LayoutWidget_3, "textLabel2_2_2_2");
|
|
||||||
textLabel2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
|
||||||
textLabel2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
|
||||||
|
|
||||||
$layout3->addWidget(textLabel2_2_2_2, 0, 0);
|
|
||||||
|
|
||||||
RA_R = Qt::LineEdit($LayoutWidget_3, "RA_R");
|
|
||||||
|
|
||||||
$layout3->addWidget(RA_R, 2, 1);
|
|
||||||
|
|
||||||
TL = Qt::LineEdit(frame5, "TL");
|
|
||||||
TL->setGeometry( Qt::Rect(490, 230, 55, 24) );
|
|
||||||
|
|
||||||
textLabel2_3_2_2 = Qt::Label(frame5, "textLabel2_3_2_2");
|
|
||||||
textLabel2_3_2_2->setGeometry( Qt::Rect(313, 230, 31, 24) );
|
|
||||||
textLabel2_3_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
textLabel2_3_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
textLabel2_3_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2_3_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_3_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2_3_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
$layout15->addWidget(textLabel2_3_2_2);
|
||||||
|
|
||||||
my $LayoutWidget_4 = Qt::Widget(frame5, '$LayoutWidget_4');
|
L3 = Qt::LineEdit($LayoutWidget_5, "L3");
|
||||||
$LayoutWidget_4->setGeometry( Qt::Rect(210, 20, 180, 26) );
|
$layout15->addWidget(L3);
|
||||||
my $layout10 = Qt::HBoxLayout($LayoutWidget_4, 0, 0, '$layout10');
|
|
||||||
|
|
||||||
textLabel2_3_2_2_2 = Qt::Label($LayoutWidget_4, "textLabel2_3_2_2_2");
|
textLabel2_2_2_2_3_2_2_2 = Qt::Label($LayoutWidget_5, "textLabel2_2_2_2_3_2_2_2");
|
||||||
textLabel2_3_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
textLabel2_2_2_2_3_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
textLabel2_3_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2_2_2_2_3_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_3_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2_2_2_2_3_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
$layout10->addWidget(textLabel2_3_2_2_2);
|
$layout15->addWidget(textLabel2_2_2_2_3_2_2_2);
|
||||||
|
|
||||||
ENERGY = Qt::LineEdit($LayoutWidget_4, "ENERGY");
|
my $LayoutWidget_6 = Qt::Widget(frame5, '$LayoutWidget_6');
|
||||||
ENERGY->setBackgroundOrigin( &Qt::LineEdit::ParentOrigin() );
|
$LayoutWidget_6->setGeometry( Qt::Rect(40, 100, 100, 26) );
|
||||||
$layout10->addWidget(ENERGY);
|
my $layout16 = Qt::HBoxLayout($LayoutWidget_6, 0, 0, '$layout16');
|
||||||
|
|
||||||
textLabel2_3_2_2_2_2 = Qt::Label($LayoutWidget_4, "textLabel2_3_2_2_2_2");
|
textLabel2 = Qt::Label($LayoutWidget_6, "textLabel2");
|
||||||
textLabel2_3_2_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
textLabel2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
textLabel2_3_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_3_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
$layout10->addWidget(textLabel2_3_2_2_2_2);
|
$layout16->addWidget(textLabel2);
|
||||||
|
|
||||||
L1 = Qt::LineEdit(frame5, "L1");
|
L1 = Qt::LineEdit($LayoutWidget_6, "L1");
|
||||||
L1->setGeometry( Qt::Rect(69, 100, 55, 24) );
|
$layout16->addWidget(L1);
|
||||||
|
|
||||||
L3 = Qt::LineEdit(frame5, "L3");
|
textLabel2_2_2_2_3_2_2_3 = Qt::Label($LayoutWidget_6, "textLabel2_2_2_2_3_2_2_3");
|
||||||
L3->setGeometry( Qt::Rect(350, 230, 55, 24) );
|
textLabel2_2_2_2_3_2_2_3->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2_2_3_2_2_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2_3_2_2_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
$layout16->addWidget(textLabel2_2_2_2_3_2_2_3);
|
||||||
|
|
||||||
|
my $LayoutWidget_7 = Qt::Widget(frame5, '$LayoutWidget_7');
|
||||||
|
$LayoutWidget_7->setGeometry( Qt::Rect(640, 40, 110, 98) );
|
||||||
|
my $layout33 = Qt::GridLayout($LayoutWidget_7, 1, 1, 0, 0, '$layout33');
|
||||||
|
|
||||||
|
textLabel2_2_2_2_2 = Qt::Label($LayoutWidget_7, "textLabel2_2_2_2_2");
|
||||||
|
textLabel2_2_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
|
$layout33->addWidget(textLabel2_2_2_2_2, 1, 0);
|
||||||
|
|
||||||
|
RA_R = Qt::LineEdit($LayoutWidget_7, "RA_R");
|
||||||
|
|
||||||
|
$layout33->addWidget(RA_R, 2, 1);
|
||||||
|
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2 = Qt::Label($LayoutWidget_7, "textLabel2_2_2_2_3_2_2_3_2");
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
|
$layout33->addWidget(textLabel2_2_2_2_3_2_2_3_2, 0, 2);
|
||||||
|
|
||||||
|
textLabel2_2_2_2_2_2 = Qt::Label($LayoutWidget_7, "textLabel2_2_2_2_2_2");
|
||||||
|
textLabel2_2_2_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
|
$layout33->addWidget(textLabel2_2_2_2_2_2, 2, 0);
|
||||||
|
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2_2 = Qt::Label($LayoutWidget_7, "textLabel2_2_2_2_3_2_2_3_2_2_2");
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
|
$layout33->addWidget(textLabel2_2_2_2_3_2_2_3_2_2_2, 2, 2);
|
||||||
|
|
||||||
|
RA_T = Qt::LineEdit($LayoutWidget_7, "RA_T");
|
||||||
|
|
||||||
|
$layout33->addWidget(RA_T, 0, 1);
|
||||||
|
|
||||||
|
textLabel2_2_2_2 = Qt::Label($LayoutWidget_7, "textLabel2_2_2_2");
|
||||||
|
textLabel2_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
|
$layout33->addWidget(textLabel2_2_2_2, 0, 0);
|
||||||
|
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2_2_2 = Qt::Label($LayoutWidget_7, "textLabel2_2_2_2_3_2_2_3_2_2_2_2");
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
|
$layout33->addWidget(textLabel2_2_2_2_3_2_2_3_2_2_2_2, 3, 2);
|
||||||
|
|
||||||
|
textLabel2_2_2_2_2_2_2 = Qt::Label($LayoutWidget_7, "textLabel2_2_2_2_2_2_2");
|
||||||
|
textLabel2_2_2_2_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
|
$layout33->addWidget(textLabel2_2_2_2_2_2_2, 3, 0);
|
||||||
|
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2 = Qt::Label($LayoutWidget_7, "textLabel2_2_2_2_3_2_2_3_2_2");
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
|
$layout33->addWidget(textLabel2_2_2_2_3_2_2_3_2_2, 1, 2);
|
||||||
|
|
||||||
|
RA_B = Qt::LineEdit($LayoutWidget_7, "RA_B");
|
||||||
|
|
||||||
|
$layout33->addWidget(RA_B, 1, 1);
|
||||||
|
|
||||||
|
RA_L = Qt::LineEdit($LayoutWidget_7, "RA_L");
|
||||||
|
|
||||||
|
$layout33->addWidget(RA_L, 3, 1);
|
||||||
Tabs->insertTab( tab, "" );
|
Tabs->insertTab( tab, "" );
|
||||||
|
|
||||||
tab_2 = Qt::Widget(Tabs, "tab_2");
|
tab_2 = Qt::Widget(Tabs, "tab_2");
|
||||||
@ -18030,29 +18147,27 @@ sub NEW
|
|||||||
textLabel2_2_3_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2_2_3_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_2_3_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2_2_3_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
BFIELD_2 = Qt::LineEdit(frame5_2, "BFIELD_2");
|
my $LayoutWidget_8 = Qt::Widget(frame5_2, '$LayoutWidget_8');
|
||||||
BFIELD_2->setGeometry( Qt::Rect(680, 230, 55, 24) );
|
$LayoutWidget_8->setGeometry( Qt::Rect(630, 30, 100, 98) );
|
||||||
|
my $layout3_3 = Qt::GridLayout($LayoutWidget_8, 1, 1, 0, 0, '$layout3_3');
|
||||||
|
|
||||||
my $LayoutWidget_5 = Qt::Widget(frame5_2, '$LayoutWidget_5');
|
textLabel2_2_2_2_2_4 = Qt::Label($LayoutWidget_8, "textLabel2_2_2_2_2_4");
|
||||||
$LayoutWidget_5->setGeometry( Qt::Rect(630, 30, 100, 98) );
|
textLabel2_2_2_2_2_4->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
my $layout3_3 = Qt::GridLayout($LayoutWidget_5, 1, 1, 0, 0, '$layout3_3');
|
|
||||||
|
|
||||||
textLabel2_2_2_2_2_4 = Qt::Label($LayoutWidget_5, "textLabel2_2_2_2_2_4");
|
|
||||||
textLabel2_2_2_2_2_4->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2_2_2_2_2_4->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_2_2_2_2_4->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2_2_2_2_2_4->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
$layout3_3->addWidget(textLabel2_2_2_2_2_4, 1, 0);
|
$layout3_3->addWidget(textLabel2_2_2_2_2_4, 1, 0);
|
||||||
|
|
||||||
RA_B_2 = Qt::LineEdit($LayoutWidget_5, "RA_B_2");
|
RA_B_2 = Qt::LineEdit($LayoutWidget_8, "RA_B_2");
|
||||||
|
|
||||||
$layout3_3->addWidget(RA_B_2, 1, 1);
|
$layout3_3->addWidget(RA_B_2, 1, 1);
|
||||||
|
|
||||||
RA_T_2 = Qt::LineEdit($LayoutWidget_5, "RA_T_2");
|
RA_T_2 = Qt::LineEdit($LayoutWidget_8, "RA_T_2");
|
||||||
RA_T_2->setAcceptDrops( 0 );
|
RA_T_2->setAcceptDrops( 0 );
|
||||||
|
|
||||||
$layout3_3->addWidget(RA_T_2, 0, 1);
|
$layout3_3->addWidget(RA_T_2, 0, 1);
|
||||||
|
|
||||||
RA_L_2 = Qt::LineEdit($LayoutWidget_5, "RA_L_2");
|
RA_L_2 = Qt::LineEdit($LayoutWidget_8, "RA_L_2");
|
||||||
my $pal = Qt::Palette();
|
my $pal = Qt::Palette();
|
||||||
my $cg = Qt::ColorGroup();
|
my $cg = Qt::ColorGroup();
|
||||||
$cg->setColor(&Qt::ColorGroup::Foreground, &black);
|
$cg->setColor(&Qt::ColorGroup::Foreground, &black);
|
||||||
@ -18110,67 +18225,143 @@ sub NEW
|
|||||||
|
|
||||||
$layout3_3->addWidget(RA_L_2, 3, 1);
|
$layout3_3->addWidget(RA_L_2, 3, 1);
|
||||||
|
|
||||||
textLabel2_2_2_2_2_2_2_2 = Qt::Label($LayoutWidget_5, "textLabel2_2_2_2_2_2_2_2");
|
textLabel2_2_2_2_2_2_2_2 = Qt::Label($LayoutWidget_8, "textLabel2_2_2_2_2_2_2_2");
|
||||||
|
textLabel2_2_2_2_2_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
textLabel2_2_2_2_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2_2_2_2_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_2_2_2_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2_2_2_2_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
$layout3_3->addWidget(textLabel2_2_2_2_2_2_2_2, 3, 0);
|
$layout3_3->addWidget(textLabel2_2_2_2_2_2_2_2, 3, 0);
|
||||||
|
|
||||||
textLabel2_2_2_2_2_2_3 = Qt::Label($LayoutWidget_5, "textLabel2_2_2_2_2_2_3");
|
textLabel2_2_2_2_2_2_3 = Qt::Label($LayoutWidget_8, "textLabel2_2_2_2_2_2_3");
|
||||||
|
textLabel2_2_2_2_2_2_3->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
textLabel2_2_2_2_2_2_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2_2_2_2_2_2_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_2_2_2_2_2_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2_2_2_2_2_2_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
$layout3_3->addWidget(textLabel2_2_2_2_2_2_3, 2, 0);
|
$layout3_3->addWidget(textLabel2_2_2_2_2_2_3, 2, 0);
|
||||||
|
|
||||||
textLabel2_2_2_2_4 = Qt::Label($LayoutWidget_5, "textLabel2_2_2_2_4");
|
textLabel2_2_2_2_4 = Qt::Label($LayoutWidget_8, "textLabel2_2_2_2_4");
|
||||||
|
textLabel2_2_2_2_4->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
textLabel2_2_2_2_4->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2_2_2_2_4->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_2_2_2_4->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2_2_2_2_4->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
|
|
||||||
$layout3_3->addWidget(textLabel2_2_2_2_4, 0, 0);
|
$layout3_3->addWidget(textLabel2_2_2_2_4, 0, 0);
|
||||||
|
|
||||||
RA_R_2 = Qt::LineEdit($LayoutWidget_5, "RA_R_2");
|
RA_R_2 = Qt::LineEdit($LayoutWidget_8, "RA_R_2");
|
||||||
|
|
||||||
$layout3_3->addWidget(RA_R_2, 2, 1);
|
$layout3_3->addWidget(RA_R_2, 2, 1);
|
||||||
|
|
||||||
L1_2 = Qt::LineEdit(frame5_2, "L1_2");
|
my $LayoutWidget_9 = Qt::Widget(frame5_2, '$LayoutWidget_9');
|
||||||
L1_2->setGeometry( Qt::Rect(69, 100, 55, 24) );
|
$LayoutWidget_9->setGeometry( Qt::Rect(210, 20, 180, 26) );
|
||||||
|
my $layout10_2 = Qt::HBoxLayout($LayoutWidget_9, 0, 0, '$layout10_2');
|
||||||
|
|
||||||
my $LayoutWidget_6 = Qt::Widget(frame5_2, '$LayoutWidget_6');
|
textLabel2_3_2_2_2_3 = Qt::Label($LayoutWidget_9, "textLabel2_3_2_2_2_3");
|
||||||
$LayoutWidget_6->setGeometry( Qt::Rect(210, 20, 180, 26) );
|
|
||||||
my $layout10_2 = Qt::HBoxLayout($LayoutWidget_6, 0, 0, '$layout10_2');
|
|
||||||
|
|
||||||
textLabel2_3_2_2_2_3 = Qt::Label($LayoutWidget_6, "textLabel2_3_2_2_2_3");
|
|
||||||
textLabel2_3_2_2_2_3->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
textLabel2_3_2_2_2_3->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
textLabel2_3_2_2_2_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2_3_2_2_2_3->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_3_2_2_2_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2_3_2_2_2_3->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
$layout10_2->addWidget(textLabel2_3_2_2_2_3);
|
$layout10_2->addWidget(textLabel2_3_2_2_2_3);
|
||||||
|
|
||||||
ENERGY_2 = Qt::LineEdit($LayoutWidget_6, "ENERGY_2");
|
ENERGY_2 = Qt::LineEdit($LayoutWidget_9, "ENERGY_2");
|
||||||
ENERGY_2->setBackgroundOrigin( &Qt::LineEdit::ParentOrigin() );
|
ENERGY_2->setBackgroundOrigin( &Qt::LineEdit::ParentOrigin() );
|
||||||
$layout10_2->addWidget(ENERGY_2);
|
$layout10_2->addWidget(ENERGY_2);
|
||||||
|
|
||||||
textLabel2_3_2_2_2_2_2 = Qt::Label($LayoutWidget_6, "textLabel2_3_2_2_2_2_2");
|
textLabel2_3_2_2_2_2_2 = Qt::Label($LayoutWidget_9, "textLabel2_3_2_2_2_2_2");
|
||||||
textLabel2_3_2_2_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
textLabel2_3_2_2_2_2_2->setBackgroundMode( &Qt::Label::PaletteBackground() );
|
||||||
textLabel2_3_2_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
textLabel2_3_2_2_2_2_2->setPaletteForegroundColor( Qt::Color(0, 0, 0) );
|
||||||
textLabel2_3_2_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
textLabel2_3_2_2_2_2_2->setPaletteBackgroundColor( Qt::Color(255, 255, 255) );
|
||||||
$layout10_2->addWidget(textLabel2_3_2_2_2_2_2);
|
$layout10_2->addWidget(textLabel2_3_2_2_2_2_2);
|
||||||
|
|
||||||
|
L1_2 = Qt::LineEdit(frame5_2, "L1_2");
|
||||||
|
L1_2->setGeometry( Qt::Rect(69, 100, 55, 24) );
|
||||||
|
|
||||||
L2_2 = Qt::LineEdit(frame5_2, "L2_2");
|
L2_2 = Qt::LineEdit(frame5_2, "L2_2");
|
||||||
L2_2->setGeometry( Qt::Rect(190, 230, 55, 24) );
|
L2_2->setGeometry( Qt::Rect(190, 230, 55, 24) );
|
||||||
|
|
||||||
L3_2 = Qt::LineEdit(frame5_2, "L3_2");
|
L3_2 = Qt::LineEdit(frame5_2, "L3_2");
|
||||||
L3_2->setGeometry( Qt::Rect(460, 230, 55, 24) );
|
L3_2->setGeometry( Qt::Rect(460, 230, 55, 24) );
|
||||||
|
|
||||||
|
BFIELD_2 = Qt::LineEdit(frame5_2, "BFIELD_2");
|
||||||
|
BFIELD_2->setGeometry( Qt::Rect(680, 230, 55, 24) );
|
||||||
Tabs->insertTab( tab_2, "" );
|
Tabs->insertTab( tab_2, "" );
|
||||||
$layout7->addWidget(Tabs);
|
|
||||||
|
|
||||||
my $layout6 = Qt::HBoxLayout(undef, 0, 6, '$layout6');
|
TabPage = Qt::Widget(Tabs, "TabPage");
|
||||||
|
|
||||||
Start = Qt::PushButton($LayoutWidget, "Start");
|
my $LayoutWidget_10 = Qt::Widget(TabPage, '$LayoutWidget_10');
|
||||||
|
$LayoutWidget_10->setGeometry( Qt::Rect(11, 10, 780, 170) );
|
||||||
|
my $layout13_2 = Qt::GridLayout($LayoutWidget_10, 1, 1, 11, 6, '$layout13_2');
|
||||||
|
|
||||||
|
SaveData = Qt::LineEdit($LayoutWidget_10, "SaveData");
|
||||||
|
|
||||||
|
$layout13_2->addWidget(SaveData, 2, 1);
|
||||||
|
|
||||||
|
textLabel2_2_5 = Qt::Label($LayoutWidget_10, "textLabel2_2_5");
|
||||||
|
|
||||||
|
$layout13_2->addWidget(textLabel2_2_5, 2, 0);
|
||||||
|
|
||||||
|
Geant4Button = Qt::PushButton($LayoutWidget_10, "Geant4Button");
|
||||||
|
|
||||||
|
$layout13_2->addWidget(Geant4Button, 1, 2);
|
||||||
|
|
||||||
|
SaveDataButton = Qt::PushButton($LayoutWidget_10, "SaveDataButton");
|
||||||
|
|
||||||
|
$layout13_2->addWidget(SaveDataButton, 2, 2);
|
||||||
|
|
||||||
|
musrSimButton = Qt::PushButton($LayoutWidget_10, "musrSimButton");
|
||||||
|
|
||||||
|
$layout13_2->addWidget(musrSimButton, 0, 2);
|
||||||
|
|
||||||
|
textLabel2_2_4 = Qt::Label($LayoutWidget_10, "textLabel2_2_4");
|
||||||
|
|
||||||
|
$layout13_2->addWidget(textLabel2_2_4, 3, 0);
|
||||||
|
|
||||||
|
Geant4 = Qt::LineEdit($LayoutWidget_10, "Geant4");
|
||||||
|
|
||||||
|
$layout13_2->addWidget(Geant4, 1, 1);
|
||||||
|
|
||||||
|
textLabel2_2_6 = Qt::Label($LayoutWidget_10, "textLabel2_2_6");
|
||||||
|
|
||||||
|
$layout13_2->addWidget(textLabel2_2_6, 1, 0);
|
||||||
|
|
||||||
|
textLabel2_2 = Qt::Label($LayoutWidget_10, "textLabel2_2");
|
||||||
|
|
||||||
|
$layout13_2->addWidget(textLabel2_2, 0, 0);
|
||||||
|
|
||||||
|
ROOTSYSButton = Qt::PushButton($LayoutWidget_10, "ROOTSYSButton");
|
||||||
|
|
||||||
|
$layout13_2->addWidget(ROOTSYSButton, 3, 2);
|
||||||
|
|
||||||
|
ROOTSYS = Qt::LineEdit($LayoutWidget_10, "ROOTSYS");
|
||||||
|
|
||||||
|
$layout13_2->addWidget(ROOTSYS, 3, 1);
|
||||||
|
|
||||||
|
musrSim = Qt::LineEdit($LayoutWidget_10, "musrSim");
|
||||||
|
|
||||||
|
$layout13_2->addWidget(musrSim, 0, 1);
|
||||||
|
Tabs->insertTab( TabPage, "" );
|
||||||
|
|
||||||
|
$QmuSRSimLayout->addWidget(Tabs, 0, 0);
|
||||||
|
|
||||||
|
my $layout14_2 = Qt::HBoxLayout(undef, 0, 6, '$layout14_2');
|
||||||
|
|
||||||
|
textLabel1 = Qt::Label(centralWidget(), "textLabel1");
|
||||||
|
$layout14_2->addWidget(textLabel1);
|
||||||
|
|
||||||
|
MAC = Qt::LineEdit(centralWidget(), "MAC");
|
||||||
|
$layout14_2->addWidget(MAC);
|
||||||
|
|
||||||
|
textLabel1_2 = Qt::Label(centralWidget(), "textLabel1_2");
|
||||||
|
$layout14_2->addWidget(textLabel1_2);
|
||||||
|
|
||||||
|
NMuon = Qt::LineEdit(centralWidget(), "NMuon");
|
||||||
|
$layout14_2->addWidget(NMuon);
|
||||||
|
|
||||||
|
Start = Qt::PushButton(centralWidget(), "Start");
|
||||||
|
Start->setSizePolicy( Qt::SizePolicy(1, 0, 0, 1, Start->sizePolicy()->hasHeightForWidth()) );
|
||||||
Start->setMinimumSize( Qt::Size(0, 25) );
|
Start->setMinimumSize( Qt::Size(0, 25) );
|
||||||
$layout6->addWidget(Start);
|
$layout14_2->addWidget(Start);
|
||||||
my $spacer = Qt::SpacerItem(40, 20, &Qt::SizePolicy::Expanding, &Qt::SizePolicy::Minimum);
|
my $spacer = Qt::SpacerItem(330, 20, &Qt::SizePolicy::Expanding, &Qt::SizePolicy::Minimum);
|
||||||
$layout6->addItem($spacer);
|
$layout14_2->addItem($spacer);
|
||||||
$layout7->addLayout($layout6);
|
|
||||||
|
$QmuSRSimLayout->addLayout($layout14_2, 1, 0);
|
||||||
|
|
||||||
fileNewAction= Qt::Action(this, "fileNewAction");
|
fileNewAction= Qt::Action(this, "fileNewAction");
|
||||||
fileNewAction->setIconSet( Qt::IconSet($image2) );
|
fileNewAction->setIconSet( Qt::IconSet($image2) );
|
||||||
@ -18197,6 +18388,8 @@ sub NEW
|
|||||||
helpContentsAction= Qt::Action(this, "helpContentsAction");
|
helpContentsAction= Qt::Action(this, "helpContentsAction");
|
||||||
helpIndexAction= Qt::Action(this, "helpIndexAction");
|
helpIndexAction= Qt::Action(this, "helpIndexAction");
|
||||||
helpAboutAction= Qt::Action(this, "helpAboutAction");
|
helpAboutAction= Qt::Action(this, "helpAboutAction");
|
||||||
|
plotEnvelopesAction= Qt::Action(this, "plotEnvelopesAction");
|
||||||
|
plotBeam_SliceAction= Qt::Action(this, "plotBeam_SliceAction");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -18226,15 +18419,20 @@ sub NEW
|
|||||||
editFindAction->addTo( editMenu );
|
editFindAction->addTo( editMenu );
|
||||||
MenuBar->insertItem( "", editMenu, 2 );
|
MenuBar->insertItem( "", editMenu, 2 );
|
||||||
|
|
||||||
|
Plot = Qt::PopupMenu( this );
|
||||||
|
plotEnvelopesAction->addTo( Plot );
|
||||||
|
plotBeam_SliceAction->addTo( Plot );
|
||||||
|
MenuBar->insertItem( "", Plot, 3 );
|
||||||
|
|
||||||
helpMenu = Qt::PopupMenu( this );
|
helpMenu = Qt::PopupMenu( this );
|
||||||
helpContentsAction->addTo( helpMenu );
|
helpContentsAction->addTo( helpMenu );
|
||||||
helpIndexAction->addTo( helpMenu );
|
helpIndexAction->addTo( helpMenu );
|
||||||
helpMenu->insertSeparator();
|
helpMenu->insertSeparator();
|
||||||
helpAboutAction->addTo( helpMenu );
|
helpAboutAction->addTo( helpMenu );
|
||||||
MenuBar->insertItem( "", helpMenu, 3 );
|
MenuBar->insertItem( "", helpMenu, 4 );
|
||||||
|
|
||||||
languageChange();
|
languageChange();
|
||||||
my $resize = Qt::Size(829, 411);
|
my $resize = Qt::Size(822, 408);
|
||||||
$resize = $resize->expandedTo(minimumSizeHint());
|
$resize = $resize->expandedTo(minimumSizeHint());
|
||||||
resize( $resize );
|
resize( $resize );
|
||||||
clearWState( &Qt::WState_Polished );
|
clearWState( &Qt::WState_Polished );
|
||||||
@ -18255,26 +18453,38 @@ sub NEW
|
|||||||
Qt::Object::connect(helpContentsAction, SIGNAL "activated()", this, SLOT "helpContents()");
|
Qt::Object::connect(helpContentsAction, SIGNAL "activated()", this, SLOT "helpContents()");
|
||||||
Qt::Object::connect(helpAboutAction, SIGNAL "activated()", this, SLOT "helpAbout()");
|
Qt::Object::connect(helpAboutAction, SIGNAL "activated()", this, SLOT "helpAbout()");
|
||||||
Qt::Object::connect(Start, SIGNAL "clicked()", this, SLOT "StartCalc()");
|
Qt::Object::connect(Start, SIGNAL "clicked()", this, SLOT "StartCalc()");
|
||||||
|
Qt::Object::connect(ROOTSYSButton, SIGNAL "clicked()", this, SLOT "GetPATH()");
|
||||||
|
Qt::Object::connect(musrSimButton, SIGNAL "clicked()", this, SLOT "GetPATH()");
|
||||||
|
Qt::Object::connect(SaveDataButton, SIGNAL "clicked()", this, SLOT "GetPATH()");
|
||||||
|
Qt::Object::connect(Geant4Button, SIGNAL "clicked()", this, SLOT "GetPATH()");
|
||||||
|
|
||||||
setTabOrder(Tabs, L1);
|
setTabOrder(ENERGY, L1);
|
||||||
setTabOrder(L1, SR_B);
|
setTabOrder(L1, SR_B);
|
||||||
setTabOrder(SR_B, SR_E);
|
setTabOrder(SR_B, SR_E);
|
||||||
setTabOrder(SR_E, L3);
|
setTabOrder(SR_E, L3);
|
||||||
setTabOrder(L3, TL);
|
setTabOrder(L3, TL);
|
||||||
setTabOrder(TL, BFIELD);
|
setTabOrder(TL, RA_T);
|
||||||
setTabOrder(BFIELD, RA_T);
|
|
||||||
setTabOrder(RA_T, RA_B);
|
setTabOrder(RA_T, RA_B);
|
||||||
setTabOrder(RA_B, RA_R);
|
setTabOrder(RA_B, RA_R);
|
||||||
setTabOrder(RA_R, RA_L);
|
setTabOrder(RA_R, RA_L);
|
||||||
setTabOrder(RA_L, Start);
|
setTabOrder(RA_L, BFIELD);
|
||||||
setTabOrder(Start, L1_2);
|
setTabOrder(BFIELD, Start);
|
||||||
|
setTabOrder(Start, Tabs);
|
||||||
|
setTabOrder(Tabs, ENERGY_2);
|
||||||
|
setTabOrder(ENERGY_2, L1_2);
|
||||||
setTabOrder(L1_2, L2_2);
|
setTabOrder(L1_2, L2_2);
|
||||||
setTabOrder(L2_2, L3_2);
|
setTabOrder(L2_2, L3_2);
|
||||||
setTabOrder(L3_2, BFIELD_2);
|
setTabOrder(L3_2, RA_T_2);
|
||||||
setTabOrder(BFIELD_2, RA_T_2);
|
|
||||||
setTabOrder(RA_T_2, RA_B_2);
|
setTabOrder(RA_T_2, RA_B_2);
|
||||||
setTabOrder(RA_B_2, RA_R_2);
|
setTabOrder(RA_B_2, RA_R_2);
|
||||||
setTabOrder(RA_R_2, RA_L_2);
|
setTabOrder(RA_R_2, RA_L_2);
|
||||||
|
setTabOrder(RA_L_2, BFIELD_2);
|
||||||
|
setTabOrder(BFIELD_2, musrSim);
|
||||||
|
setTabOrder(musrSim, musrSimButton);
|
||||||
|
setTabOrder(musrSimButton, SaveData);
|
||||||
|
setTabOrder(SaveData, SaveDataButton);
|
||||||
|
setTabOrder(SaveDataButton, ROOTSYS);
|
||||||
|
setTabOrder(ROOTSYS, ROOTSYSButton);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -18284,31 +18494,77 @@ sub NEW
|
|||||||
sub languageChange
|
sub languageChange
|
||||||
{
|
{
|
||||||
setCaption(trUtf8("QmuSRSim") );
|
setCaption(trUtf8("QmuSRSim") );
|
||||||
textLabel2_2_2_2_2_3->setText( trUtf8("<b><font size=\"+1\">SR_E</font></b>") );
|
|
||||||
textLabel2_2_2_2_3->setText( trUtf8("<b><font size=\"+1\">SR_B</font></b>") );
|
|
||||||
textLabel2->setText( trUtf8("<b><font size=\"+1\">L1</font></b>") );
|
|
||||||
textLabel2_2_2->setText( trUtf8("<b><font size=\"+1\">TL</font></b>") );
|
|
||||||
textLabel2_2_3->setText( trUtf8("<b><font size=\"+1\">B Field</font></b>") );
|
|
||||||
textLabel2_2_2_2_2->setText( trUtf8("<b><font size=\"+1\">RA_B</font></b>") );
|
|
||||||
textLabel2_2_2_2_2_2_2->setText( trUtf8("<b><font size=\"+1\">RA_L</font></b>") );
|
|
||||||
textLabel2_2_2_2_2_2->setText( trUtf8("<b><font size=\"+1\">RA_R</font></b>") );
|
|
||||||
textLabel2_2_2_2->setText( trUtf8("<b><font size=\"+1\">RA_T</font></b>") );
|
|
||||||
textLabel2_3_2_2->setText( trUtf8("<b><font size=\"+1\">L3</font></b>") );
|
|
||||||
textLabel2_3_2_2_2->setText( trUtf8("<b><font size=\"+1\">Energy</font></b>") );
|
textLabel2_3_2_2_2->setText( trUtf8("<b><font size=\"+1\">Energy</font></b>") );
|
||||||
textLabel2_3_2_2_2_2->setText( trUtf8("<b><font size=\"+1\">keV</font></b>") );
|
ENERGY->setText( trUtf8("15.0") );
|
||||||
L3->setText( undef );
|
textLabel2_3_2_2_2_2->setText( trUtf8("keV") );
|
||||||
|
textLabel2_2_2_2_3_2_2->setText( trUtf8("kV") );
|
||||||
|
textLabel2_2_2_2_3_2->setText( trUtf8("T") );
|
||||||
|
textLabel2_2_2_2_3->setText( trUtf8("<b><font size=\"+1\">SR_B</font></b>") );
|
||||||
|
SR_B->setText( trUtf8("-0.0331") );
|
||||||
|
textLabel2_2_2_2_2_3->setText( trUtf8("<b><font size=\"+1\">SR_E</font></b>") );
|
||||||
|
SR_E->setText( trUtf8("12.55") );
|
||||||
|
textLabel2_2_3->setText( trUtf8("<b><font size=\"+1\">Field</font></b>") );
|
||||||
|
BFIELD->setText( trUtf8("0") );
|
||||||
|
textLabel2_2_2_2_3_2_3->setText( trUtf8("T") );
|
||||||
|
textLabel2_2_2->setText( trUtf8("<b><font size=\"+1\">L3</font></b>") );
|
||||||
|
TL->setText( trUtf8("9") );
|
||||||
|
textLabel2_2_2_2_3_2_2_2_2->setText( trUtf8("kV") );
|
||||||
|
textLabel2_3_2_2->setText( trUtf8("<b><font size=\"+1\">L2</font></b>") );
|
||||||
|
L3->setText( trUtf8("8.35") );
|
||||||
|
textLabel2_2_2_2_3_2_2_2->setText( trUtf8("kV") );
|
||||||
|
textLabel2->setText( trUtf8("<b><font size=\"+1\">L1</font></b>") );
|
||||||
|
L1->setText( trUtf8("9") );
|
||||||
|
textLabel2_2_2_2_3_2_2_3->setText( trUtf8("kV") );
|
||||||
|
textLabel2_2_2_2_2->setText( trUtf8("<b><font size=\"+1\">RA_B</font></b>") );
|
||||||
|
RA_R->setText( trUtf8("11") );
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2->setText( trUtf8("kV") );
|
||||||
|
textLabel2_2_2_2_2_2->setText( trUtf8("<b><font size=\"+1\">RA_R</font></b>") );
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2_2->setText( trUtf8("kV") );
|
||||||
|
RA_T->setText( trUtf8("11") );
|
||||||
|
textLabel2_2_2_2->setText( trUtf8("<b><font size=\"+1\">RA_T</font></b>") );
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2_2_2->setText( trUtf8("kV") );
|
||||||
|
textLabel2_2_2_2_2_2_2->setText( trUtf8("<b><font size=\"+1\">RA_L</font></b>") );
|
||||||
|
textLabel2_2_2_2_3_2_2_3_2_2->setText( trUtf8("kV") );
|
||||||
|
RA_B->setText( trUtf8("11") );
|
||||||
|
RA_L->setText( trUtf8("11") );
|
||||||
Tabs->changeTab( tab, trUtf8("Spin Rotator") );
|
Tabs->changeTab( tab, trUtf8("Spin Rotator") );
|
||||||
textLabel2_3_2_3_2->setText( trUtf8("<b><font size=\"+1\">L1</font></b>") );
|
textLabel2_3_2_3_2->setText( trUtf8("<b><font size=\"+1\">L1</font></b>") );
|
||||||
textLabel2_3_2_3->setText( trUtf8("<b><font size=\"+1\">L2</font></b>") );
|
textLabel2_3_2_3->setText( trUtf8("<b><font size=\"+1\">L2</font></b>") );
|
||||||
textLabel2_3_2->setText( trUtf8("<b><font size=\"+1\">L3</font></b>") );
|
textLabel2_3_2->setText( trUtf8("<b><font size=\"+1\">L3</font></b>") );
|
||||||
textLabel2_2_3_3->setText( trUtf8("<b><font size=\"+1\">B Field</font></b>") );
|
textLabel2_2_3_3->setText( trUtf8("<b><font size=\"+1\">B Field</font></b>") );
|
||||||
textLabel2_2_2_2_2_4->setText( trUtf8("<b><font size=\"+1\">RA_B</font></b>") );
|
textLabel2_2_2_2_2_4->setText( trUtf8("<b><font size=\"+1\">RA_B</font></b>") );
|
||||||
|
RA_B_2->setText( trUtf8("11") );
|
||||||
|
RA_T_2->setText( trUtf8("11") );
|
||||||
|
RA_L_2->setText( trUtf8("11") );
|
||||||
textLabel2_2_2_2_2_2_2_2->setText( trUtf8("<b><font size=\"+1\">RA_L</font></b>") );
|
textLabel2_2_2_2_2_2_2_2->setText( trUtf8("<b><font size=\"+1\">RA_L</font></b>") );
|
||||||
textLabel2_2_2_2_2_2_3->setText( trUtf8("<b><font size=\"+1\">RA_R</font></b>") );
|
textLabel2_2_2_2_2_2_3->setText( trUtf8("<b><font size=\"+1\">RA_R</font></b>") );
|
||||||
textLabel2_2_2_2_4->setText( trUtf8("<b><font size=\"+1\">RA_T</font></b>") );
|
textLabel2_2_2_2_4->setText( trUtf8("<b><font size=\"+1\">RA_T</font></b>") );
|
||||||
|
RA_R_2->setText( trUtf8("11") );
|
||||||
textLabel2_3_2_2_2_3->setText( trUtf8("<b><font size=\"+1\">Energy</font></b>") );
|
textLabel2_3_2_2_2_3->setText( trUtf8("<b><font size=\"+1\">Energy</font></b>") );
|
||||||
|
ENERGY_2->setText( trUtf8("15") );
|
||||||
textLabel2_3_2_2_2_2_2->setText( trUtf8("<b><font size=\"+1\">keV</font></b>") );
|
textLabel2_3_2_2_2_2_2->setText( trUtf8("<b><font size=\"+1\">keV</font></b>") );
|
||||||
|
L1_2->setText( trUtf8("9") );
|
||||||
|
L2_2->setText( trUtf8("8.35") );
|
||||||
|
L3_2->setText( trUtf8("8.35") );
|
||||||
|
BFIELD_2->setText( trUtf8("0") );
|
||||||
Tabs->changeTab( tab_2, trUtf8("Current") );
|
Tabs->changeTab( tab_2, trUtf8("Current") );
|
||||||
|
SaveData->setText( trUtf8(".") );
|
||||||
|
textLabel2_2_5->setText( trUtf8("Save Data Path") );
|
||||||
|
Geant4Button->setText( trUtf8("Browse") );
|
||||||
|
SaveDataButton->setText( trUtf8("Browse") );
|
||||||
|
musrSimButton->setText( trUtf8("Browse") );
|
||||||
|
textLabel2_2_4->setText( trUtf8("ROOTSYS Path") );
|
||||||
|
Geant4->setText( trUtf8("/usr/local/geant4/4.9.3") );
|
||||||
|
textLabel2_2_6->setText( trUtf8("Geant4 Path") );
|
||||||
|
textLabel2_2->setText( trUtf8("musrSim Path") );
|
||||||
|
ROOTSYSButton->setText( trUtf8("Browse") );
|
||||||
|
ROOTSYS->setText( trUtf8("/usr/local") );
|
||||||
|
musrSim->setText( trUtf8("/home/l_salman/LEM/simulation/geant4/musrSim/") );
|
||||||
|
Tabs->changeTab( TabPage, trUtf8("Options") );
|
||||||
|
textLabel1->setText( trUtf8("MAC File Number") );
|
||||||
|
MAC->setText( trUtf8("1000") );
|
||||||
|
textLabel1_2->setText( trUtf8("Number of Muons") );
|
||||||
|
NMuon->setText( trUtf8("1000") );
|
||||||
Start->setText( trUtf8("Start") );
|
Start->setText( trUtf8("Start") );
|
||||||
fileNewAction->setText( trUtf8("New") );
|
fileNewAction->setText( trUtf8("New") );
|
||||||
fileNewAction->setMenuText( trUtf8("&New") );
|
fileNewAction->setMenuText( trUtf8("&New") );
|
||||||
@ -18355,9 +18611,14 @@ sub languageChange
|
|||||||
helpAboutAction->setText( trUtf8("About") );
|
helpAboutAction->setText( trUtf8("About") );
|
||||||
helpAboutAction->setMenuText( trUtf8("&About") );
|
helpAboutAction->setMenuText( trUtf8("&About") );
|
||||||
helpAboutAction->setAccel( Qt::KeySequence( undef ) );
|
helpAboutAction->setAccel( Qt::KeySequence( undef ) );
|
||||||
|
plotEnvelopesAction->setText( trUtf8("Envelopes") );
|
||||||
|
plotEnvelopesAction->setMenuText( trUtf8("Envelopes") );
|
||||||
|
plotBeam_SliceAction->setText( trUtf8("Beam Slice") );
|
||||||
|
plotBeam_SliceAction->setMenuText( trUtf8("Beam Slice") );
|
||||||
MenuBar->findItem( 1 )->setText( trUtf8("&File") );
|
MenuBar->findItem( 1 )->setText( trUtf8("&File") );
|
||||||
MenuBar->findItem( 2 )->setText( trUtf8("&Edit") );
|
MenuBar->findItem( 2 )->setText( trUtf8("&Edit") );
|
||||||
MenuBar->findItem( 3 )->setText( trUtf8("&Help") );
|
MenuBar->findItem( 3 )->setText( trUtf8("Plot") );
|
||||||
|
MenuBar->findItem( 4 )->setText( trUtf8("&Help") );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -18405,7 +18666,7 @@ sub fileSave
|
|||||||
$InitFile=$InitFile.$key."=".$All{$key}."\n";
|
$InitFile=$InitFile.$key."=".$All{$key}."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
# Save to default file name "TriumSP.cfg"
|
# Save to default file name "musrSim.cfg"
|
||||||
my $file = "musrSim.cfg";
|
my $file = "musrSim.cfg";
|
||||||
open (OUTF,q{>},"$file" );
|
open (OUTF,q{>},"$file" );
|
||||||
print OUTF (" $InitFile");
|
print OUTF (" $InitFile");
|
||||||
@ -18526,8 +18787,9 @@ sub CreateAllInput
|
|||||||
{
|
{
|
||||||
|
|
||||||
my %All=();
|
my %All=();
|
||||||
my @AllParams= ("L1","L3","TL","BFIELD","RA_T","RA_B","RA_R","RA_L","SR_B","SR_E","ENERGY",
|
my @AllParams= ("L1","L3","TL","BFIELD","RA_T","RA_B","RA_R","RA_L","SR_B","SR_E","ENERGY","NMuon",
|
||||||
"L1_2","L2_2","L3_2","BFIELD_2","RA_T_2","RA_B_2","RA_R_2","RA_L_2","ENERGY_2");
|
"L1_2","L2_2","L3_2","BFIELD_2","RA_T_2","RA_B_2","RA_R_2","RA_L_2","ENERGY_2",
|
||||||
|
"MAC","musrSim","Geant4","SaveData","ROOTSYS");
|
||||||
foreach my $Param (@AllParams) {
|
foreach my $Param (@AllParams) {
|
||||||
my $Child = child($Param);
|
my $Child = child($Param);
|
||||||
my $Value = $Child->text;
|
my $Value = $Child->text;
|
||||||
@ -18543,6 +18805,12 @@ sub StartCalc
|
|||||||
{
|
{
|
||||||
|
|
||||||
my %All=CreateAllInput();
|
my %All=CreateAllInput();
|
||||||
|
|
||||||
|
# Check if the simulation can run
|
||||||
|
my $answ = CheckSim();
|
||||||
|
print "Answer=$answ\n";
|
||||||
|
|
||||||
|
if ($answ == 1) {
|
||||||
my $Page = Tabs->currentPageIndex;
|
my $Page = Tabs->currentPageIndex;
|
||||||
my %ToReplace=();
|
my %ToReplace=();
|
||||||
my @SpaceHolder=();
|
my @SpaceHolder=();
|
||||||
@ -18560,6 +18828,7 @@ sub StartCalc
|
|||||||
"RA_L"=>"RA_LVOL",
|
"RA_L"=>"RA_LVOL",
|
||||||
"SR_B"=>"SR_BFIELD",
|
"SR_B"=>"SR_BFIELD",
|
||||||
"SR_E"=>"SR_EFIELD",
|
"SR_E"=>"SR_EFIELD",
|
||||||
|
"NMuon"=>"NMuon",
|
||||||
"ENERGY"=>"ENERGY"
|
"ENERGY"=>"ENERGY"
|
||||||
);
|
);
|
||||||
# Use the following template
|
# Use the following template
|
||||||
@ -18574,6 +18843,7 @@ sub StartCalc
|
|||||||
"RA_B_2"=>"RA_BVOL",
|
"RA_B_2"=>"RA_BVOL",
|
||||||
"RA_R_2"=>"RA_RVOL",
|
"RA_R_2"=>"RA_RVOL",
|
||||||
"RA_L_2"=>"RA_LVOL",
|
"RA_L_2"=>"RA_LVOL",
|
||||||
|
"NMuon"=>"NMuon",
|
||||||
"ENERGY_2"=>"ENERGY"
|
"ENERGY_2"=>"ENERGY"
|
||||||
);
|
);
|
||||||
# Use the following template
|
# Use the following template
|
||||||
@ -18590,17 +18860,77 @@ sub StartCalc
|
|||||||
print "Replacing \t".$ToReplace{$key}."\t by \t".$All{$key}."\n";
|
print "Replacing \t".$ToReplace{$key}."\t by \t".$All{$key}."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
open(NEWMACF,">1000.mac");
|
my $NewFile=$All{"MAC"}.".mac";
|
||||||
|
open(NEWMACF,">$NewFile");
|
||||||
print NEWMACF @lines;
|
print NEWMACF @lines;
|
||||||
close(NEWMACF);
|
close(NEWMACF);
|
||||||
|
print "Created mac file $NewFile\n";
|
||||||
|
|
||||||
my $DIR=`pwd`;
|
my $DIR=`pwd`;
|
||||||
chomp $DIR;
|
chomp $DIR;
|
||||||
my $SimDIR="~/LEM/simulation/geant4/musrSim";
|
my $musrSim=$All{"musrSim"};
|
||||||
my $SYSROOT="/usr/local";
|
my $Geant4=$All{"Geant4"};
|
||||||
my $cmd="cd $SimDIR; . /usr/local/geant4/4.9.3/env.sh; export SYSROOT=$SYSROOT; cd run; $SimDIR/bin/Linux-g++/musrSim $DIR/1000.mac";
|
my $SYSROOT=$All{"SYSROOT"};
|
||||||
|
my $cmd="cd $musrSim; . $Geant4/env.sh; export SYSROOT=$SYSROOT; cd run; cp $DIR/$NewFile $NewFile;$musrSim/bin/Linux-g++/musrSim $NewFile > $NewFile.out ";
|
||||||
system("$cmd");
|
system("$cmd");
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
sub GetPATH
|
||||||
|
{
|
||||||
|
|
||||||
|
# Which button was clicked?
|
||||||
|
my $sender = sender();
|
||||||
|
# Then find the name of the sender button and convert it to the name of the appropriate lineEdit
|
||||||
|
my $name = $sender->name();
|
||||||
|
$name =~ s/Button//g;
|
||||||
|
|
||||||
|
# Get the requested path
|
||||||
|
my $RETVAL = Qt::FileDialog::getExistingDirectory("./",this,"get existing directory","Choose a directory",1);
|
||||||
|
# Now submit the path into the lineEdit
|
||||||
|
if ($RETVAL ne "") {
|
||||||
|
child($name)->setText($RETVAL);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
sub CheckSim
|
||||||
|
{
|
||||||
|
|
||||||
|
# Returns 1 if the simulation can run and 0 if not
|
||||||
|
my $answ=1;
|
||||||
|
my $answtext="";
|
||||||
|
|
||||||
|
my $musrSimPATH= musrSim->text();
|
||||||
|
my $Geant4PATH= Geant4->text();
|
||||||
|
my $SaveDataPATH= SaveData->text();
|
||||||
|
my $ROOTSYSPATH=ROOTSYS->text();
|
||||||
|
|
||||||
|
# Check if any of them is empty or does not exist
|
||||||
|
unless (-d $musrSimPATH) {
|
||||||
|
$answ=0;
|
||||||
|
$answtext=$answtext."musrSim Path \" $musrSimPATH\" is wrong!\n";
|
||||||
|
} else {
|
||||||
|
unless (-e "$Geant4PATH/env.sh") {
|
||||||
|
$answ=0;
|
||||||
|
$answtext=$answtext."Geant4 'env.sh' file does not exist!\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
unless (-d $SaveDataPATH) {
|
||||||
|
$answ=0;
|
||||||
|
$answtext=$answtext."Save Data Path is wrong!\n";
|
||||||
|
}
|
||||||
|
unless (-d $ROOTSYSPATH) {
|
||||||
|
$answ=0;
|
||||||
|
$answtext=$answtext."ROOTSYS Path is wrong!\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($answ==0) {
|
||||||
|
print STDERR $answtext;
|
||||||
|
my $HelpWindow = Qt::MessageBox::information( this, "Error!",$answtext);
|
||||||
|
}
|
||||||
|
return $answ;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -54,7 +54,7 @@ void QmuSRSim::fileSave()
|
|||||||
$InitFile=$InitFile.$key."=".$All{$key}."\n";
|
$InitFile=$InitFile.$key."=".$All{$key}."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
# Save to default file name "TriumSP.cfg"
|
# Save to default file name "musrSim.cfg"
|
||||||
my $file = "musrSim.cfg";
|
my $file = "musrSim.cfg";
|
||||||
open (OUTF,q{>},"$file" );
|
open (OUTF,q{>},"$file" );
|
||||||
print OUTF (" $InitFile");
|
print OUTF (" $InitFile");
|
||||||
@ -179,8 +179,9 @@ void QmuSRSim::helpAbout()
|
|||||||
void QmuSRSim::CreateAllInput()
|
void QmuSRSim::CreateAllInput()
|
||||||
{
|
{
|
||||||
my %All=();
|
my %All=();
|
||||||
my @AllParams= ("L1","L3","TL","BFIELD","RA_T","RA_B","RA_R","RA_L","SR_B","SR_E","ENERGY",
|
my @AllParams= ("L1","L3","TL","BFIELD","RA_T","RA_B","RA_R","RA_L","SR_B","SR_E","ENERGY","NMuon",
|
||||||
"L1_2","L2_2","L3_2","BFIELD_2","RA_T_2","RA_B_2","RA_R_2","RA_L_2","ENERGY_2");
|
"L1_2","L2_2","L3_2","BFIELD_2","RA_T_2","RA_B_2","RA_R_2","RA_L_2","ENERGY_2",
|
||||||
|
"MAC","musrSim","Geant4","SaveData","ROOTSYS");
|
||||||
foreach my $Param (@AllParams) {
|
foreach my $Param (@AllParams) {
|
||||||
my $Child = child($Param);
|
my $Child = child($Param);
|
||||||
my $Value = $Child->text;
|
my $Value = $Child->text;
|
||||||
@ -196,6 +197,12 @@ void QmuSRSim::CreateAllInput()
|
|||||||
void QmuSRSim::StartCalc()
|
void QmuSRSim::StartCalc()
|
||||||
{
|
{
|
||||||
my %All=CreateAllInput();
|
my %All=CreateAllInput();
|
||||||
|
|
||||||
|
# Check if the simulation can run
|
||||||
|
my $answ = CheckSim();
|
||||||
|
print "Answer=$answ\n";
|
||||||
|
|
||||||
|
if ($answ == 1) {
|
||||||
my $Page = Tabs->currentPageIndex;
|
my $Page = Tabs->currentPageIndex;
|
||||||
my %ToReplace=();
|
my %ToReplace=();
|
||||||
my @SpaceHolder=();
|
my @SpaceHolder=();
|
||||||
@ -213,6 +220,7 @@ void QmuSRSim::StartCalc()
|
|||||||
"RA_L"=>"RA_LVOL",
|
"RA_L"=>"RA_LVOL",
|
||||||
"SR_B"=>"SR_BFIELD",
|
"SR_B"=>"SR_BFIELD",
|
||||||
"SR_E"=>"SR_EFIELD",
|
"SR_E"=>"SR_EFIELD",
|
||||||
|
"NMuon"=>"NMuon",
|
||||||
"ENERGY"=>"ENERGY"
|
"ENERGY"=>"ENERGY"
|
||||||
);
|
);
|
||||||
# Use the following template
|
# Use the following template
|
||||||
@ -227,6 +235,7 @@ void QmuSRSim::StartCalc()
|
|||||||
"RA_B_2"=>"RA_BVOL",
|
"RA_B_2"=>"RA_BVOL",
|
||||||
"RA_R_2"=>"RA_RVOL",
|
"RA_R_2"=>"RA_RVOL",
|
||||||
"RA_L_2"=>"RA_LVOL",
|
"RA_L_2"=>"RA_LVOL",
|
||||||
|
"NMuon"=>"NMuon",
|
||||||
"ENERGY_2"=>"ENERGY"
|
"ENERGY_2"=>"ENERGY"
|
||||||
);
|
);
|
||||||
# Use the following template
|
# Use the following template
|
||||||
@ -243,16 +252,73 @@ void QmuSRSim::StartCalc()
|
|||||||
print "Replacing \t".$ToReplace{$key}."\t by \t".$All{$key}."\n";
|
print "Replacing \t".$ToReplace{$key}."\t by \t".$All{$key}."\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
open(NEWMACF,">1000.mac");
|
my $NewFile=$All{"MAC"}.".mac";
|
||||||
|
open(NEWMACF,">$NewFile");
|
||||||
print NEWMACF @lines;
|
print NEWMACF @lines;
|
||||||
close(NEWMACF);
|
close(NEWMACF);
|
||||||
|
print "Created mac file $NewFile\n";
|
||||||
|
|
||||||
my $DIR=`pwd`;
|
my $DIR=`pwd`;
|
||||||
chomp $DIR;
|
chomp $DIR;
|
||||||
my $SimDIR="~/LEM/simulation/geant4/musrSim";
|
my $musrSim=$All{"musrSim"};
|
||||||
my $SYSROOT="/usr/local";
|
my $Geant4=$All{"Geant4"};
|
||||||
my $cmd="cd $SimDIR; . /usr/local/geant4/4.9.3/env.sh; export SYSROOT=$SYSROOT; cd run; $SimDIR/bin/Linux-g++/musrSim $DIR/1000.mac";
|
my $SYSROOT=$All{"SYSROOT"};
|
||||||
|
my $cmd="cd $musrSim; . $Geant4/env.sh; export SYSROOT=$SYSROOT; cd run; cp $DIR/$NewFile $NewFile;$musrSim/bin/Linux-g++/musrSim $NewFile > $NewFile.out ";
|
||||||
system("$cmd");
|
system("$cmd");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void QmuSRSim::GetPATH()
|
||||||
|
{
|
||||||
|
# Which button was clicked?
|
||||||
|
my $sender = sender();
|
||||||
|
# Then find the name of the sender button and convert it to the name of the appropriate lineEdit
|
||||||
|
my $name = $sender->name();
|
||||||
|
$name =~ s/Button//g;
|
||||||
|
|
||||||
|
# Get the requested path
|
||||||
|
my $RETVAL = Qt::FileDialog::getExistingDirectory("./",this,"get existing directory","Choose a directory",1);
|
||||||
|
# Now submit the path into the lineEdit
|
||||||
|
if ($RETVAL ne "") {
|
||||||
|
child($name)->setText($RETVAL);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void QmuSRSim::CheckSim()
|
||||||
|
{
|
||||||
|
# Returns 1 if the simulation can run and 0 if not
|
||||||
|
my $answ=1;
|
||||||
|
my $answtext="";
|
||||||
|
|
||||||
|
my $musrSimPATH= musrSim->text();
|
||||||
|
my $Geant4PATH= Geant4->text();
|
||||||
|
my $SaveDataPATH= SaveData->text();
|
||||||
|
my $ROOTSYSPATH=ROOTSYS->text();
|
||||||
|
|
||||||
|
# Check if any of them is empty or does not exist
|
||||||
|
unless (-d $musrSimPATH) {
|
||||||
|
$answ=0;
|
||||||
|
$answtext=$answtext."musrSim Path \" $musrSimPATH\" is wrong!\n";
|
||||||
|
} else {
|
||||||
|
unless (-e "$Geant4PATH/env.sh") {
|
||||||
|
$answ=0;
|
||||||
|
$answtext=$answtext."Geant4 'env.sh' file does not exist!\n";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
unless (-d $SaveDataPATH) {
|
||||||
|
$answ=0;
|
||||||
|
$answtext=$answtext."Save Data Path is wrong!\n";
|
||||||
|
}
|
||||||
|
unless (-d $ROOTSYSPATH) {
|
||||||
|
$answ=0;
|
||||||
|
$answtext=$answtext."ROOTSYS Path is wrong!\n";
|
||||||
|
}
|
||||||
|
|
||||||
|
if ($answ==0) {
|
||||||
|
print STDERR $answtext;
|
||||||
|
my $HelpWindow = Qt::MessageBox::information( this, "Error!",$answtext);
|
||||||
|
}
|
||||||
|
return $answ;
|
||||||
|
}
|
||||||
|
@ -782,5 +782,5 @@
|
|||||||
# BEAM ON
|
# BEAM ON
|
||||||
#/run/beamOn 1000000
|
#/run/beamOn 1000000
|
||||||
#/run/beamOn 10
|
#/run/beamOn 10
|
||||||
/run/beamOn 1000
|
/run/beamOn NMuon
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user