]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/filepicker.h
Incremental improvements to the file picker, introduction of ImageDelegate
[virtualjaguar] / src / gui / filepicker.h
index ec02cba811a355f63350f9d37e9cd9257e5ea44f..543de0ebeba39c3a39039fd8c798275b3f4fd341 100644 (file)
@@ -3,3 +3,31 @@
 //
 
 #include <QtGui>
+#include "types.h"
+
+// Forward declarations
+class QListWidget;
+class FileThread;
+//class FileListModel;
+class QListView;
+
+class FilePickerWindow: public QWidget
+{
+       // Once we have signals/slots, we need this...
+       Q_OBJECT
+
+       public:
+               FilePickerWindow(QWidget * parent = 0);
+
+       public slots:
+               void AddFileToList(unsigned long index);
+
+       protected:
+//             void PopulateList(void);
+
+       private:
+               QListWidget * fileList2;
+               FileThread * fileThread;
+               QAbstractItemModel * model;
+               QListView * fileList;
+};