| 703 | } |
| 704 | |
| 705 | QPainterPath UBGraphicsCompass::shape() const |
| 706 | { |
| 707 | QPainterPath path = needleShape(); |
| 708 | path = path.united(needleBaseShape()); |
| 709 | path = path.united(needleArmShape()); |
| 710 | path.addRect(hingeRect()); |
| 711 | path = path.united(pencilArmShape()); |
| 712 | path = path.united(pencilBaseShape()); |
| 713 | path = path.united(pencilShape()); |
| 714 | return path; |
| 715 | } |
| 716 | |
| 717 | QPainterPath UBGraphicsCompass::needleShape() const |
| 718 | { |