Template file option added.

This commit is contained in:
2012-05-04 08:35:32 +00:00
parent 45209156fa
commit 477b82008d
3 changed files with 272 additions and 201 deletions

View File

@ -27,6 +27,87 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>MAC File Number</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>MAC</cstring>
</property>
<property name="text">
<string>1000</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>Number of Muons</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>NMuon</cstring>
</property>
<property name="text">
<string>1000</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>Start</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="text">
<string>Start</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>330</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
<widget class="QTabWidget" row="0" column="0">
<property name="name">
<cstring>Tabs</cstring>
@ -1608,31 +1689,39 @@
</attribute>
<widget class="QLayoutWidget">
<property name="name">
<cstring>layout12</cstring>
<cstring>layout19</cstring>
</property>
<property name="geometry">
<rect>
<x>12</x>
<y>11</y>
<x>14</x>
<y>32</y>
<width>770</width>
<height>140</height>
<height>180</height>
</rect>
</property>
<grid>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLineEdit" row="2" column="1">
<widget class="QLineEdit" row="1" column="1">
<property name="name">
<cstring>ROOTSYS</cstring>
<cstring>Geant4</cstring>
</property>
<property name="text">
<string>/usr/local/geant4/4.9.3</string>
</property>
</widget>
<widget class="QLineEdit" row="3" column="1">
<property name="name">
<cstring>TEMPL</cstring>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="QPushButton" row="1" column="2">
<widget class="QPushButton" row="0" column="2">
<property name="name">
<cstring>Geant4Button</cstring>
<cstring>musrSimButton</cstring>
</property>
<property name="text">
<string>Browse</string>
@ -1646,28 +1735,12 @@
<string>/home/l_salman/LEM/simulation/geant4/musrSim/</string>
</property>
</widget>
<widget class="QLabel" row="2" column="0">
<widget class="QLabel" row="0" column="0">
<property name="name">
<cstring>textLabel2_2_4</cstring>
<cstring>textLabel2_2</cstring>
</property>
<property name="text">
<string>ROOTSYS Path</string>
</property>
</widget>
<widget class="QLineEdit" row="1" column="1">
<property name="name">
<cstring>Geant4</cstring>
</property>
<property name="text">
<string>/usr/local/geant4/4.9.3</string>
</property>
</widget>
<widget class="QPushButton" row="0" column="2">
<property name="name">
<cstring>musrSimButton</cstring>
</property>
<property name="text">
<string>Browse</string>
<string>musrSim Path</string>
</property>
</widget>
<widget class="QLabel" row="1" column="0">
@ -1678,12 +1751,20 @@
<string>Geant4 Path</string>
</property>
</widget>
<widget class="QLabel" row="0" column="0">
<widget class="QPushButton" row="1" column="2">
<property name="name">
<cstring>textLabel2_2</cstring>
<cstring>Geant4Button</cstring>
</property>
<property name="text">
<string>musrSim Path</string>
<string>Browse</string>
</property>
</widget>
<widget class="QLabel" row="3" column="0">
<property name="name">
<cstring>textLabel2_2_4_2</cstring>
</property>
<property name="text">
<string>Template File</string>
</property>
</widget>
<widget class="QPushButton" row="2" column="2">
@ -1694,91 +1775,34 @@
<string>Browse</string>
</property>
</widget>
<widget class="QPushButton" row="3" column="2">
<property name="name">
<cstring>TEMPLButton</cstring>
</property>
<property name="text">
<string>Browse</string>
</property>
</widget>
<widget class="QLineEdit" row="2" column="1">
<property name="name">
<cstring>ROOTSYS</cstring>
</property>
<property name="text">
<string></string>
</property>
</widget>
<widget class="QLabel" row="2" column="0">
<property name="name">
<cstring>textLabel2_2_4</cstring>
</property>
<property name="text">
<string>ROOTSYS Path</string>
</property>
</widget>
</grid>
</widget>
</widget>
</widget>
<widget class="QLayoutWidget" row="1" column="0">
<property name="name">
<cstring>layout14</cstring>
</property>
<hbox>
<property name="name">
<cstring>unnamed</cstring>
</property>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1</cstring>
</property>
<property name="text">
<string>MAC File Number</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>MAC</cstring>
</property>
<property name="text">
<string>1000</string>
</property>
</widget>
<widget class="QLabel">
<property name="name">
<cstring>textLabel1_2</cstring>
</property>
<property name="text">
<string>Number of Muons</string>
</property>
</widget>
<widget class="QLineEdit">
<property name="name">
<cstring>NMuon</cstring>
</property>
<property name="text">
<string>1000</string>
</property>
</widget>
<widget class="QPushButton">
<property name="name">
<cstring>Start</cstring>
</property>
<property name="sizePolicy">
<sizepolicy>
<hsizetype>1</hsizetype>
<vsizetype>0</vsizetype>
<horstretch>0</horstretch>
<verstretch>1</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>25</height>
</size>
</property>
<property name="text">
<string>Start</string>
</property>
</widget>
<spacer>
<property name="name">
<cstring>spacer3</cstring>
</property>
<property name="orientation">
<enum>Horizontal</enum>
</property>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="sizeHint">
<size>
<width>330</width>
<height>20</height>
</size>
</property>
</spacer>
</hbox>
</widget>
</grid>
</widget>
<menubar>
@ -2233,6 +2257,12 @@
<receiver>QmuSRSim</receiver>
<slot>plotBeamSpot()</slot>
</connection>
<connection>
<sender>TEMPLButton</sender>
<signal>clicked()</signal>
<receiver>QmuSRSim</receiver>
<slot>GetPATH()</slot>
</connection>
</connections>
<tabstops>
<tabstop>ENERGY</tabstop>