Stellarium  0.16.1
List of all members | Public Member Functions | Protected Slots
QComboBoxStelPropertyConnectionHelper Class Reference

A StelPropertyProxy that works with QComboBox widgets. More...

#include <StelDialog_p.hpp>

+ Inheritance diagram for QComboBoxStelPropertyConnectionHelper:
+ Collaboration diagram for QComboBoxStelPropertyConnectionHelper:

Public Member Functions

 QComboBoxStelPropertyConnectionHelper (StelProperty *prop, QComboBox *combo)
 
- Public Member Functions inherited from StelPropertyProxy
 StelPropertyProxy (StelProperty *prop, QObject *parent)
 

Protected Slots

virtual void onPropertyChanged (const QVariant &value) Q_DECL_OVERRIDE
 
- Protected Slots inherited from StelPropertyProxy
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

- Protected Attributes inherited from StelPropertyProxy
StelPropertyprop
 The connected property, set by the constructor. More...
 

Detailed Description

A StelPropertyProxy that works with QComboBox 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 52 of file StelDialog_p.hpp.


The documentation for this class was generated from the following file: