Commit 0587db32 authored by Oliver Bock's avatar Oliver Bock

Use likely candidate properties as default values

parent 2731e32d
......@@ -79,9 +79,9 @@ PulsarAnimationWidget::PulsarAnimationWidget(QWidget *parent) :
m_pulsarRadius = 0.5;
m_pulsarBeamLength = 3.0f;
m_pulsarBeamRimSize = 0.1f;
setPulsarSpinAxisInclination(0);
setPulsarMagneticAxisInclination(5);
setPulsarBeamAngle(20);
setPulsarSpinAxisInclination(10);
setPulsarMagneticAxisInclination(20);
setPulsarBeamAngle(37);
// initial spin frequency of 0.5 Hz
......
......@@ -150,7 +150,7 @@
<number>180</number>
</property>
<property name="value">
<number>0</number>
<number>10</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
......@@ -169,7 +169,7 @@
<enum>QLCDNumber::Flat</enum>
</property>
<property name="intValue" stdset="0">
<number>0</number>
<number>10</number>
</property>
</widget>
</item>
......@@ -182,7 +182,7 @@
<number>180</number>
</property>
<property name="value">
<number>5</number>
<number>20</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
......@@ -201,10 +201,10 @@
<enum>QLCDNumber::Flat</enum>
</property>
<property name="value" stdset="0">
<double>5.000000000000000</double>
<double>20.000000000000000</double>
</property>
<property name="intValue" stdset="0">
<number>5</number>
<number>20</number>
</property>
</widget>
</item>
......@@ -251,10 +251,10 @@
<number>5</number>
</property>
<property name="value">
<number>20</number>
<number>37</number>
</property>
<property name="sliderPosition">
<number>20</number>
<number>37</number>
</property>
<property name="orientation">
<enum>Qt::Horizontal</enum>
......@@ -273,7 +273,10 @@
<enum>QLCDNumber::Flat</enum>
</property>
<property name="value" stdset="0">
<double>20.000000000000000</double>
<double>37.000000000000000</double>
</property>
<property name="intValue" stdset="0">
<number>37</number>
</property>
</widget>
</item>
......
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