source:
s10k/Vago/libs/DropLineEdit/droplineedit.h@
1171
Last change on this file since 1171 was 1061, checked in by , 8 years ago | |
---|---|
File size: 438 bytes |
Line | |
---|---|
1 | #ifndef DROPLINEEDIT_H |
2 | #define DROPLINEEDIT_H |
3 | |
4 | #include <QLineEdit> |
5 | #include <QtWidgets> |
6 | |
7 | class DropLineEdit : public QLineEdit { |
8 | |
9 | Q_OBJECT |
10 | |
11 | public: |
12 | DropLineEdit(QWidget *parent = 0); |
13 | |
14 | protected: |
15 | void dragEnterEvent(QDragEnterEvent *event); |
16 | void dragMoveEvent(QDragMoveEvent *event); |
17 | void dragLeaveEvent(QDragLeaveEvent *event); |
18 | void dropEvent(QDropEvent *event); |
19 | }; |
20 | |
21 | #endif // DROPLINEEDIT_H |
Note:
See TracBrowser
for help on using the repository browser.