Solved How to let QDoubleSpinBox to store time only as its value.
-
how can i store time as the only value in QDoubleSpinBox ?
i mean it should store value like this:
6:00
"6" being hour and "00" being minute.
thanks.
-
@Ahti said in How to let QDoubleSpinBox to store time only as its value.:
QDoubleSpinBox
Why do you want to use QDoubleSpinBox for that? It is for floating point numbers not time.
Why don't you use QTimeEdit? -
@Ahti said in How to let QDoubleSpinBox to store time only as its value.:
QDoubleSpinBox
Why do you want to use QDoubleSpinBox for that? It is for floating point numbers not time.
Why don't you use QTimeEdit? -
@jsulm I didn't know there would be something like QTimeEdit :)
thanks brotherwalikum asalam ( May peace be on you ). :)