01-14-2025, 09:43 PM
(01-14-2025, 11:26 AM)admin Wrote:(01-14-2025, 08:04 AM)notko Wrote: Must admit, I've never used QT as developer, I am only reading the documentation. Neither I know exactly which standard interface controls you are using.
Let's suppose that in Edit backup schedule Dialog a QTimeEdit widget is used to select the time and and we name it scheduleTimeEdit
Now, if I read QT documentation correctly the following line ought to set widget's display format to that of the system. Works for Windows and Mac, again, according to the documentation.
scheduleTimeEdit.setDisplayFormat(QLocale:ystem().timeFormat(QLocale::ShortFormat))
Like I already said, I have NULL experience with QT and all this is purely theoretical.
Will test the fixed version tomorrow.
73 /Notko
@admin
Sent you a private message.