[Qt-interest] Disabled Row in QTableView

Andre Somers andre at familiesomers.nl
Fri Oct 30 15:53:11 CET 2009


Mathias Giza wrote:
> Hi,
>
> I've got a tableview with checkboxes. In there are some entries which
> forbid to check some other entries. So now my question is, if it is
> possible to disable a row visually in a qtableview? I'm happy about
> any tip how to achieve this.
>
> greetings,
>
>   

Sure there is. Check out QAbstractItemModel::flags()

André




More information about the Qt-interest-old mailing list