I have a QTimeEdit which I want to set to some value and the each second I want to decrease by 1 the value that shows the QTimeEdit. So when it will be 0, the I want to have a QMeesageBox that says “Your time is off.”. Can I some how do this with QTimeEdit interface, or I should use QTimer?
Share
You can use
QTimeEditfor displaying the time but you will have to useQTimerto decrease the time every second.You can do something like this: