RetroArch
filedropwidget.h
Go to the documentation of this file.
1 #ifndef FILEDROPWIDGET_H
2 #define FILEDROPWIDGET_H
3 
4 #include <QWidget>
5 
6 class QDragEnterEvent;
7 class QDropEvent;
8 class QKeyEvent;
9 class QPaintEvent;
10 
11 class FileDropWidget : public QWidget
12 {
13  Q_OBJECT
14 public:
15  FileDropWidget(QWidget *parent = 0);
16 signals:
17  void filesDropped(QStringList files);
18  void deletePressed();
19 protected:
20  void dragEnterEvent(QDragEnterEvent *event);
21  void dropEvent(QDropEvent *event);
22  void keyPressEvent(QKeyEvent *event);
23  void paintEvent(QPaintEvent *event);
24 };
25 
26 #endif
void deletePressed()
Definition: filedropwidget.h:11
void paintEvent(QPaintEvent *event)
Definition: filedropwidget.cpp:29
FileDropWidget(QWidget *parent=0)
Definition: filedropwidget.cpp:23
void dropEvent(QDropEvent *event)
Definition: filedropwidget.cpp:61
void dragEnterEvent(QDragEnterEvent *event)
Definition: filedropwidget.cpp:53
void filesDropped(QStringList files)
struct _cl_event * event
Definition: glext.h:8406
void keyPressEvent(QKeyEvent *event)
Definition: filedropwidget.cpp:42