![]() |
Stellarium 0.15.2
|
A StelPropertyProxy that works with QDoubleSpinBox widgets. More...
#include <StelDialog_p.hpp>
Public Member Functions | |
QDoubleSpinBoxStelPropertyConnectionHelper (StelProperty *prop, QDoubleSpinBox *spin) | |
![]() | |
StelPropertyProxy (StelProperty *prop, QObject *parent) | |
Protected Slots | |
virtual void | onPropertyChanged (const QVariant &value) Q_DECL_OVERRIDE |
![]() | |
virtual void | onPropertyChanged (const QVariant &value)=0 |
This is connected by the constructor to the StelProperty::changed event of the connected property. More... | |
Additional Inherited Members | |
![]() | |
StelProperty * | prop |
The connected property, set by the constructor. More... | |
A StelPropertyProxy that works with QDoubleSpinBox widgets.
When the property changes, the widget's value is updated, while preventing widget signals to be sent. This avoids emitting the valueChanged() signal, which would unnecessarily set the property value again, which may lead to problems.
Definition at line 84 of file StelDialog_p.hpp.