Results 1 to 3 of 3

Thread: qt4 replacement for QCheckListItem :: setRenameEnabled(int column, bool)

  1. #1
    Join Date
    Mar 2007
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default qt4 replacement for QCheckListItem :: setRenameEnabled(int column, bool)

    hello i'm trying to create a create a editable QTreeWidgetItem.
    It is suposed that when i click on the item it changes to a textBox and allows me to change the text in a specific column.
    I used to do that on Qt3 using the setRenameEnabled, but it doesn't exists anymore...
    does anyone knoes the substitute?!
    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Paris, France
    Posts
    227
    Thanks
    3
    Thanked 21 Times in 21 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qt4 replacement for QCheckListItem :: setRenameEnabled(int column, bool)

    I think you're looking for that :

    http://doc.trolltech.com/4.2/qtreewi...rsistentEditor

    Hope this helps!

    Guilugi.

  3. #3
    Join Date
    Mar 2007
    Posts
    8
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: qt4 replacement for QCheckListItem :: setRenameEnabled(int column, bool)

    it worked just fine! this functions is even better in qt4 than in qt3, where i needed triple click to enable text edit... Thanks!

Similar Threads

  1. Replies: 0
    Last Post: 10th November 2006, 13:46
  2. Thread Problem
    By qball2k5 in forum Qt Programming
    Replies: 2
    Last Post: 12th April 2006, 17:31
  3. hidden QListView column suddenly visible
    By edb in forum Qt Programming
    Replies: 10
    Last Post: 27th January 2006, 08:00

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.