source: snovis/head/scripts/OnX/snovis_session.onx @ 6

Last change on this file since 6 was 6, checked in by barrand, 17 years ago
File size: 3.3 KB
Line 
1<OnX version="v15r0">
2  <create exec="DLD">OnX OnX_Initialize</create>
3  <create exec="DLD">OnXLab OnXLab_Initialize</create>
4  <create exec="DLD">snovis snovis_Initialize</create>
5  <destroy exec="DLD">snovis snovis_Finalize</destroy>
6  <widget class="Window" name="main">
7    <geometry>850x650+0+0</geometry>
8    <title>snovis</title>
9    <widget class="MenuBar" name="menuBar">
10      <reference file="$ONXROOT/scripts/OnX/File.onx"/>
11      <reference file="$SNOVISROOT/scripts/OnX/snovis.onx"/>
12      <reference file="$SNOVISROOT/scripts/OnX/Scene.onx"/>
13      <reference file="$SNOVISROOT/scripts/OnX/Camera.onx"/>
14      <reference file="$ONXROOT/scripts/OnX/Page.onx"/>
15      <reference file="$ONXROOT/scripts/OnX/Plotter.onx"/>
16      <reference file="$ONXLABROOT/scripts/OnX/Analysis.onx" optional="yes"/>
17      <reference file="$ONXROOT/scripts/OnX/Viewers.onx"/>
18      <reference file="$SNOVISROOT/scripts/OnX/Help.onx"/>
19    </widget>
20    <widget class="ToolBar">
21      <widget class="ToolBarItem">
22        <label>Print...</label>
23        <pixmap>$ONXROOT/scripts/images/fileprint.xpm</pixmap>
24        <tooltip>Map print dialog</tooltip>
25        <activate exec="DLD">OnX ui_show_dialog $ONXROOT/scripts/OnX/InputPrint.onx OnX_InputPrint_dialog</activate>
26      </widget>
27      <widget class="ToolBarItem">
28        <label>Clear region</label>
29        <pixmap>$ONXROOT/scripts/images/editdelete.xpm</pixmap>
30        <tooltip>Clear region</tooltip>
31        <activate exec="DLD">OnX region_clear</activate>
32      </widget>
33      <widget class="ToolBarItem">
34        <label>Next event</label>
35        <pixmap>$ONXROOT/scripts/images/civil_arrow_right.xpm</pixmap>
36        <tooltip>Next event</tooltip>
37        <activate exec="DLD">G4Lab G4Lab_nextEvent</activate>
38      </widget>
39    </widget>
40    <widget class="VPaned">
41      <splitPosition>450</splitPosition>
42      <widget class="HPaned">
43        <splitPosition>200</splitPosition>
44        <widget class="VBox">
45          <expand>second</expand>
46          <sizeOfFixed>30</sizeOfFixed>
47          <widget class="OptionMenu" name="optionTree">
48            <label>Tree actions</label>
49            <items>PhysicalVolumes\nPhysicsTables\nAIDA trees</items>
50            <default>PhysicalVolumes</default>
51            <valueChanged exec="DLD">G4Lab G4Lab_tree_option</valueChanged>
52          </widget>
53          <widget class="ScrolledTree" name="mainTree">
54            <select exec="DLD">G4Lab G4Lab_tree_select</select>
55          </widget>
56        </widget>
57        <reference file="$SNOVISROOT/scripts/OnX/Pages.onx"/>
58      </widget>
59      <widget class="VBox">
60        <expand>first</expand>
61        <sizeOfFixed>30</sizeOfFixed>
62        <widget class="ScrolledText" name="consoleText"/>
63        <widget class="HBox">
64          <expand>second</expand>
65          <sizeOfFixed>80</sizeOfFixed>
66          <widget class="OptionMenu" name="consolePrompt">
67            <label>Interpreter</label>
68            <default>G4</default>
69            <items>G4\nDLD\nsystem\nPython</items>
70          </widget>
71          <widget class="CommandLine" name="consoleCommandLine">
72            <activate exec="DLD">OnX console_execute</activate>
73            <complete exec="DLD">G4Lab G4Lab_consolePrompt_complete</complete>
74          </widget>
75        </widget>
76      </widget>
77    </widget>
78    <reference file="$ONXROOT/scripts/OnX/Dialogs.onx"/>
79  </widget>
80</OnX>
Note: See TracBrowser for help on using the repository browser.