| Revision: | 1092 |
| Committed: | Sat Dec 30 13:43:28 2017 UTC (7 years, 10 months ago) by s10k |
| Content type: | text/x-chdr |
| File size: | 438 byte(s) |
| Log Message: | moved files to s10k directory since now vago uses the same libs structures as my other projects (e.g. XmlTools) |
| # | Content |
|---|---|
| 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 |