pulsatingscience.ui 15 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="2" 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="3" 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="2" 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="2" 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="3" 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="3" 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 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217
       <item row="1" column="0" >
        <widget class="QLabel" name="label_4" >
         <property name="text" >
          <string>Mag. Axis (incl.)</string>
         </property>
        </widget>
       </item>
       <item row="1" column="1" >
        <widget class="QSlider" name="sliderPulsarMagneticAxisInclination" >
         <property name="maximum" >
          <number>90</number>
         </property>
         <property name="value" >
          <number>90</number>
         </property>
         <property name="orientation" >
          <enum>Qt::Horizontal</enum>
         </property>
         <property name="tickPosition" >
          <enum>QSlider::TicksBelow</enum>
         </property>
        </widget>
       </item>
       <item row="1" column="2" >
        <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" >
          <number>90</number>
         </property>
        </widget>
       </item>
Oliver Bock's avatar
Oliver Bock committed
218 219
      </layout>
     </item>
Oliver Bock's avatar
Oliver Bock committed
220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256
     <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
257 258 259 260
    </layout>
   </widget>
  </widget>
  <widget class="QMenuBar" name="menuBar" >
Oliver Bock's avatar
Oliver Bock committed
261 262 263 264
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
Oliver Bock's avatar
Oliver Bock committed
265
     <width>550</width>
266
     <height>31</height>
Oliver Bock's avatar
Oliver Bock committed
267 268
    </rect>
   </property>
Oliver Bock's avatar
Oliver Bock committed
269 270
   <widget class="QMenu" name="menuView" >
    <property name="title" >
Oliver Bock's avatar
Oliver Bock committed
271
     <string>&amp;View</string>
Oliver Bock's avatar
Oliver Bock committed
272
    </property>
Oliver Bock's avatar
Oliver Bock committed
273 274
    <addaction name="actionMenu_bar" />
    <addaction name="actionStatus_bar" />
Oliver Bock's avatar
Oliver Bock committed
275 276 277
   </widget>
   <widget class="QMenu" name="menuHelp" >
    <property name="title" >
Oliver Bock's avatar
Oliver Bock committed
278
     <string>&amp;Help</string>
Oliver Bock's avatar
Oliver Bock committed
279 280 281 282 283 284 285 286
    </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
287
     <string>&amp;Control</string>
Oliver Bock's avatar
Oliver Bock committed
288 289 290 291 292 293 294 295 296 297
    </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
298
  </widget>
Oliver Bock's avatar
Oliver Bock committed
299 300 301 302 303 304 305 306
  <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
307 308 309 310 311 312
   <property name="statusTip" >
    <string>Visit our website</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+W</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
313 314 315 316 317 318 319 320 321
  </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
322 323 324 325 326 327
   <property name="statusTip" >
    <string>About this software</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+A</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
328 329 330
   <property name="menuRole" >
    <enum>QAction::AboutRole</enum>
   </property>
Oliver Bock's avatar
Oliver Bock committed
331 332 333 334 335 336 337 338 339
  </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
340 341 342 343 344 345
   <property name="statusTip" >
    <string>Quit</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+Q</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
346 347 348
   <property name="menuRole" >
    <enum>QAction::QuitRole</enum>
   </property>
Oliver Bock's avatar
Oliver Bock committed
349 350 351 352 353 354 355 356 357
  </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
358 359 360 361 362 363
   <property name="statusTip" >
    <string>Start the animation</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+R</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
364 365 366 367 368 369 370 371 372
  </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
373 374 375 376 377 378
   <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
379 380 381 382 383 384 385 386 387
  </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
388 389 390 391 392 393
   <property name="statusTip" >
    <string>Pause the animation</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+P</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
394 395 396 397 398 399 400 401 402
  </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
403 404 405 406 407 408
   <property name="statusTip" >
    <string>Dislay online help</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+H</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
409
  </action>
Oliver Bock's avatar
Oliver Bock committed
410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440
  <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
441
 </widget>
Oliver Bock's avatar
Oliver Bock committed
442 443 444 445 446 447 448 449
 <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
450 451 452
 <resources>
  <include location="pulsatingscience.qrc" />
 </resources>
Oliver Bock's avatar
Oliver Bock committed
453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469
 <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
470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517
  <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
518
 </connections>
Oliver Bock's avatar
Oliver Bock committed
519
</ui>