Calendar Widget: get rid of week number
It puzzles me that this is the default. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
0ea86d83c1
commit
3179e0f722
@ -300,6 +300,7 @@ DateWidget::DateWidget(QWidget *parent) : QWidget(parent),
|
||||
calendarWidget->setWindowFlags(Qt::FramelessWindowHint);
|
||||
calendarWidget->setWindowFlags(Qt::WindowStaysOnTopHint);
|
||||
calendarWidget->setFirstDayOfWeek(getLocale().firstDayOfWeek());
|
||||
calendarWidget->setVerticalHeaderFormat(QCalendarWidget::NoVerticalHeader);
|
||||
|
||||
connect(calendarWidget, SIGNAL(activated(QDate)), calendarWidget, SLOT(hide()));
|
||||
connect(calendarWidget, SIGNAL(clicked(QDate)), calendarWidget, SLOT(hide()));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user