Rewrite EditTimeDialog in Qt Widgets again

Authored by aspotashev on Nov 9 2019, 2:49 PM.