Skip to content
Snippets Groups Projects
plotcanvas.ui 8.76 KiB
Newer Older
  • Learn to ignore specific revisions
  • mingf2's avatar
    mingf2 committed
    <?xml version="1.0" encoding="UTF-8"?>
    <ui version="4.0">
     <class>PlotCanvas</class>
    
    mingf2's avatar
    mingf2 committed
     <widget class="QWidget" name="PlotCanvas">
    
    mingf2's avatar
    mingf2 committed
      <property name="geometry">
       <rect>
        <x>0</x>
        <y>0</y>
    
        <width>695</width>
    
    mingf2's avatar
    mingf2 committed
        <height>481</height>
    
    mingf2's avatar
    mingf2 committed
       </rect>
      </property>
      <property name="windowTitle">
    
    mingf2's avatar
    mingf2 committed
       <string>Form</string>
    
    mingf2's avatar
    mingf2 committed
      </property>
    
    mingf2's avatar
    mingf2 committed
      <layout class="QVBoxLayout" name="verticalLayout_2">
       <item>
        <layout class="QGridLayout" name="gridLayout_2">
    
         <item row="1" column="5">
          <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>
    
    ming's avatar
    ming committed
         <item row="1" column="0">
          <widget class="QToolButton" name="ClearButton">
           <property name="toolTip">
            <string>Clear plot</string>
           </property>
    
    ming's avatar
    ming committed
           <property name="text">
    
    ming's avatar
    ming committed
            <string>...</string>
           </property>
           <property name="icon">
            <iconset resource="resources.qrc">
             <normaloff>:/icons/icons/reload.svg</normaloff>:/icons/icons/reload.svg</iconset>
    
    ming's avatar
    ming committed
           </property>
          </widget>
         </item>
    
    ming's avatar
    ming committed
         <item row="1" column="1">
          <widget class="QToolButton" name="UnZoomButton">
           <property name="toolTip">
            <string>Unzoom plot and enable auto scaling</string>
           </property>
           <property name="text">
            <string>...</string>
           </property>
           <property name="icon">
            <iconset resource="resources.qrc">
             <normaloff>:/icons/icons/unzoom.svg</normaloff>:/icons/icons/unzoom.svg</iconset>
           </property>
          </widget>
         </item>
         <item row="1" column="2">
          <widget class="QToolButton" name="SaveButton">
           <property name="toolTip">
            <string>Save current plot in txt</string>
           </property>
    
    ming's avatar
    ming committed
           <property name="text">
    
    ming's avatar
    ming committed
            <string>...</string>
           </property>
           <property name="icon">
            <iconset resource="resources.qrc">
             <normaloff>:/icons/icons/savecanvas.svg</normaloff>:/icons/icons/savecanvas.svg</iconset>
    
    ming's avatar
    ming committed
           </property>
          </widget>
         </item>
    
         <item row="1" column="8">
          <widget class="QLabel" name="asicLabel">
           <property name="text">
            <string>ASIC</string>
           </property>
          </widget>
         </item>
    
    ming's avatar
    ming committed
         <item row="1" column="6">
    
          <widget class="QLabel" name="sourceLabel">
           <property name="text">
            <string>Source</string>
           </property>
          </widget>
         </item>
         <item row="1" column="4">
          <widget class="QToolButton" name="LogButton">
           <property name="toolTip">
            <string>Plot in log scale</string>
           </property>
    
    ming's avatar
    ming committed
           <property name="text">
    
            <string>LogScale</string>
           </property>
           <property name="icon">
            <iconset resource="resources.qrc">
             <normaloff>:/icons/icons/log.svg</normaloff>:/icons/icons/log.svg</iconset>
           </property>
           <property name="checkable">
            <bool>true</bool>
    
    ming's avatar
    ming committed
           </property>
          </widget>
         </item>
    
         <item row="1" column="3">
          <widget class="QToolButton" name="ScreenshotButton">
           <property name="toolTip">
            <string>Save current plot in png</string>
           </property>
           <property name="text">
            <string>...</string>
           </property>
           <property name="icon">
            <iconset resource="resources.qrc">
             <normaloff>:/icons/icons/screenshot.svg</normaloff>:/icons/icons/screenshot.svg</iconset>
           </property>
          </widget>
         </item>
         <item row="1" column="11">
          <widget class="QLabel" name="channelLabel">
           <property name="text">
            <string>Channel</string>
           </property>
          </widget>
         </item>
         <item row="1" column="12">
    
    ming's avatar
    ming committed
          <widget class="QComboBox" name="channelBox">
    
    mingf2's avatar
    mingf2 committed
           <item>
            <property name="text">
             <string>0</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>1</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>2</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>3</string>
            </property>
           </item>
    
    mingf2's avatar
    mingf2 committed
           <item>
            <property name="text">
             <string>4</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>5</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>6</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>7</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>8</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>9</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>10</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>11</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>12</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>13</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>14</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>15</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>16</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>17</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>18</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>19</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>20</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>21</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>22</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>23</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>24</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>25</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>26</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>27</string>
            </property>
           </item>
    
    ming's avatar
    ming committed
           <item>
            <property name="text">
             <string>28</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>29</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>30</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>31</string>
            </property>
           </item>
    
    mingf2's avatar
    mingf2 committed
          </widget>
         </item>
    
         <item row="1" column="14" colspan="4">
    
    ming's avatar
    ming committed
          <widget class="QLabel" name="countsLabel">
    
    ming's avatar
    ming committed
           <property name="text">
    
    ming's avatar
    ming committed
            <string>Total Counts: 0</string>
    
    ming's avatar
    ming committed
           </property>
    
    ming's avatar
    ming committed
          </widget>
         </item>
    
         <item row="1" column="10">
          <widget class="QComboBox" name="asicBox">
    
    mingf2's avatar
    mingf2 committed
           <item>
            <property name="text">
             <string>0</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>1</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>2</string>
            </property>
           </item>
           <item>
            <property name="text">
             <string>3</string>
            </property>
           </item>
    
          </widget>
         </item>
         <item row="2" column="0" colspan="18">
          <widget class="CustomPlotZoom" name="canvas" native="true"/>
         </item>
         <item row="1" column="7">
          <widget class="QComboBox" name="sourceBox">
    
    mingf2's avatar
    mingf2 committed
           <item>
            <property name="text">
    
             <string>LG</string>
    
    mingf2's avatar
    mingf2 committed
            </property>
           </item>
           <item>
            <property name="text">
    
             <string>HG</string>
    
    mingf2's avatar
    mingf2 committed
            </property>
           </item>
    
    mingf2's avatar
    mingf2 committed
          </widget>
         </item>
    
    mingf2's avatar
    mingf2 committed
        </layout>
       </item>
      </layout>
    
    mingf2's avatar
    mingf2 committed
     </widget>
     <customwidgets>
      <customwidget>
    
       <class>CustomPlotZoom</class>
    
    mingf2's avatar
    mingf2 committed
       <extends>QWidget</extends>
    
       <header>customplotzoom.h</header>
    
    mingf2's avatar
    mingf2 committed
       <container>1</container>
      </customwidget>
     </customwidgets>
     <resources>
      <include location="resources.qrc"/>
     </resources>
     <connections/>
    </ui>