Details
-
Task
-
Resolution: Out of scope
-
P2: Important
-
None
-
None
-
Symbian operating system with Qt 4.6.2.
Description
Hi,
i want to use the QinputDialog in my Qt application, using the QinputDialog i am showing the popup listview, the code which i have used to show the popup dialog is.
QInputDialog inputdialog;
QStringList items;
items << "apple" << "grape"<<"orange";
bool val = QObject::connect(&inputdialog,SIGNAL(textValueSelected(const QString &)),this,SLOT(selText(const QString &)));
inputdialog.setLabelText(tr("Choolse the fruites"));
inputdialog.setOptions(QInputDialog::UseListViewForComboBoxItems);
inputdialog.setComboBoxItems(items);
inputdialog.exec();
inputdialog.close();
My problem is, the appeared popup listview is not elegant, it looks a bit of ugly i.e popup list item size is fixed(height of cell),i cant even change the fonts, i don't no how to customize, is there any way to customize or not?.