pulsatingscience.ui 13.8 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>
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
       <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" >
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>
Oliver Bock's avatar
Oliver Bock committed
182 183
      </layout>
     </item>
Oliver Bock's avatar
Oliver Bock committed
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 218 219 220
     <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
221 222 223 224
    </layout>
   </widget>
  </widget>
  <widget class="QMenuBar" name="menuBar" >
Oliver Bock's avatar
Oliver Bock committed
225 226 227 228
   <property name="geometry" >
    <rect>
     <x>0</x>
     <y>0</y>
Oliver Bock's avatar
Oliver Bock committed
229
     <width>550</width>
Oliver Bock's avatar
Oliver Bock committed
230 231 232
     <height>21</height>
    </rect>
   </property>
Oliver Bock's avatar
Oliver Bock committed
233 234
   <widget class="QMenu" name="menuView" >
    <property name="title" >
Oliver Bock's avatar
Oliver Bock committed
235
     <string>&amp;View</string>
Oliver Bock's avatar
Oliver Bock committed
236
    </property>
Oliver Bock's avatar
Oliver Bock committed
237 238
    <addaction name="actionMenu_bar" />
    <addaction name="actionStatus_bar" />
Oliver Bock's avatar
Oliver Bock committed
239 240 241
   </widget>
   <widget class="QMenu" name="menuHelp" >
    <property name="title" >
Oliver Bock's avatar
Oliver Bock committed
242
     <string>&amp;Help</string>
Oliver Bock's avatar
Oliver Bock committed
243 244 245 246 247 248 249 250
    </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
251
     <string>&amp;Control</string>
Oliver Bock's avatar
Oliver Bock committed
252 253 254 255 256 257 258 259 260 261
    </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
262
  </widget>
Oliver Bock's avatar
Oliver Bock committed
263 264 265 266 267 268 269 270
  <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
271 272 273 274 275 276
   <property name="statusTip" >
    <string>Visit our website</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+W</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
277 278 279 280 281 282 283 284 285
  </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
286 287 288 289 290 291
   <property name="statusTip" >
    <string>About this software</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+A</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
292 293 294
   <property name="menuRole" >
    <enum>QAction::AboutRole</enum>
   </property>
Oliver Bock's avatar
Oliver Bock committed
295 296 297 298 299 300 301 302 303
  </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
304 305 306 307 308 309
   <property name="statusTip" >
    <string>Quit</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+Q</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
310 311 312
   <property name="menuRole" >
    <enum>QAction::QuitRole</enum>
   </property>
Oliver Bock's avatar
Oliver Bock committed
313 314 315 316 317 318 319 320 321
  </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
322 323 324 325 326 327
   <property name="statusTip" >
    <string>Start the animation</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+R</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
328 329 330 331 332 333 334 335 336
  </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
337 338 339 340 341 342
   <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
343 344 345 346 347 348 349 350 351
  </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
352 353 354 355 356 357
   <property name="statusTip" >
    <string>Pause the animation</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+P</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
358 359 360 361 362 363 364 365 366
  </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
367 368 369 370 371 372
   <property name="statusTip" >
    <string>Dislay online help</string>
   </property>
   <property name="shortcut" >
    <string>Ctrl+H</string>
   </property>
Oliver Bock's avatar
Oliver Bock committed
373
  </action>
Oliver Bock's avatar
Oliver Bock committed
374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404
  <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
405
 </widget>
Oliver Bock's avatar
Oliver Bock committed
406 407 408 409 410 411 412 413
 <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
414 415 416
 <resources>
  <include location="pulsatingscience.qrc" />
 </resources>
Oliver Bock's avatar
Oliver Bock committed
417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433
 <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
434 435 436 437 438 439 440 441 442 443 444 445 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 477 478 479 480 481
  <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
482
 </connections>
Oliver Bock's avatar
Oliver Bock committed
483
</ui>