Commit ff39486e authored by Oliver Bock's avatar Oliver Bock
Browse files

Name refactoring (finally)

parent 7335f019
......@@ -143,10 +143,10 @@ void PulsatingScience::on_sliderVirgoAngle_valueChanged(int value)
ui.lcdVirgoAngle->display(QString::number(value));
}
void PulsatingScience::on_sliderPulsarSpinAxisInclination_valueChanged(int value)
void PulsatingScience::on_sliderSourceIota_valueChanged(int value)
{
ui.pulsarGlWidget->setSourceIota(value);
ui.lcdPulsarSpinAxisInclination->display(QString::number(value));
ui.lcdSourceIota->display(QString::number(value));
}
void PulsatingScience::on_sliderSourceInclination_valueChanged(int value)
......@@ -346,7 +346,7 @@ void PulsatingScience::saveOrRestoreInitialAnimationSettings()
static int sliderLHOAngle;
static int sliderLLOAngle;
static int sliderVirgoAngle;
static int sliderPulsarSpinAxisInclination;
static int sliderSourceIota;
static int sliderSourceInclination;
static double cameraAngleH;
......@@ -357,7 +357,7 @@ void PulsatingScience::saveOrRestoreInitialAnimationSettings()
// restore intial settings
ui.sliderLHOAngle->setValue(sliderLHOAngle);
ui.sliderLLOAngle->setValue(sliderLLOAngle);
ui.sliderPulsarSpinAxisInclination->setValue(sliderPulsarSpinAxisInclination);
ui.sliderSourceIota->setValue(sliderSourceIota);
ui.sliderVirgoAngle->setValue(sliderVirgoAngle);
ui.sliderSourceInclination->setValue(sliderSourceInclination);
ui.pulsarGlWidget->resetCameraPosition(cameraAngleH, cameraAngleV, cameraZoom);
......@@ -366,7 +366,7 @@ void PulsatingScience::saveOrRestoreInitialAnimationSettings()
// save initial settings
sliderLHOAngle = ui.sliderLHOAngle->value();
sliderLLOAngle = ui.sliderLLOAngle->value();
sliderPulsarSpinAxisInclination = ui.sliderPulsarSpinAxisInclination->value();
sliderSourceIota = ui.sliderSourceIota->value();
sliderVirgoAngle = ui.sliderVirgoAngle->value();
sliderSourceInclination = ui.sliderSourceInclination->value();
ui.pulsarGlWidget->getCameraPosition(cameraAngleH, cameraAngleV, cameraZoom);
......
......@@ -44,7 +44,7 @@ public slots:
void on_sliderLHOAngle_valueChanged(int value);
void on_sliderLLOAngle_valueChanged(int value);
void on_sliderVirgoAngle_valueChanged(int value);
void on_sliderPulsarSpinAxisInclination_valueChanged(int value);
void on_sliderSourceIota_valueChanged(int value);
void on_sliderSourceInclination_valueChanged(int value);
void fullscreenToggled();
......
......@@ -295,9 +295,9 @@
</widget>
</item>
<item row="4" column="1">
<widget class="QSlider" name="sliderPulsarSpinAxisInclination">
<widget class="QSlider" name="sliderSourceIota">
<property name="statusTip">
<string>Use this slider to adjust the ssource plan normal (iota)</string>
<string>Use this slider to adjust the source plane normal (iota)</string>
</property>
<property name="minimum">
<number>0</number>
......@@ -317,7 +317,7 @@
</widget>
</item>
<item row="4" column="2">
<widget class="QLCDNumber" name="lcdPulsarSpinAxisInclination">
<widget class="QLCDNumber" name="lcdSourceIota">
<property name="numDigits">
<number>6</number>
</property>
......
Supports Markdown
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