cherish
ListView.h
1 #ifndef PHOTOWIDGET_H
2 #define PHOTOWIDGET_H
3 
4 #include <QListView>
5 #include <QDragEnterEvent>
6 #include <QDragMoveEvent>
7 #include <QDropEvent>
8 
14 class PhotoWidget : public QListView
15 {
16 public:
18  PhotoWidget(QWidget* parent = 0);
19 
20 protected:
21  // drag and drop functionality between the PhotoWidget and GLWidget
22  void dragEnterEvent(QDragEnterEvent* event);
23  void dragMoveEvent(QDragMoveEvent* event);
24  void dropEvent(QDropEvent *event);
25 };
26 
27 #endif // PHOTOWIDGET_H
PhotoWidget(QWidget *parent=0)
Definition: ListView.cpp:14
Class that serves as a local image file browser and allows to view all the image file of a given dire...
Definition: ListView.h:14