]> Shamusworld >> Repos - virtualjaguar/blobdiff - src/gui/filepicker.h
Incremental improvements to the file picker, introduction of ImageDelegate
[virtualjaguar] / src / gui / filepicker.h
index 2978248521ba5ebe1e8318934983dee201e51210..543de0ebeba39c3a39039fd8c798275b3f4fd341 100644 (file)
@@ -3,20 +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);
+//             void PopulateList(void);
 
        private:
-               QListWidget * fileList;
+               QListWidget * fileList2;
                FileThread * fileThread;
+               QAbstractItemModel * model;
+               QListView * fileList;
 };