| 688 |
688 |
| 689 // Draw a label for the current camera in the bottom left corner |
689 // Draw a label for the current camera in the bottom left corner |
| 690 { |
690 { |
| 691 const int margin = 4; |
691 const int margin = 4; |
| 692 painter.setPen (textPen()); |
692 painter.setPen (textPen()); |
| 693 painter.drawText (QPoint (margin, height() - (margin + metrics.descent())), currentCameraName()); |
693 painter.drawText (QPoint (margin, height() - margin - metrics.descent()), currentCameraName()); |
| |
694 |
| |
695 if (m_document) |
| |
696 { |
| |
697 painter.drawText(QPoint(margin, height() - margin - metrics.height() - metrics.descent()), |
| |
698 format("△ %1", m_document->triangleCount())); |
| |
699 } |
| 694 } |
700 } |
| 695 |
701 |
| 696 // Tool tips |
702 // Tool tips |
| 697 if (m_drawToolTip) |
703 if (m_drawToolTip) |
| 698 { |
704 { |