×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Feb 2010
    Posts
    18

    Looking for a widget like QListWidget, but somehow different...

    Hey there,
    i am looking for a widget like QListWidget which is capable of displaying some more lines of text per item, as seen in the "choose drive" dialog of Symbians File Manager. It shows an icon and how much free space is available. Another example is the "search places" dialog of ovi maps.
    Does anybody know how to do this?

    Greetings,
    Lena

  2. #2
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Looking for a widget like QListWidget, but somehow different...

    You can do it using QListWidget with QStyledItemDelegate.

  3. #3
    Registered User
    Join Date
    Feb 2010
    Posts
    18

    Re: Looking for a widget like QListWidget, but somehow different...

    Thanks, i will try it.

  4. #4
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Looking for a widget like QListWidget, but somehow different...


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

    Re: Looking for a widget like QListWidget, but somehow different...

    I've done it by creating a custom widget with the layout I want and then installing that as a QListWidget item.

  6. #6
    Registered User
    Join Date
    Feb 2010
    Posts
    18

    Re: Looking for a widget like QListWidget, but somehow different...

    Okay, i'm stuck at a real low level problem: My QListWidget does not accept keyboard input. I'd like to use the joystick of the mobile phone to select the items, but it does not work (EDIT: Selecting items via mouse in the emulator works). Does anybody know what I might have forgotten?

    Thank you,
    Lena
    Last edited by lenalebt; 2010-06-10 at 17:31.

  7. #7
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Looking for a widget like QListWidget, but somehow different...

    There are some issues with keyboard input on Symbian platform in Qt 4.6.2 and it was reported today that they are resolved in Qt 4.6.3..

  8. #8
    Registered User
    Join Date
    Feb 2010
    Posts
    18

    Re: Looking for a widget like QListWidget, but somehow different...

    Okay, thank you! I now noticed that it accepts input as long as I first press the middle button of the joystick. I didn't try this, and I don't like it that way, but I think I can live with it for some time. Sometimes problems have really easy solutions .

    Lena

  9. #9
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Looking for a widget like QListWidget, but somehow different...


Similar Threads

  1. QListWidget with checkbox
    By damodharan in forum Qt
    Replies: 13
    Last Post: 2010-05-31, 14:54
  2. Qlistwidget with QSql
    By damodharan in forum Qt
    Replies: 5
    Last Post: 2010-05-29, 11:32
  3. QListWidget with CheckBox
    By damodharan in forum Qt
    Replies: 3
    Last Post: 2010-04-25, 09:47

Posting Permissions

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