pulsatingscience.ui 10.6 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="0" >
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
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
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>
Oliver Bock's avatar
Oliver Bock committed
95
96
97
98
99
100
101
102
103
104
105
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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
       <item row="1" column="0" >
        <widget class="QLabel" name="label_2" >
         <property name="text" >
          <string>Orbit Radius:</string>
         </property>
        </widget>
       </item>
       <item row="2" column="0" >
        <widget class="QLabel" name="label_3" >
         <property name="text" >
          <string>Orbit Frequency:</string>
         </property>
        </widget>
       </item>
       <item row="1" column="1" >
        <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>
       <item row="1" column="2" >
        <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>
       <item row="2" column="2" >
        <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>
       <item row="2" column="1" >
        <widget class="QSlider" name="sliderOrbitFrequency" >
         <property name="minimum" >
          <number>1</number>
         </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>
Oliver Bock's avatar
Oliver Bock committed
182
183
184
185
186
187
      </layout>
     </item>
    </layout>
   </widget>
  </widget>
  <widget class="QMenuBar" name="menuBar" >
Oliver Bock's avatar
Oliver Bock committed
188
189
190
191
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
Oliver Bock's avatar
Oliver Bock committed
192
     <width>550</width>
Oliver Bock's avatar
Oliver Bock committed
193
194
195
     <height>21</height>
    </rect>
   </property>
Oliver Bock's avatar
Oliver Bock committed
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
   <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
223
  </widget>
Oliver Bock's avatar
Oliver Bock committed
224
225
226
227
228
229
230
231
  <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
232
233
234
235
236
237
   <property name="statusTip" >
    <string>Visit our website</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+W</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
238
239
240
241
242
243
244
245
246
  </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
247
248
249
250
251
252
   <property name="statusTip" >
    <string>About this software</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+A</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
253
254
255
256
257
258
259
260
261
  </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
262
263
264
265
266
267
   <property name="statusTip" >
    <string>Quit</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+Q</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
268
269
270
271
272
273
274
275
276
  </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
277
278
279
280
281
282
   <property name="statusTip" >
    <string>Start the animation</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+R</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
283
284
285
286
287
288
289
290
291
  </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
292
293
294
295
296
297
   <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
298
299
300
301
302
303
304
305
306
  </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
307
308
309
310
311
312
   <property name="statusTip" >
    <string>Pause the animation</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+P</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
313
314
315
316
317
318
319
320
321
  </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
322
323
324
325
326
327
   <property name="statusTip" >
    <string>Dislay online help</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+H</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
328
  </action>
Oliver Bock's avatar
Oliver Bock committed
329
 </widget>
Oliver Bock's avatar
Oliver Bock committed
330
331
332
333
334
335
336
337
 <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
338
339
340
 <resources>
  <include location="pulsatingscience.qrc" />
 </resources>
Oliver Bock's avatar
Oliver Bock committed
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
 <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
359
</ui>