×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    47

    Please let me know its an functionality behaviour or not

    Hi all,

    I am having an listview filled with the items, by default the 0th(zero) item will be selected.
    If I try to navigate the list using mobile keypad its not gaining focus, instead i need to use my mobile select key for focus. In this process my mobile left soft key gets change do “Done” I don’t know why this “Done” menu is appearing in my mobile soft Key..

    How to provide default focus to listview? And how to avoid display of “Done” at left soft key.
    Here is the peace of sample code,

    Code:
    vbox = new QVBoxLayout();
    listui = new QListView();
    listui->setSelectionMode(QAbstractItemView::SingleSelection);
    
    listui->viewport()->setFocusPolicy(Qt::WheelFocus);
    listui->viewport()->setFocus();
        
    listModel = new QStandardItemModel();
    listui->setModel(listModel);
    
    vbox->addWidget(listui);
    setLayout(vbox);

  2. #2
    Nokia Developer Champion
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Please let me know its an functionality behaviour or not

    Do the setFocus last.

  3. #3
    Registered User
    Join Date
    Apr 2009
    Posts
    47

    Re: Please let me know its an functionality behaviour or not

    ya, by default i am setting the focus to zeroth item.
    i'm using Qt 4.6.2, does this issue is fixed in 4.6.3.
    have you ever implemented list view for non touch phones? if so please tell..

    Thanks lot

Similar Threads

  1. CCntFilter functionality
    By truf in forum Series 40 & S60 Platform Feedback Archive
    Replies: 2
    Last Post: 2008-05-24, 08:53
  2. Mute Functionality
    By ruchirvasavada in forum Audio
    Replies: 2
    Last Post: 2007-08-27, 16:50
  3. Camera functionality
    By ngilsenan in forum Python
    Replies: 2
    Last Post: 2005-01-21, 15:48
  4. Calendar functionality
    By devicelinxc in forum Mobile Java General
    Replies: 0
    Last Post: 2003-08-20, 01:39
  5. GPS functionality
    By sticky1 in forum Symbian C++
    Replies: 1
    Last Post: 2001-12-03, 20:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •