problem in the Qt QComboBox!
hi there;
we have a problem in the QComboBox, when we localize our program then we click on any combobox a dialog is opened containing
the items in the combobox localized very well but the title of this dialog is not localized.
[IMG]http://i40.tinypic.com/33k9cu1.png[/IMG]
is there any way to localize the title of this dialog ?
thank you,
Re: problem in the Qt QComboBox!
[CODE]
#include <QApplication>
#include <QMainWindow>
#include <QComboBox>
int main(int argc, char* argv[])
{
QApplication app(argc,argv);
QComboBox *combo = new QComboBox;
combo->addItem("item1");
combo->addItem("item2");
combo->addItem("item3");
combo->addItem("item4");
QMainWindow w;
w.setCentralWidget(combo);
w.show();
return app.exec();
}
[/CODE]
Re: problem in the Qt QComboBox!
It shows either localized string "Select option" string or in case the browser localization package is missing, then it shows binary name (exactly the case in the originating post)
[url]http://qt.gitorious.org/+qt-developers/qt/x11-maemo/blobs/4.6-fremantle/src/gui/widgets/qcombobox.cpp#line2497[/url]