Results 1 to 2 of 2

Thread: Costomize the Address Book Example.

  1. #1
    Join Date
    Feb 2010
    Posts
    16
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Costomize the Address Book Example.

    Hello
    i am now going over the Address Book Example .
    and i wonted to ask how can i change the items in the linst to be checkable with CheckBox on the left side?

    Couldn't find the information on the net.

    Thanks!

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Costomize the Address Book Example.

    You have to alter the model. You have to tell, that it has 3 instead of 2 columns and then give back a bool value for your first column (= left one). That it is displayed as a checkbox you might have to create your own delegate.

Similar Threads

  1. Replies: 4
    Last Post: 22nd September 2009, 10:36
  2. qt book
    By doss in forum Newbie
    Replies: 1
    Last Post: 8th April 2009, 10:24
  3. Wich book is better?
    By mickey in forum General Discussion
    Replies: 3
    Last Post: 10th April 2008, 18:13
  4. Good QT book?
    By Bobsinclare666 in forum Newbie
    Replies: 3
    Last Post: 20th January 2008, 19:29
  5. Choosing a qt4 book
    By asieriko in forum General Discussion
    Replies: 14
    Last Post: 7th October 2007, 15:31

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.