×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Feb 2008
    Posts
    8

    Question Is there equivalent of CAknDoubleStyleListBox?

    Environment: QT for S60
    CAknDoubleStyleListBox is a two-line list box. One line in bigger font for title, one line in smaller font for note. Is there an equivalent or similar widget in QT? Thanks for any reply.

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Is there equivalent of CAknDoubleStyleListBox?

    AFAIK, In Qt, no class is available equivalent to CAknDoubleStyleListBox. You can make two-line list box by setting height in setSizeHint() method of QListWidgetItem and then add that QListWidgetItem to QListWidget. You can get basic idea from this article.
    http://wiki.forum.nokia.com/index.ph...Qt_for_Symbian

  3. #3
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: Is there equivalent of CAknDoubleStyleListBox?

    This is a serious deficiency in Qt. I've worked around it by inserting a widget into the item, with the widget further subdivided into two label widget. Ugly, but it works.

  4. #4
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: Is there equivalent of CAknDoubleStyleListBox?

    You could also use a TableWidget to emulate the look to some extent.
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

Similar Threads

  1. CAknDoubleStyleListBox with CAknSearchField?
    By tqchcm in forum Symbian User Interface
    Replies: 19
    Last Post: 2010-04-20, 03:24
  2. CAknDoubleStyleListBox issues!
    By amerzannouneh in forum Symbian User Interface
    Replies: 4
    Last Post: 2008-08-27, 21:24
  3. CAknDoubleStyleListBox query
    By kumar_sai123 in forum Symbian User Interface
    Replies: 1
    Last Post: 2008-03-25, 10:14
  4. CAknDoubleStyleListBox Direction
    By hojatvaheb in forum Symbian
    Replies: 2
    Last Post: 2007-10-06, 07:31
  5. CAknDoubleStyleListBox Problems
    By Osprey in forum Symbian User Interface
    Replies: 5
    Last Post: 2006-10-26, 13:06

Posting Permissions

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