Details
-
Bug
-
Resolution: Done
-
P2: Important
-
4.7.0
-
None
-
None
-
Nokia N97 mini and Qt 4.7.0
-
b3f895fd97deda0c7c5bfd704c04450e7afee748
Description
QDateEdit popup is broken
This is an update to the issue which I have
reported previously.
I generate the QDateEdit like this:
[code]
QDateEdit * bottomLabel = globDataItems[item].myFieldStorage->myFields[i].setDateEdit(new QDateEdit(this));
bottomLabel->setCalendarPopup(true);
bottomLabel->setDate(globDataItems[item].myFieldStorage->myFields[i].myFieldDate);
bottomLabel->setMinimumHeight(30);
neededHeight+=30;
if(globDataItems[item].myFieldStorage->myFields[i].modalFlag() && false==globDataItems[item].myFieldStorage->myFields[i].isEditedFieldStorable())
//THIS IS LIFE ESSENTIAL OR THE PROGRAM DIES. DO NOT ASK ME WHY THOUGH
globDataItems[item].myFieldStorage->myFields[i].myFieldHelper->myMotherField=&globDataItems[item].myFieldStorage->myFields[i];
connect(bottomLabel,SIGNAL(dateChanged(const QDate &)),globDataItems[item].myFieldStorage->myFields[i].myFieldHelper,SLOT(dateChanged(const QDate &)));
bottomLayout->addSpacing(20);
bottomLayout->addWidget(bottomLabel);
myWidgetList.append(bottomLabel);
[/code]
When it then comes to the popup, various odditied occur.
Fitrst of all, in portrasit mode, not all of the popup fits on the screen.
In landscape mode, depending on the position of the control on the screen,
the popup is shown incomplete.