thanks.
i simply could not see that.
but now i seem to have another problem.
void MyDelegate::paint ( ..)
{
newOption.
rect.
translate(QPoint(40,
40));
}
void MyDelegate::paint ( ..)
{
QStyleOptionViewItem newOption( option );
newOption.rect.translate(QPoint(40,40));
QItemDelegate::paint(painter, newOption, index);
}
To copy to clipboard, switch view to plain text mode
when i select items the widget doesnt display the items correctly.
for example, if i select the 2nd item, the horizontal lower half of the first item is erased but the selected item is displayed ok.
but after i play around with selection the whole thing becomes a bigger mess.
what do you think ?
is delegate an option for modifying ListWidget items position ?
is this possible ?
thanks
Bookmarks