Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User mismael's Avatar
    Join Date
    Oct 2009
    Posts
    95
    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.

    is there any way to localize the title of this dialog ?

    thank you,

  2. #2
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    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();
    }

  3. #3
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    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)
    http://qt.gitorious.org/+qt-develope...x.cpp#line2497

Similar Threads

  1. kinetic scrolling
    By stalep in forum Nokia N9
    Replies: 10
    Last Post: 2009-12-08, 12:41

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved