Results 1 to 2 of 2

Thread: How to remove a delegate from particular column

  1. #1
    Join Date
    Nov 2013
    Posts
    12
    Thanks
    1
    Qt products
    Qt5
    Platforms
    Windows

    Default How to remove a delegate from particular column

    How to remove the delegate and add a new, when there is the change in the selection.


    Thanks ...

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to remove a delegate from particular column

    Delegate on what? What selection? What is the requirement driving delegate replacement like this?

    You change the delegate by setting a new one. The old one will be destroyed if is a combo box and not if it was an item view.

Similar Threads

  1. Remove column from QGridLayout
    By enricong in forum Qt Programming
    Replies: 9
    Last Post: 20th August 2016, 11:37
  2. Replies: 3
    Last Post: 9th October 2012, 02:12
  3. Replies: 5
    Last Post: 10th October 2011, 13:26
  4. QSqlTableModel remove column by name
    By qlands in forum Qt Programming
    Replies: 2
    Last Post: 5th July 2011, 12:48
  5. No delegate for 1 column in QTreeView
    By mace in forum Qt Programming
    Replies: 1
    Last Post: 15th February 2007, 10:55

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.