Results 1 to 2 of 2

Thread: Flags not doing the work

  1. #1
    Join Date
    Nov 2006
    Posts
    41
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Flags not doing the work

    Hi, i select all cells from a QTW and setFlags(Qt::ItemIsEnabled) then i select the column i want to be editable and i do setFlags(Qt::ItemIsSelectable | Qt::ItemIsEditable) but no luck any suggestions?
    thanks

  2. #2
    Join Date
    Nov 2006
    Posts
    41
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Flags not doing the work

    Oh i got it first i have to
    Qt::ItemIsEnabled | Qt::ItemIsSelectable
    then
    Qt::ItemIsEnabled | Qt::ItemIsEditable


Similar Threads

  1. Replies: 3
    Last Post: 26th September 2006, 13:16
  2. which ide/editor/database work best with qt4?
    By kkool84 in forum Installation and Deployment
    Replies: 17
    Last Post: 24th August 2006, 07:45
  3. Why can't I make dynamic_cast work properly?
    By pir in forum General Programming
    Replies: 13
    Last Post: 18th July 2006, 17:17
  4. Work offline and Archive web page in Konqueror
    By jamadagni in forum KDE Forum
    Replies: 0
    Last Post: 22nd February 2006, 10:18
  5. QTextEdit Justify align making work
    By dec0ding in forum Qt Programming
    Replies: 2
    Last Post: 13th January 2006, 13:02

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.