@poggers
What do you mean by this "separate window"? Are you talking about the popup, see dateEditEnabled, also Using a Pop-up Calendar Widget? Or something else?
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"));
}
you mean the calendar Widget ?
As far as I know, it has no concept of appointments so even that it supports styling, it is not really
possible to by styling.
But, you can quite easy draw it yourself and add the needed support for appointment.
To decrease the size of QCalendarWidget you have to find the QTableView inside QCalendarWidget and then set the headers size to zero (or any size you want). You can also set the font size to a small (but visible) value.
In the following code cal is a pointer to QCalendarWidget