Commit 00afd809 authored by Oliver Bock's avatar Oliver Bock

Improved GUI

* Configured slider and LCD
* Menu actions
* Status tips
parent 7db83d74
......@@ -19,7 +19,7 @@
<widget class="QWidget" name="centralwidget" >
<layout class="QGridLayout" name="gridLayout" >
<item row="0" column="0" >
<widget class="PulsarAnimationWidget" native="1" name="widget" />
<widget class="PulsarAnimationWidget" native="1" name="pulsarGlWidget" />
</item>
</layout>
</widget>
......@@ -47,13 +47,47 @@
</item>
<item>
<widget class="QSlider" name="sliderSpinFrequency" >
<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>
<property name="orientation" >
<enum>Qt::Horizontal</enum>
</property>
<property name="invertedAppearance" >
<bool>false</bool>
</property>
<property name="invertedControls" >
<bool>false</bool>
</property>
</widget>
</item>
<item>
<widget class="QLCDNumber" name="lcdSpinFrequency" />
<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>
</item>
</layout>
</item>
......@@ -105,6 +139,12 @@
<property name="text" >
<string>Website</string>
</property>
<property name="statusTip" >
<string>Visit our website</string>
</property>
<property name="shortcut" >
<string>Ctrl+W</string>
</property>
</action>
<action name="actionAbout" >
<property name="icon" >
......@@ -114,6 +154,12 @@
<property name="text" >
<string>About</string>
</property>
<property name="statusTip" >
<string>About this software</string>
</property>
<property name="shortcut" >
<string>Ctrl+A</string>
</property>
</action>
<action name="actionQuit" >
<property name="icon" >
......@@ -123,6 +169,12 @@
<property name="text" >
<string>Quit</string>
</property>
<property name="statusTip" >
<string>Quit</string>
</property>
<property name="shortcut" >
<string>Ctrl+Q</string>
</property>
</action>
<action name="actionRun" >
<property name="icon" >
......@@ -132,6 +184,12 @@
<property name="text" >
<string>Run</string>
</property>
<property name="statusTip" >
<string>Start the animation</string>
</property>
<property name="shortcut" >
<string>Ctrl+R</string>
</property>
</action>
<action name="actionStop" >
<property name="icon" >
......@@ -141,6 +199,12 @@
<property name="text" >
<string>Stop</string>
</property>
<property name="statusTip" >
<string>Stop and reset the animation</string>
</property>
<property name="shortcut" >
<string>Ctrl+S</string>
</property>
</action>
<action name="actionPause" >
<property name="icon" >
......@@ -150,6 +214,12 @@
<property name="text" >
<string>Pause</string>
</property>
<property name="statusTip" >
<string>Pause the animation</string>
</property>
<property name="shortcut" >
<string>Ctrl+P</string>
</property>
</action>
<action name="actionHelp" >
<property name="icon" >
......@@ -159,6 +229,12 @@
<property name="text" >
<string>Help</string>
</property>
<property name="statusTip" >
<string>Dislay online help</string>
</property>
<property name="shortcut" >
<string>Ctrl+H</string>
</property>
</action>
</widget>
<customwidgets>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment