×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    142

    QListView vs Symbian^3 lists behavior difference

    Hi All,

    First, sorry for lot of questions in one post.

    I want to make QListView look and behave exactly like Symbian^3 native lists. I have few problems

    1. Symbian^3 native lists has seprators (hints) between listitems. How can we achive this with QListView? With CSS?
    2. Symbian^3 lists has no item selected(highlighted) by default. In QListView first item is selected by default.
    3. If user clicked on a item in Symbian^3 list, than it is highlighted, activated and highlighted, In QListView activated item stays highlighted.
    4. If I longpress on a item for context menu, in Symbian^3 item under finger is highlighted but in QListView previously selected item stays highlighted.
    5. QListView has no kinetic scrolling. Kinetic scrolling works with FlickCharm but it is not smooth. Any pointer to a better solutions?
    QsKineticScroller ?
    http://qt.gitorious.org/qt-labs/kineticscroller

    Any solutions or workarounds?

  2. #2
    Nokia Developer Champion
    Join Date
    Feb 2008
    Location
    Ahmedabad, Gujarat, India
    Posts
    3,852

    Re: QListView vs Symbian^3 lists behavior difference

    hello dahiya.vinod

    i can help you with some of you your questions:

    1. If you can make your custom list using Qt Models and Delegates (which are really wonderful), then you can do any thing like having separators between them, you just need to draw a line.
    2. I have not observed this phenomenon, in QListView i am using there is no item selected by default.
    4. You can make the long press work by using the Gesture Library or have a look at this http://kunalmaemo.blogspot.com/2010/...ess-event.html.
    5. Yes this is bad about QListView QsKineticScroller works good with that you can consider using that.

  3. #3
    Regular Contributor
    Join Date
    Dec 2010
    Posts
    142

    Re: QListView vs Symbian^3 lists behavior difference

    Hi thanks for reply.

    1. Yes i use custom models & delegates. But if i draw a line in delegate ,it will also be selected on selection highlighting. Which will looks really bad. I think it is a matter of QListView style, as separators should be drawn by QListView between items , not by item delegate.
    4. Context menu is now on right place, the bug was due to FlickCharm.
    5. I find QtScroller http://qt.gitorious.org/qt-labs/kineticscroller is the best solution. It is included in Qt 4.8 and is available as a lib for older releases.

    Any thoughts about third question.

  4. #4
    Nokia Developer Expert
    Join Date
    Feb 2008
    Posts
    183

    Re: QListView vs Symbian^3 lists behavior difference

    Which Qt release you are using? Qt 4.7.1?

    #1 - There is a bug open about it : http://bugreports.qt.nokia.com/browse/QTBUG-10054
    #3 - This sounds like a bug in the list drawing for QS60Style. It should perhaps remove the highlight after a small period of time, after item activation. Was this what you were after?
    If you agree, please create a new bug to http://bugreports.qt.nokia.com with a small test app that shows the incorrect behavior.

Similar Threads

  1. difference between symbian^3 and symbian series 60 5th
    By sinnclaus in forum General Development Questions
    Replies: 13
    Last Post: 2011-06-01, 12:22
  2. what's the difference between symbian^3 and symbian s3?
    By sinnclaus in forum General Development Questions
    Replies: 3
    Last Post: 2011-01-17, 11:17
  3. J2ME Vs. Windows Mobile Vs. Symbian
    By pdgaol in forum Mobile Java General
    Replies: 2
    Last Post: 2009-08-01, 15:11
  4. Replies: 0
    Last Post: 2005-02-02, 10:35
  5. CA-42 vs DKU-5 - difference?
    By sunwukong in forum General Development Questions
    Replies: 0
    Last Post: 2004-12-26, 01:35

Posting Permissions

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