28 mAzimuthSpinBox->setClearValue( 315.0 );
29 mAltitudeSpinBox->setClearValue( 45.0 );
31 connect( mAzimuthSpinBox, qOverload<double>( &QDoubleSpinBox::valueChanged ),
this, [
this](
double value ) {
32 whileBlocking( mDialAzimuth )->setValue(
static_cast<int>( value * 10 + 1800 ) % 3600 );
36 connect( mDialAzimuth, &QDial::valueChanged,
this, [
this](
int value ) {
37 whileBlocking( mAzimuthSpinBox )->setValue( std::fmod( value / 10.0 + 180, 360.0 ) );
41 connect( mAltitudeSpinBox, qOverload<double>( &QDoubleSpinBox::valueChanged ),
this, [
this](
double value ) {
42 whileBlocking( mAltitudeSlider )->setValue(
static_cast<int>( value * 10 ) );
46 connect( mAltitudeSlider, &QSlider::valueChanged,
this, [
this](
int value ) {