CANdevStudio
Development tool for CAN bus simulation
Loading...
Searching...
No Matches
dragwidget.h
Go to the documentation of this file.
1#ifndef DRAGWIDGET_H
2#define DRAGWIDGET_H
3
4#include <QFrame>
5
6class QDragEnterEvent;
7class QDropEvent;
8
9class DragWidget : public QFrame
10{
11 Q_OBJECT
12
13public:
14 DragWidget(QWidget *parent = 0);
15
16protected:
17 void dragEnterEvent(QDragEnterEvent *event) override;
18 void mousePressEvent(QMouseEvent *event) override;
19};
20
21#endif // DRAGWIDGET_H
Definition dragwidget.h:10
void dragEnterEvent(QDragEnterEvent *event) override
Definition dragwidget.cpp:15
void mousePressEvent(QMouseEvent *event) override
Definition dragwidget.cpp:37