src/gldraw.h

changeset 230
43d722c255d3
parent 223
4f95d7f2e9ef
child 240
bdc9d429cdc2
equal deleted inserted replaced
229:b9e101b76eb3 230:43d722c255d3
81 void keyReleaseEvent (QKeyEvent* ev); 81 void keyReleaseEvent (QKeyEvent* ev);
82 void leaveEvent (QEvent* ev); 82 void leaveEvent (QEvent* ev);
83 void mousePressEvent (QMouseEvent* ev); 83 void mousePressEvent (QMouseEvent* ev);
84 void mouseMoveEvent (QMouseEvent* ev); 84 void mouseMoveEvent (QMouseEvent* ev);
85 void mouseReleaseEvent (QMouseEvent* ev); 85 void mouseReleaseEvent (QMouseEvent* ev);
86 void paintEvent (QPaintEvent* ev);
87 void resizeGL (int w, int h); 86 void resizeGL (int w, int h);
88 void wheelEvent (QWheelEvent* ev); 87 void wheelEvent (QWheelEvent* ev);
88
89 #ifndef NO_OVERPAINTING
90 void paintEvent (QPaintEvent* ev);
91 #else
92 void paintGL ();
93 #endif // NO_OVERPAINTING
89 94
90 private: 95 private:
91 QTimer* m_toolTipTimer; 96 QTimer* m_toolTipTimer;
92 Qt::MouseButtons m_lastButtons; 97 Qt::MouseButtons m_lastButtons;
93 Qt::KeyboardModifiers m_keymods; 98 Qt::KeyboardModifiers m_keymods;
116 void pick (uint mouseX, uint mouseY); // Perform object selection 121 void pick (uint mouseX, uint mouseY); // Perform object selection
117 void setObjectColor (LDObject* obj, const ListType list); // Set the color to an object list 122 void setObjectColor (LDObject* obj, const ListType list); // Set the color to an object list
118 123
119 private slots: 124 private slots:
120 void slot_toolTipTimer (); 125 void slot_toolTipTimer ();
126 void initGLData();
121 }; 127 };
122 128
123 // Alias for short namespaces 129 // Alias for short namespaces
124 typedef GLRenderer GL; 130 typedef GLRenderer GL;
125 131

mercurial