+ int width = 0;
+ QVariantList wrapList = data(ChatLineModel::WrapListRole).toList();
+ for(int i = 2; i < wrapList.count(); i+=2) {
+ QRect r(wrapList[i-1].toUInt(), 0, wrapList[i+1].toUInt() - wrapList[i-1].toUInt(), _lineHeight);
+ painter->drawRect(r);
+ }