Results 1 to 2 of 2

Thread: QTreeView- editable cells

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2012
    Posts
    25
    Thanks
    10

    Default QTreeView- editable cells

    Hi,
    I've made program using QTreeView, but data in all cells can be edited by user after doubleclick. How can I disable this utility- I don't want any changes of data made by user. I haven't found anything in documentation. Thanks a lot.

  2. #2
    Join Date
    Sep 2008
    Location
    Bangalore
    Posts
    659
    Thanks
    116
    Thanked 42 Times in 41 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTreeView- editable cells

    check
    http://doc.qt.nokia.com/4.7-snapshot...treemodel.html
    no cells are allowed to edit ... but not in QTreeView ..
    Last edited by wagmare; 13th September 2012 at 12:22.
    "Behind every great fortune lies a crime" - Balzac

Similar Threads

  1. QTreeView editable DOM model
    By Wolf900 in forum Qt Programming
    Replies: 1
    Last Post: 8th November 2011, 16:55
  2. Replies: 3
    Last Post: 9th May 2011, 17:23
  3. Editable QTreeView with expandable cells
    By corrado in forum Qt Programming
    Replies: 0
    Last Post: 19th April 2010, 17:42
  4. Editable QTreeView
    By winston2020 in forum Qt Programming
    Replies: 1
    Last Post: 23rd January 2009, 13:18
  5. Editable cells in QTableView
    By TheRonin in forum Qt Programming
    Replies: 1
    Last Post: 29th November 2006, 17:39

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
  •  
Qt is a trademark of The Qt Company.