pulsatingscience.ui 16.1 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
    </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" >
Oliver Bock's avatar
Oliver Bock committed
38
    <layout class="QGridLayout" name="gridLayout_3" >
Oliver Bock's avatar
Oliver Bock committed
39
     <item row="0" column="1" >
Oliver Bock's avatar
Oliver Bock committed
40
41
      <layout class="QGridLayout" name="gridLayout_2" >
       <item row="0" column="0" >
Oliver Bock's avatar
Oliver Bock committed
42
43
44
45
46
47
        <widget class="QLabel" name="label" >
         <property name="text" >
          <string>Spin Frequency:</string>
         </property>
        </widget>
       </item>
Oliver Bock's avatar
Oliver Bock committed
48
49
       <item row="0" column="1" >
        <widget class="QSlider" name="sliderPulsarSpinFrequency" >
Oliver Bock's avatar
Oliver Bock committed
50
51
52
53
         <property name="statusTip" >
          <string>Use this slider to adjust the spin frequency</string>
         </property>
         <property name="minimum" >
Oliver Bock's avatar
Oliver Bock committed
54
          <number>0</number>
Oliver Bock's avatar
Oliver Bock committed
55
56
57
58
59
60
61
62
63
64
         </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
77
78
79
         <property name="tickPosition" >
          <enum>QSlider::TicksBelow</enum>
         </property>
         <property name="tickInterval" >
          <number>1</number>
         </property>
Oliver Bock's avatar
Oliver Bock committed
80
81
        </widget>
       </item>
Oliver Bock's avatar
Oliver Bock committed
82
83
       <item row="0" column="2" >
        <widget class="QLCDNumber" name="lcdPulsarSpinFrequency" >
Oliver Bock's avatar
Oliver Bock committed
84
85
86
87
88
89
90
91
92
93
         <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
94
       </item>
95
       <item row="3" column="0" >
Oliver Bock's avatar
Oliver Bock committed
96
97
98
99
100
101
        <widget class="QLabel" name="label_2" >
         <property name="text" >
          <string>Orbit Radius:</string>
         </property>
        </widget>
       </item>
102
       <item row="4" column="0" >
Oliver Bock's avatar
Oliver Bock committed
103
104
105
106
107
108
        <widget class="QLabel" name="label_3" >
         <property name="text" >
          <string>Orbit Frequency:</string>
         </property>
        </widget>
       </item>
109
       <item row="3" column="1" >
Oliver Bock's avatar
Oliver Bock committed
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
        <widget class="QSlider" name="sliderOrbitRadius" >
         <property name="minimum" >
          <number>1</number>
         </property>
         <property name="maximum" >
          <number>10</number>
         </property>
         <property name="pageStep" >
          <number>2</number>
         </property>
         <property name="value" >
          <number>4</number>
         </property>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
         <property name="tickPosition" >
          <enum>QSlider::TicksBelow</enum>
         </property>
         <property name="tickInterval" >
          <number>1</number>
         </property>
        </widget>
       </item>
134
       <item row="3" column="2" >
Oliver Bock's avatar
Oliver Bock committed
135
136
137
138
139
140
141
142
143
144
145
146
        <widget class="QLCDNumber" name="lcdOrbitRadius" >
         <property name="numDigits" >
          <number>6</number>
         </property>
         <property name="segmentStyle" >
          <enum>QLCDNumber::Flat</enum>
         </property>
         <property name="value" stdset="0" >
          <double>4.000000000000000</double>
         </property>
        </widget>
       </item>
147
       <item row="4" column="2" >
Oliver Bock's avatar
Oliver Bock committed
148
149
150
151
152
153
154
155
156
157
158
159
        <widget class="QLCDNumber" name="lcdOrbitFrequency" >
         <property name="numDigits" >
          <number>6</number>
         </property>
         <property name="segmentStyle" >
          <enum>QLCDNumber::Flat</enum>
         </property>
         <property name="value" stdset="0" >
          <double>0.200000000000000</double>
         </property>
        </widget>
       </item>
160
       <item row="4" column="1" >
Oliver Bock's avatar
Oliver Bock committed
161
162
        <widget class="QSlider" name="sliderOrbitFrequency" >
         <property name="minimum" >
Oliver Bock's avatar
Oliver Bock committed
163
          <number>0</number>
Oliver Bock's avatar
Oliver Bock committed
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
         </property>
         <property name="maximum" >
          <number>20</number>
         </property>
         <property name="value" >
          <number>2</number>
         </property>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
         <property name="tickPosition" >
          <enum>QSlider::TicksBelow</enum>
         </property>
         <property name="tickInterval" >
          <number>1</number>
         </property>
        </widget>
       </item>
182
       <item row="1" column="0" >
183
184
185
186
187
188
189
        <widget class="QLabel" name="label_5" >
         <property name="text" >
          <string>Spin Axis Incl.</string>
         </property>
        </widget>
       </item>
       <item row="2" column="0" >
190
191
        <widget class="QLabel" name="label_4" >
         <property name="text" >
192
          <string>Mag. Axis Incl.</string>
193
194
195
196
         </property>
        </widget>
       </item>
       <item row="1" column="1" >
197
        <widget class="QSlider" name="sliderPulsarSpinAxisInclination" >
198
         <property name="maximum" >
199
          <number>180</number>
200
201
         </property>
         <property name="value" >
202
          <number>0</number>
203
204
205
206
207
208
209
210
211
212
         </property>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
         <property name="tickPosition" >
          <enum>QSlider::TicksBelow</enum>
         </property>
        </widget>
       </item>
       <item row="1" column="2" >
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
        <widget class="QLCDNumber" name="lcdPulsarSpinAxisInclination" >
         <property name="numDigits" >
          <number>6</number>
         </property>
         <property name="segmentStyle" >
          <enum>QLCDNumber::Flat</enum>
         </property>
         <property name="intValue" stdset="0" >
          <number>0</number>
         </property>
        </widget>
       </item>
       <item row="2" column="1" >
        <widget class="QSlider" name="sliderPulsarMagneticAxisInclination" >
         <property name="maximum" >
          <number>180</number>
         </property>
         <property name="value" >
          <number>45</number>
         </property>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
         <property name="tickPosition" >
          <enum>QSlider::TicksBelow</enum>
         </property>
        </widget>
       </item>
       <item row="2" column="2" >
242
243
244
245
246
247
248
249
        <widget class="QLCDNumber" name="lcdPulsarMagneticAxisInclination" >
         <property name="numDigits" >
          <number>6</number>
         </property>
         <property name="segmentStyle" >
          <enum>QLCDNumber::Flat</enum>
         </property>
         <property name="intValue" stdset="0" >
250
          <number>45</number>
251
252
253
         </property>
        </widget>
       </item>
Oliver Bock's avatar
Oliver Bock committed
254
255
      </layout>
     </item>
Oliver Bock's avatar
Oliver Bock committed
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
     <item row="0" column="0" >
      <layout class="QVBoxLayout" name="verticalLayout" >
       <item>
        <widget class="QPushButton" name="pushRun" >
         <property name="text" >
          <string>Run</string>
         </property>
         <property name="icon" >
          <iconset resource="pulsatingscience.qrc" >
           <normaloff>:/icons/resources/control-run.png</normaloff>:/icons/resources/control-run.png</iconset>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QPushButton" name="pushPause" >
         <property name="text" >
          <string>Pause</string>
         </property>
         <property name="icon" >
          <iconset resource="pulsatingscience.qrc" >
           <normaloff>:/icons/resources/control-pause.png</normaloff>:/icons/resources/control-pause.png</iconset>
         </property>
        </widget>
       </item>
       <item>
        <widget class="QPushButton" name="pushStop" >
         <property name="text" >
          <string>Stop</string>
         </property>
         <property name="icon" >
          <iconset resource="pulsatingscience.qrc" >
           <normaloff>:/icons/resources/control-stop.png</normaloff>:/icons/resources/control-stop.png</iconset>
         </property>
        </widget>
       </item>
      </layout>
     </item>
Oliver Bock's avatar
Oliver Bock committed
293
294
295
296
    </layout>
   </widget>
  </widget>
  <widget class="QMenuBar" name="menuBar" >
Oliver Bock's avatar
Oliver Bock committed
297
298
299
300
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
Oliver Bock's avatar
Oliver Bock committed
301
     <width>550</width>
302
     <height>31</height>
Oliver Bock's avatar
Oliver Bock committed
303
304
    </rect>
   </property>
Oliver Bock's avatar
Oliver Bock committed
305
306
   <widget class="QMenu" name="menuView" >
    <property name="title" >
Oliver Bock's avatar
Oliver Bock committed
307
     <string>&amp;View</string>
Oliver Bock's avatar
Oliver Bock committed
308
    </property>
Oliver Bock's avatar
Oliver Bock committed
309
310
    <addaction name="actionMenu_bar" />
    <addaction name="actionStatus_bar" />
Oliver Bock's avatar
Oliver Bock committed
311
312
313
   </widget>
   <widget class="QMenu" name="menuHelp" >
    <property name="title" >
Oliver Bock's avatar
Oliver Bock committed
314
     <string>&amp;Help</string>
Oliver Bock's avatar
Oliver Bock committed
315
316
317
318
319
320
321
322
    </property>
    <addaction name="actionHelp" />
    <addaction name="actionWebsite" />
    <addaction name="separator" />
    <addaction name="actionAbout" />
   </widget>
   <widget class="QMenu" name="menuControl" >
    <property name="title" >
Oliver Bock's avatar
Oliver Bock committed
323
     <string>&amp;Control</string>
Oliver Bock's avatar
Oliver Bock committed
324
325
326
327
328
329
330
331
332
333
    </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
334
  </widget>
Oliver Bock's avatar
Oliver Bock committed
335
336
337
338
339
340
341
342
  <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
343
344
345
346
347
348
   <property name="statusTip" >
    <string>Visit our website</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+W</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
349
350
351
352
353
354
355
356
357
  </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
358
359
360
361
362
363
   <property name="statusTip" >
    <string>About this software</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+A</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
364
365
366
   <property name="menuRole" >
    <enum>QAction::AboutRole</enum>
   </property>
Oliver Bock's avatar
Oliver Bock committed
367
368
369
370
371
372
373
374
375
  </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
376
377
378
379
380
381
   <property name="statusTip" >
    <string>Quit</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+Q</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
382
383
384
   <property name="menuRole" >
    <enum>QAction::QuitRole</enum>
   </property>
Oliver Bock's avatar
Oliver Bock committed
385
386
387
388
389
390
391
392
393
  </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
394
395
396
397
398
399
   <property name="statusTip" >
    <string>Start the animation</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+R</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
400
401
402
403
404
405
406
407
408
  </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
409
410
411
412
413
414
   <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
415
416
417
418
419
420
421
422
423
  </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
424
425
426
427
428
429
   <property name="statusTip" >
    <string>Pause the animation</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+P</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
430
431
432
433
434
435
436
437
438
  </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
439
440
441
442
443
444
   <property name="statusTip" >
    <string>Dislay online help</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+H</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
445
  </action>
Oliver Bock's avatar
Oliver Bock committed
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
  <action name="actionMenu_bar" >
   <property name="checkable" >
    <bool>true</bool>
   </property>
   <property name="checked" >
    <bool>true</bool>
   </property>
   <property name="text" >
    <string>Menu bar</string>
   </property>
   <property name="shortcut" >
    <string>Alt+M</string>
   </property>
   <property name="visible" >
    <bool>false</bool>
   </property>
  </action>
  <action name="actionStatus_bar" >
   <property name="checkable" >
    <bool>true</bool>
   </property>
   <property name="checked" >
    <bool>true</bool>
   </property>
   <property name="text" >
    <string>Status bar</string>
   </property>
   <property name="shortcut" >
    <string>Alt+S</string>
   </property>
  </action>
Oliver Bock's avatar
Oliver Bock committed
477
 </widget>
Oliver Bock's avatar
Oliver Bock committed
478
479
480
481
482
483
484
485
 <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
486
487
488
 <resources>
  <include location="pulsatingscience.qrc" />
 </resources>
Oliver Bock's avatar
Oliver Bock committed
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
 <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>
Oliver Bock's avatar
Oliver Bock committed
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
  <connection>
   <sender>pushRun</sender>
   <signal>clicked()</signal>
   <receiver>actionRun</receiver>
   <slot>trigger()</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>47</x>
     <y>491</y>
    </hint>
    <hint type="destinationlabel" >
     <x>-1</x>
     <y>-1</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>pushPause</sender>
   <signal>clicked()</signal>
   <receiver>actionPause</receiver>
   <slot>trigger()</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>47</x>
     <y>523</y>
    </hint>
    <hint type="destinationlabel" >
     <x>-1</x>
     <y>-1</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>pushStop</sender>
   <signal>clicked()</signal>
   <receiver>actionStop</receiver>
   <slot>trigger()</slot>
   <hints>
    <hint type="sourcelabel" >
     <x>47</x>
     <y>555</y>
    </hint>
    <hint type="destinationlabel" >
     <x>-1</x>
     <y>-1</y>
    </hint>
   </hints>
  </connection>
Oliver Bock's avatar
Oliver Bock committed
554
 </connections>
Oliver Bock's avatar
Oliver Bock committed
555
</ui>