pulsatingscience.ui 7.76 KB
Newer Older
Oliver Bock's avatar
Oliver Bock committed
1
2
3
4
5
6
7
<ui version="4.0" >
 <class>PulsatingScienceClass</class>
 <widget class="QMainWindow" name="PulsatingScienceClass" >
  <property name="geometry" >
   <rect>
    <x>0</x>
    <y>0</y>
Oliver Bock's avatar
Oliver Bock committed
8
    <width>550</width>
Oliver Bock's avatar
Oliver Bock committed
9
10
11
12
13
14
15
16
17
18
    <height>600</height>
   </rect>
  </property>
  <property name="windowTitle" >
   <string>PulsatingScience</string>
  </property>
  <property name="windowIcon" >
   <iconset resource="pulsatingscience.qrc" >
    <normaloff>:/icons/resources/aei-icon48.png</normaloff>:/icons/resources/aei-icon48.png</iconset>
  </property>
Oliver Bock's avatar
Oliver Bock committed
19
20
21
  <widget class="QWidget" name="centralwidget" >
   <layout class="QGridLayout" name="gridLayout" >
    <item row="0" column="0" >
Oliver Bock's avatar
Oliver Bock committed
22
     <widget class="PulsarAnimationWidget" native="1" name="pulsarGlWidget" />
Oliver Bock's avatar
Oliver Bock committed
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
    </item>
   </layout>
  </widget>
  <widget class="QStatusBar" name="statusbar" />
  <widget class="QDockWidget" name="dockAnimControl" >
   <property name="features" >
    <set>QDockWidget::AllDockWidgetFeatures</set>
   </property>
   <property name="windowTitle" >
    <string>Animation Control</string>
   </property>
   <attribute name="dockWidgetArea" >
    <number>8</number>
   </attribute>
   <widget class="QWidget" name="dockWidgetContents" >
    <layout class="QGridLayout" name="gridLayout_2" >
     <item row="0" column="0" >
      <layout class="QHBoxLayout" name="horizontalLayout" >
       <item>
        <widget class="QLabel" name="label" >
         <property name="text" >
          <string>Spin Frequency:</string>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QSlider" name="sliderSpinFrequency" >
Oliver Bock's avatar
Oliver Bock committed
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
         <property name="statusTip" >
          <string>Use this slider to adjust the spin frequency</string>
         </property>
         <property name="minimum" >
          <number>1</number>
         </property>
         <property name="maximum" >
          <number>20</number>
         </property>
         <property name="pageStep" >
          <number>5</number>
         </property>
         <property name="value" >
          <number>5</number>
         </property>
Oliver Bock's avatar
Oliver Bock committed
65
66
67
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
Oliver Bock's avatar
Oliver Bock committed
68
69
70
71
72
73
         <property name="invertedAppearance" >
          <bool>false</bool>
         </property>
         <property name="invertedControls" >
          <bool>false</bool>
         </property>
Oliver Bock's avatar
Oliver Bock committed
74
75
76
        </widget>
       </item>
       <item>
Oliver Bock's avatar
Oliver Bock committed
77
78
79
80
81
82
83
84
85
86
87
88
89
90
        <widget class="QLCDNumber" name="lcdSpinFrequency" >
         <property name="smallDecimalPoint" >
          <bool>false</bool>
         </property>
         <property name="numDigits" >
          <number>6</number>
         </property>
         <property name="segmentStyle" >
          <enum>QLCDNumber::Flat</enum>
         </property>
         <property name="value" stdset="0" >
          <double>0.500000000000000</double>
         </property>
        </widget>
Oliver Bock's avatar
Oliver Bock committed
91
92
93
94
95
96
97
       </item>
      </layout>
     </item>
    </layout>
   </widget>
  </widget>
  <widget class="QMenuBar" name="menuBar" >
Oliver Bock's avatar
Oliver Bock committed
98
99
100
101
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
Oliver Bock's avatar
Oliver Bock committed
102
     <width>550</width>
Oliver Bock's avatar
Oliver Bock committed
103
104
105
     <height>21</height>
    </rect>
   </property>
Oliver Bock's avatar
Oliver Bock committed
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
   <widget class="QMenu" name="menuView" >
    <property name="title" >
     <string>View</string>
    </property>
   </widget>
   <widget class="QMenu" name="menuHelp" >
    <property name="title" >
     <string>Help</string>
    </property>
    <addaction name="actionHelp" />
    <addaction name="actionWebsite" />
    <addaction name="separator" />
    <addaction name="actionAbout" />
   </widget>
   <widget class="QMenu" name="menuControl" >
    <property name="title" >
     <string>Control</string>
    </property>
    <addaction name="actionRun" />
    <addaction name="actionPause" />
    <addaction name="actionStop" />
    <addaction name="separator" />
    <addaction name="actionQuit" />
   </widget>
   <addaction name="menuControl" />
   <addaction name="menuView" />
   <addaction name="menuHelp" />
Oliver Bock's avatar
Oliver Bock committed
133
  </widget>
Oliver Bock's avatar
Oliver Bock committed
134
135
136
137
138
139
140
141
  <action name="actionWebsite" >
   <property name="icon" >
    <iconset resource="pulsatingscience.qrc" >
     <normaloff>:/icons/resources/help-website.png</normaloff>:/icons/resources/help-website.png</iconset>
   </property>
   <property name="text" >
    <string>Website</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
142
143
144
145
146
147
   <property name="statusTip" >
    <string>Visit our website</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+W</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
148
149
150
151
152
153
154
155
156
  </action>
  <action name="actionAbout" >
   <property name="icon" >
    <iconset resource="pulsatingscience.qrc" >
     <normaloff>:/icons/resources/help-about.png</normaloff>:/icons/resources/help-about.png</iconset>
   </property>
   <property name="text" >
    <string>About</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
157
158
159
160
161
162
   <property name="statusTip" >
    <string>About this software</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+A</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
163
164
165
166
167
168
169
170
171
  </action>
  <action name="actionQuit" >
   <property name="icon" >
    <iconset resource="pulsatingscience.qrc" >
     <normaloff>:/icons/resources/control-quit.png</normaloff>:/icons/resources/control-quit.png</iconset>
   </property>
   <property name="text" >
    <string>Quit</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
172
173
174
175
176
177
   <property name="statusTip" >
    <string>Quit</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+Q</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
178
179
180
181
182
183
184
185
186
  </action>
  <action name="actionRun" >
   <property name="icon" >
    <iconset resource="pulsatingscience.qrc" >
     <normaloff>:/icons/resources/control-run.png</normaloff>:/icons/resources/control-run.png</iconset>
   </property>
   <property name="text" >
    <string>Run</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
187
188
189
190
191
192
   <property name="statusTip" >
    <string>Start the animation</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+R</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
193
194
195
196
197
198
199
200
201
  </action>
  <action name="actionStop" >
   <property name="icon" >
    <iconset resource="pulsatingscience.qrc" >
     <normaloff>:/icons/resources/control-stop.png</normaloff>:/icons/resources/control-stop.png</iconset>
   </property>
   <property name="text" >
    <string>Stop</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
202
203
204
205
206
207
   <property name="statusTip" >
    <string>Stop and reset the animation</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+S</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
208
209
210
211
212
213
214
215
216
  </action>
  <action name="actionPause" >
   <property name="icon" >
    <iconset resource="pulsatingscience.qrc" >
     <normaloff>:/icons/resources/control-pause.png</normaloff>:/icons/resources/control-pause.png</iconset>
   </property>
   <property name="text" >
    <string>Pause</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
217
218
219
220
221
222
   <property name="statusTip" >
    <string>Pause the animation</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+P</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
223
224
225
226
227
228
229
230
231
  </action>
  <action name="actionHelp" >
   <property name="icon" >
    <iconset resource="pulsatingscience.qrc" >
     <normaloff>:/icons/resources/help-help.png</normaloff>:/icons/resources/help-help.png</iconset>
   </property>
   <property name="text" >
    <string>Help</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
232
233
234
235
236
237
   <property name="statusTip" >
    <string>Dislay online help</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+H</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
238
  </action>
Oliver Bock's avatar
Oliver Bock committed
239
 </widget>
Oliver Bock's avatar
Oliver Bock committed
240
241
242
243
244
245
246
247
 <customwidgets>
  <customwidget>
   <class>PulsarAnimationWidget</class>
   <extends>QWidget</extends>
   <header>src/pulsaranimationwidget.h</header>
   <container>1</container>
  </customwidget>
 </customwidgets>
Oliver Bock's avatar
Oliver Bock committed
248
249
250
 <resources>
  <include location="pulsatingscience.qrc" />
 </resources>
Oliver Bock's avatar
Oliver Bock committed
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
 <connections>
  <connection>
   <sender>actionQuit</sender>
   <signal>activated()</signal>
   <receiver>PulsatingScienceClass</receiver>
   <slot>close()</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>-1</x>
     <y>-1</y>
    </hint>
    <hint type="destinationlabel" >
     <x>274</x>
     <y>299</y>
    </hint>
   </hints>
  </connection>
 </connections>
Oliver Bock's avatar
Oliver Bock committed
269
</ui>