Additional char in a year button in QCalendarWidget
-
Hi,
I have QCalendarWidget:
QCalendarWidget *cal = new QCalendarWidget(this); cal->resize(400,400); cal->setLocale(QLocale::Spanish);
When I click on a year button, which is on the top, there is a QSpinBox, where I can change a year. When I click outside this QSpinBox to finish edit, there is an additional char in this year button. For example in english locale there is comma, in german and spanish there is dot, in polish is space:
I would like to don't add this char.
-
Hi,
I have QCalendarWidget:
QCalendarWidget *cal = new QCalendarWidget(this); cal->resize(400,400); cal->setLocale(QLocale::Spanish);
When I click on a year button, which is on the top, there is a QSpinBox, where I can change a year. When I click outside this QSpinBox to finish edit, there is an additional char in this year button. For example in english locale there is comma, in german and spanish there is dot, in polish is space:
I would like to don't add this char.
-
@eyllanesc 5.15.1
-
@eyllanesc 5.15.1
-
@eyllanesc Windows 10, Qt 5.15.1. Maybe locale problem?
-
@eyllanesc In win 10, qt 5.15.1 you have to click on a year ( you have to see a QSpinBox ), don't change it and click outside it for example on this top blue label. When you change a year and click outside everything is ok.
-
@eyllanesc In win 10, qt 5.15.1 you have to click on a year ( you have to see a QSpinBox ), don't change it and click outside it for example on this top blue label. When you change a year and click outside everything is ok.