85 Q_SLOT void fullUpdate(); |
85 Q_SLOT void fullUpdate(); |
86 Qt::KeyboardModifiers keyboardModifiers() const; |
86 Qt::KeyboardModifiers keyboardModifiers() const; |
87 const Model* model() const; |
87 const Model* model() const; |
88 QPoint const& mousePosition() const; |
88 QPoint const& mousePosition() const; |
89 QPointF const& mousePositionF() const; |
89 QPointF const& mousePositionF() const; |
90 QPersistentModelIndex objectAtCursor() const; |
90 const Uuid& objectAtCursor() const; |
91 QItemSelection pick(const QRect& range); |
91 QItemSelection pick(const QRect& range); |
92 QModelIndex pick(int mouseX, int mouseY); |
92 QModelIndex pick(int mouseX, int mouseY); |
93 void resetAllAngles(); |
93 void resetAllAngles(); |
94 void resetAngles(); |
94 void resetAngles(); |
95 QImage screenCapture(); |
95 QImage screenCapture(); |
131 } |
131 } |
132 |
132 |
133 private: |
133 private: |
134 const Model* const m_model; |
134 const Model* const m_model; |
135 gl::Compiler* m_compiler; |
135 gl::Compiler* m_compiler; |
136 QPersistentModelIndex m_objectAtCursor; |
136 Uuid m_objectAtCursor; |
137 gl::CameraIcon m_cameraIcons[7]; |
137 gl::CameraIcon m_cameraIcons[7]; |
138 QTimer* m_toolTipTimer; |
138 QTimer* m_toolTipTimer; |
139 Qt::MouseButtons m_lastButtons; |
139 Qt::MouseButtons m_lastButtons; |
140 Qt::KeyboardModifiers m_currentKeyboardModifiers; |
140 Qt::KeyboardModifiers m_currentKeyboardModifiers; |
141 QQuaternion m_rotation; |
141 QQuaternion m_rotation; |