MainWindow.ui 20.98 KiB
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1214</width>
<height>700</height>
</rect>
</property>
<property name="windowTitle">
<string>MainWindow</string>
</property>
<widget class="QWidget" name="centralWidget">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="QTabWidget" name="tabWidget">
<property name="currentIndex">
<number>2</number>
</property>
<widget class="QWidget" name="General">
<attribute name="title">
<string>General</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_2">
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox_5">
<property name="title">
<string>Save Data</string>
</property>
<layout class="QGridLayout" name="gridLayout_11">
<item row="1" column="1">
<widget class="QCheckBox" name="saveSpectrumBox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_50">
<property name="text">
<string>Spectrum</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QComboBox" name="saveSpectrumFormat">
<item>
<property name="text">
<string>ROOT</string>
</property>
</item>
<item>
<property name="text">
<string>TXT</string>
</property>
</item>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_49">
<property name="text">
<string>Image</string>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QComboBox" name="saveImageFormat">
<item>
<property name="text">
<string>ROOT</string>
</property>
</item>
<item>
<property name="text">
<string>TXT</string>
</property>
</item>
</widget>
</item>
<item row="0" column="1">
<widget class="QCheckBox" name="saveImageBox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="3">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
</item>
<item row="0" column="0">
<widget class="QGroupBox" name="groupBox_6">
<property name="title">
<string>Read Data</string>
</property>
<layout class="QGridLayout" name="gridLayout_12">
<item row="0" column="2" colspan="5">
<widget class="QLineEdit" name="projPathLabel">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="0" column="0" colspan="2">
<widget class="QPushButton" name="openProject">
<property name="text">
<string>Open Project</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="runIDLabel">
<property name="text">
<string>Run ID</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="2">
<widget class="QLineEdit" name="runIDInput"/>
</item>
<item row="2" column="6">
<widget class="QLineEdit" name="maxEventNumInput"/>
</item>
<item row="2" column="4">
<widget class="QComboBox" name="inputFormat">
<item>
<property name="text">
<string>Bin</string>
</property>
</item>
<item>
<property name="text">
<string>CSV</string>
</property>
</item>
</widget>
</item>
<item row="2" column="5">
<widget class="QLabel" name="label_48">
<property name="text">
<string>Max number of events</string>
</property>
</widget>
</item>
<item row="1" column="2" colspan="5">
<widget class="QLineEdit" name="filePathLabel">
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
</item>
<item row="1" column="0" colspan="2">
<widget class="QPushButton" name="openFileButton">
<property name="text">
<string>Open File</string>
</property>
</widget>
</item>
<item row="2" column="3">
<widget class="QLabel" name="label_52">
<property name="text">
<string>Format</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Plot">
<attribute name="title">
<string>Plot</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_3">
<item row="1" column="0">
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Radius (cm)</string>
</property>
</widget>
</item>
<item>
<widget class="QLineEdit" name="radiusInput"/>
</item>
</layout>
</item>
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox">
<property name="title">
<string>Azimuthal angle (degree)</string>
</property>
<layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="1">
<widget class="QLineEdit" name="phiBinsInput"/>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="phiMinInput"/>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="phiMaxInput"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_2">
<property name="text">
<string>Bins</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Min</string>
</property>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
<string>Max</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="2" column="1">
<widget class="QGroupBox" name="groupBox_4">
<property name="title">
<string>Energy Cut</string>
</property>
<layout class="QGridLayout" name="gridLayout_9">
<item row="0" column="1">
<widget class="QCheckBox" name="enableErgCutBox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_16">
<property name="text">
<string>Low</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="ergCutLowInput"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_17">
<property name="text">
<string>High</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="ergCutHighInput"/>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_18">
<property name="text">
<string>Enable</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
<item row="3" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Elevation angle (degree)</string>
</property>
<layout class="QGridLayout" name="gridLayout_5">
<item row="0" column="0">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Bins</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="thetaBinsInput"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
<string>Min</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="thetaMinInput"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
<string>Max</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="thetaMaxInput"/>
</item>
</layout>
</widget>
</item>
<item row="1" column="1">
<widget class="QGroupBox" name="groupBox_3">
<property name="title">
<string>Energy Spectrum</string>
</property>
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Bins</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="ergBinsInput"/>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_15">
<property name="text">
<string>Min</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QLineEdit" name="ergMinInput"/>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
<string>Max</string>
</property>
</widget>
</item>
<item row="2" column="1">
<widget class="QLineEdit" name="ergMaxInput"/>
</item>
</layout>
</widget>
</item>
<item row="3" column="1">
<widget class="QGroupBox" name="groupBox_7">
<property name="title">
<string>Coincidence</string>
</property>
<layout class="QGridLayout" name="gridLayout_10">
<item row="0" column="0">
<widget class="QLabel" name="label_51">
<property name="text">
<string>Time window (ns)</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLineEdit" name="timeWindowInput">
<property name="text">
<string/>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="Mapping">
<attribute name="title">
<string>Mapping</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_7">
<item row="0" column="7">
<widget class="QScrollArea" name="scrollArea">
<property name="widgetResizable">
<bool>true</bool>
</property>
<widget class="QWidget" name="scrollAreaWidgetContents">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1172</width>
<height>552</height>
</rect>
</property>
<layout class="QGridLayout" name="gridLayout_8">
<item row="0" column="4">
<widget class="QLabel" name="label_22">
<property name="text">
<string>ASIC</string>
</property>
</widget>
</item>
<item row="0" column="8">
<widget class="QLabel" name="label_13">
<property name="text">
<string>Calibration Coef.</string>
</property>
</widget>
</item>
<item row="0" column="7">
<widget class="QLabel" name="label_21">
<property name="text">
<string>Threshold</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QLabel" name="label_20">
<property name="text">
<string>All</string>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QCheckBox" name="AllChannelOnBox">
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="2">
<widget class="QLabel" name="label_10">
<property name="text">
<string>X (cm)</string>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_19">
<property name="text">
<string>Index</string>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Enabled</string>
</property>
</widget>
</item>
<item row="1" column="6">
<widget class="QComboBox" name="AllSourceBox">
<item>
<property name="text">
<string>LG</string>
</property>
</item>
<item>
<property name="text">
<string>HG</string>
</property>
</item>
</widget>
</item>
<item row="1" column="8">
<widget class="QLineEdit" name="AllCaliCoefInput"/>
</item>
<item row="0" column="3">
<widget class="QLabel" name="label_11">
<property name="text">
<string>Y (cm)</string>
</property>
</widget>
</item>
<item row="1" column="7">
<widget class="QLineEdit" name="AllThreInput"/>
</item>
<item row="0" column="6">
<widget class="QLabel" name="label_12">
<property name="text">
<string>Source</string>
</property>
</widget>
</item>
<item row="0" column="5">
<widget class="QLabel" name="label_23">
<property name="text">
<string>Channel</string>
</property>
</widget>
</item>
<item row="1" column="2">
<widget class="QLineEdit" name="lineEdit"/>
</item>
<item row="1" column="3">
<widget class="QLineEdit" name="lineEdit_2"/>
</item>
<item row="1" column="4">
<widget class="QLineEdit" name="lineEdit_3"/>
</item>
<item row="1" column="5">
<widget class="QLineEdit" name="lineEdit_4"/>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
</widget>
</item>
</layout>
</widget>
<widget class="QMenuBar" name="menuBar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1214</width>
<height>20</height>
</rect>
</property>
<widget class="QMenu" name="menuFile">
<property name="title">
<string>File</string>
</property>
<addaction name="actionOpen"/>
<addaction name="separator"/>
<addaction name="actionSave"/>
<addaction name="actionSave_As"/>
<addaction name="separator"/>
<addaction name="actionExit"/>
</widget>
<widget class="QMenu" name="menuRun">
<property name="title">
<string>Run</string>
</property>
<addaction name="actionStart"/>
<addaction name="actionPause"/>
<addaction name="actionStop"/>
</widget>
<widget class="QMenu" name="menuHelp">
<property name="title">
<string>Help</string>
</property>
<addaction name="actionAbout"/>
</widget>
<addaction name="menuFile"/>
<addaction name="menuRun"/>
<addaction name="menuHelp"/>
</widget>
<widget class="QToolBar" name="mainToolBar">
<attribute name="toolBarArea">
<enum>TopToolBarArea</enum>
</attribute>
<attribute name="toolBarBreak">
<bool>false</bool>
</attribute>
<addaction name="actionStart"/>
<addaction name="actionPause"/>
<addaction name="actionStop"/>
<addaction name="actionOpenPlot"/>
</widget>
<widget class="QStatusBar" name="statusBar"/>
<action name="actionOpen">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/open.svg</normaloff>:/icons/icons/open.svg</iconset>
</property>
<property name="text">
<string>Open project</string>
</property>
</action>
<action name="actionSave">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/save.svg</normaloff>:/icons/icons/save.svg</iconset>
</property>
<property name="text">
<string>Save project</string>
</property>
</action>
<action name="actionSave_As">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/saveas.png</normaloff>:/icons/icons/saveas.png</iconset>
</property>
<property name="text">
<string>Save As</string>
</property>
</action>
<action name="actionExit">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/close.svg</normaloff>:/icons/icons/close.svg</iconset>
</property>
<property name="text">
<string>Exit</string>
</property>
</action>
<action name="actionStart">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/start.svg</normaloff>:/icons/icons/start.svg</iconset>
</property>
<property name="text">
<string>Start</string>
</property>
</action>
<action name="actionStop">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/stop.svg</normaloff>:/icons/icons/stop.svg</iconset>
</property>
<property name="text">
<string>Stop</string>
</property>
</action>
<action name="actionAbout">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/about.svg</normaloff>:/icons/icons/about.svg</iconset>
</property>
<property name="text">
<string>About</string>
</property>
</action>
<action name="actionOpenPlot">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/openplot.svg</normaloff>:/icons/icons/openplot.svg</iconset>
</property>
<property name="text">
<string>OpenPlot</string>
</property>
</action>
<action name="actionPause">
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/icons/icons/pause.svg</normaloff>:/icons/icons/pause.svg</iconset>
</property>
<property name="text">
<string>Pause</string>
</property>
</action>
</widget>
<layoutdefault spacing="6" margin="11"/>
<resources>
<include location="resources.qrc"/>
</resources>
<connections/>
</ui>