Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
drag_label.h
Go to the documentation of this file.
1
10#ifndef UI_QT_WIDGETS_DRAG_LABEL_H_
11#define UI_QT_WIDGETS_DRAG_LABEL_H_
12
13#include <QLabel>
14#include <QDrag>
15#include <QMimeData>
16#include <QMouseEvent>
17
21class DragLabel: public QLabel
22{
23 Q_OBJECT
24
25public:
31 explicit DragLabel(QString text, QWidget * parent = 0);
32
36 virtual ~DragLabel();
37};
38
39#endif /* UI_QT_WIDGETS_DRAG_LABEL_H_ */
A specialized label widget designed to support drag-and-drop operations.
Definition drag_label.h:22
virtual ~DragLabel()
Destroys the DragLabel.
Definition drag_label.cpp:26