The KNumber< T > class is used to replace DDX_Text data exchange for numeric types.
More...
template<typename T>
class KNumber< T >
The KNumber< T > class is used to replace DDX_Text data exchange for numeric types.
This class handles widget that displays a numeric type. It is a proxy for the widget, and can be used to set and get the value. There are no MFC equivalent for this class, as an int, float, double... are used in MFC to represent the state of the widget. Only in the case of a numeric types.
It can be used with a QLineEdit, a QComboBox or a QLabel.
- See also
- https://learn.microsoft.com/en-us/cpp/mfc/reference/standard-dialog-data-exchange-routines#ddx_text