Guitar
DirectoryLineEdit.h
Go to the documentation of this file.
1 #ifndef DIRECTORYLINEEDIT_H
2 #define DIRECTORYLINEEDIT_H
3 
4 #include <QLineEdit>
5 #include <QWidget>
6 
7 class DirectoryLineEdit : public QLineEdit {
8  Q_OBJECT
9 public:
10  explicit DirectoryLineEdit(QWidget *parent = nullptr);
11 protected:
12  void dragEnterEvent(QDragEnterEvent *event) override;
13  void dropEvent(QDropEvent *event) override;
14 };
15 
16 #endif // DIRECTORYLINEEDIT_H
DirectoryLineEdit::dropEvent
void dropEvent(QDropEvent *event) override
Definition: DirectoryLineEdit.cpp:25
misc.h
DirectoryLineEdit::DirectoryLineEdit
DirectoryLineEdit(QWidget *parent=nullptr)
Definition: DirectoryLineEdit.cpp:9
misc::normalizePathSeparator
static QString normalizePathSeparator(QString const &str)
Definition: misc.cpp:266
DirectoryLineEdit::dragEnterEvent
void dragEnterEvent(QDragEnterEvent *event) override
Definition: DirectoryLineEdit.cpp:15
DirectoryLineEdit
Definition: DirectoryLineEdit.h:7
DirectoryLineEdit.h