Results 1 to 3 of 3

Thread: QTableWidgetItem flags

  1. #1
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default QTableWidgetItem flags

    Hi,

    How to set multiple flags for the table widget item?

    mukunda

  2. #2
    Join Date
    Mar 2011
    Location
    Hyderabad, India
    Posts
    1,882
    Thanks
    3
    Thanked 452 Times in 435 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows
    Wiki edits
    15

    Default Re: QTableWidgetItem flags

    Qt Code:
    1. setFlags(Qt::ItemIsSelectable | Qt::ItemIsEditable)
    To copy to clipboard, switch view to plain text mode 

  3. #3
    Join Date
    Jan 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QTableWidgetItem flags

    Thanks for the solution

Similar Threads

  1. Does QDataWidgetMapper use flags?
    By Netwiz in forum Qt Programming
    Replies: 1
    Last Post: 29th October 2021, 00:56
  2. remove flags?
    By konvex in forum Qt Programming
    Replies: 5
    Last Post: 18th March 2015, 02:26
  3. Compile flags in QT
    By Frej in forum Qt Programming
    Replies: 2
    Last Post: 2nd February 2010, 09:43
  4. Is flags a typdef?
    By chuckle in forum Qt Programming
    Replies: 1
    Last Post: 13th September 2007, 22:26
  5. Flags not doing the work
    By chaosgeorge in forum Qt Programming
    Replies: 1
    Last Post: 23rd November 2006, 23:35

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.