- QPainter painter(this);
-
- if(rect().isValid() && rect().height() > minimumSizeHint().height()) {
- for(int i = 0; i < 2; i++) {
- QPoint topLeft = rect().topLeft() + QPoint(3 + i*2, 5);
- QPoint bottomRight = rect().topLeft() + QPoint(3 + i*2, rect().height() - 5);
- qDrawShadeLine(&painter, topLeft, bottomRight, palette());
- }
- }