Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
drag_label.h
1 /* drag_label.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9 
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 
18 class DragLabel: public QLabel
19 {
20  Q_OBJECT
21 
22 public:
23  explicit DragLabel(QString text, QWidget * parent = 0);
24  virtual ~DragLabel();
25 };
26 
27 #endif /* UI_QT_WIDGETS_DRAG_LABEL_H_ */
28 
29 /*
30  * Editor modelines
31  *
32  * Local Variables:
33  * c-basic-offset: 4
34  * tab-width: 8
35  * indent-tabs-mode: nil
36  * End:
37  *
38  * ex: set shiftwidth=4 tabstop=8 expandtab:
39  * :indentSize=4:tabSize=8:noTabs=true:
40  */
Definition: drag_label.h:18