Just have a look at a sibling post of yours I have been answering today:
http://www.qtcentre.org/threads/4036...lating-a-Table
HIH
Johannes
Just have a look at a sibling post of yours I have been answering today:
http://www.qtcentre.org/threads/4036...lating-a-Table
HIH
Johannes
Archa4 (6th April 2011)
Thanks again!
Just read that one, but i choose:
Qt Code:
item->setFlags(Qt::ItemIsSelectable|Qt::ItemIsEnabled);To copy to clipboard, switch view to plain text mode
Could i get in trouble using that?
No, I don't think that will get you in any trouble. It just seems rather 'unstraightforward' to positively specify flags, where what your code really wants to achieve is disable a specific one. In terms of code readability..
Joh
Bookmarks