Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User TomiS's Avatar
    Join Date
    Apr 2007
    Posts
    8
    I've been banging my head against the wall for several days now with a question that probably has only one correct answer. What is the 'industry' way of making custom lists in Qt 4.6 (and up) for Maemo5?

    I've done some experimentations with QListWidget using setItemWidget(item,widget) for linking a very customized widget (extending QWidget) to the QListWidgetItem. But there are several problems with this solution. For example, I haven't been able to configure the list so that the item would increase height dynamically according to the content size. Instead, all the list items are forced to the same height without proper word wrapping or anything. So the results have been quite ugly.

    What I need is something very similar to the discussion thread of Maemo's pre-installed 'Conversations' tool. How would one implement that with Qt?

  2. #2
    Nokia Developer Moderator divanov's Avatar
    Join Date
    Oct 2009
    Posts
    4,326
    Conversations is using GtkTreeView. It basically has 3 columns image, message and timestamp. I believe you can achieve the same using QListWidget.

Similar Threads

  1. Problem with CustomItem in Form
    By arinu in forum Mobile Java General
    Replies: 30
    Last Post: 2008-11-17, 10:20

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