In the paint implementation :
void BoxDelegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
To copy to clipboard, switch view to plain text mode
using qdebug()<<option.state; i am able to "see" a QStyle::State_MouseOver State, but in the
bool BoxDelegate::editorEvent ( QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index )
To copy to clipboard, switch view to plain text mode
implementation, i dont.. why is this?
Bookmarks