| 1344 | } |
| 1345 | |
| 1346 | int RemoteViewWidget::verticalRulerWidth() const |
| 1347 | { |
| 1348 | return fontMetrics().horizontalAdvance(QString::number(m_frame.sceneRect().height())) + 24; // 2* tick length + some margin |
| 1349 | } |
| 1350 | |
| 1351 | int RemoteViewWidget::horizontalRulerHeight() const |
| 1352 | { |