| 65 | } |
| 66 | |
| 67 | void Ruler::SetCursorPos(const QPoint cursorPos_) |
| 68 | { |
| 69 | cursorPos = cursorPos_; //this->mapFromGlobal(cursorPos_); |
| 70 | //cursorPos += QPoint(RulerBreadth, RulerBreadth); |
| 71 | update(); |
| 72 | } |
| 73 | |
| 74 | void Ruler::SetMouseTrack(const bool track) |
| 75 | { |