The Date and Time picker does not have ok/cancel button to dismiss the dialog. Either user has to change focus by clicking outside the dialog or pressing
Sometimes user might be clueless what to do after making the selection, so it would be better to show an
Ok button to acknowledge that the user has completed the selection.
Or is there a workaround to add a button to the QDate component?