Hi everyone,
I am completely new to this forum and QT Creator, and it's great to see there's a place for new people like me
Please feel free to correct me if I use terms incorrectly!!
Im creating an application where I want to edit the date and time (date/time edit widget) and "set" or "cancel" that date and time using two push buttons. In the UI window I've selected the "clicked()" signal for the two buttons and on the date/time edit widget I selected the "editingFinished()" slot.
Question 1)
Will the dateTime property always be whatever the user has entered for a date and time? If so, is there a way to override that update so that it only changes when the user selects the "Set Alarm" button?
Question 2)
Is there a way to create a new instance (I think thats the right term) of dateTime?
For instance, I have a label that displays the current time on the application using the code: QTime time = QTime::currentTime();
Is there a way to do this for dateTime?
Thank you!!!
Bookmarks