31 class DragHandle :
public QLabel {
34 explicit DragHandle(QWidget* parent = NULL, Qt::WindowFlags f = 0);
35 virtual void mousePressEvent(QMouseEvent* ev);
36 virtual void mouseReleaseEvent(QMouseEvent* ev);
37 virtual void mouseMoveEvent(QMouseEvent* ev);
39 void setPanel(tlp::WorkspacePanel* panel);
42 tlp::WorkspacePanel* _panel;
44 QPoint _clickPosition;
48 #endif //_DRAGHANDLE_H