I have starting date and time and ending date and time. They work well with the mouse. When I go to use the keyboard, nothing happens.
Qt Code:
  1. ui_duration_start_dateEdit->setDate(QDate::currentDate().addMonths(-1));
  2. ui_duration_start_timeEdit->setTime(0,0,0));
  3. ui_duration_end_dateEdit->setDate(QDate::currentDate());
  4. ui_duration_end_timeEdit->setTime(23,59,59));
  5. connect(ui_duration_start_dateEdit, SIGNAL(dateChanged(QDate)), this, SLOT(SlotSetFromDateTime()));
  6. connect(ui_duration_start_timeEdit, SIGNAL(timeChanged(QTime)), this, SLOT(SlotSetFromDateTime()));
  7. connect(ui_duration_end_dateEdit, SIGNAL(dateChanged(QDate)), this, SLOT(SlotSetToDateTime()));
  8. connect(ui_duration_end_timeEdit, SIGNAL(timeChanged(QTime)), this, SLOT(SlotSetToDateTime()));
  9. connect(ui_duration_start_dateEdit->calendarWidget(), SIGNAL(selectionChanged()), this, SLOT(SlotUpdateDates()));
  10. connect(ui_duration_end_dateEdit->calendarWidget(), SIGNAL(selectionChanged()), this, SLOT(SlotUpdateDates()));
To copy to clipboard, switch view to plain text mode 
Is there something I need to do to allow for keyboard input? Is there something that I did that prevents keyboard entry? I am looking forward to your help.