Hi
The signal Activated also triggers for db clicks.
so

connect(ui->calendarWidget, QCalendarWidget::activated, this , MainWindow::CalendarDBClick); and the slot function public slots: void CalendarDBClick(const QDate& Date) { setWindowTitle(Date.toString("dd.MM.yyyy")); }

No need to subclass, just hook up signal.