You have to use QStyledItemDelegate subclass and reimplement paint() function to establish a new behavior for QStyle::State_Selected option. Look at StarDelegate example closely.
You have to use QStyledItemDelegate subclass and reimplement paint() function to establish a new behavior for QStyle::State_Selected option. Look at StarDelegate example closely.
I see but this example use QTableView...unifortunatly i've to use QTablewidget....
Is there any example with Qtablewidget ?
Thanks
Gabriele
Bookmarks