+
+ // Debuging Stuff
+ // uncomment the following lines to draw the bounding rect and the row number in alternating colors
+// if(row() % 2)
+// painter->setPen(Qt::red);
+// else
+// painter->setPen(Qt::blue);
+// QString rowString = QString::number(row());
+// QRect rowRect = painter->fontMetrics().boundingRect(rowString);
+// QPointF topPoint = _boundingRect.topLeft();
+// topPoint.ry() += rowRect.height();
+// painter->drawText(topPoint, rowString);
+// QPointF bottomPoint = _boundingRect.bottomRight();
+// bottomPoint.rx() -= rowRect.width();
+// painter->drawText(bottomPoint, rowString);
+// painter->drawRect(_boundingRect.adjusted(0, 0, -1, -1));