X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Ffilepicker.h;h=16edee964c614c6b6348c09879dc54821e35123e;hb=b79e71ad6d2f71a2c1ccacb3d37ff02be60f2538;hp=2978248521ba5ebe1e8318934983dee201e51210;hpb=b54bb3c04ba861123e44b7f25fbc859d78627379;p=virtualjaguar diff --git a/src/gui/filepicker.h b/src/gui/filepicker.h index 2978248..16edee9 100644 --- a/src/gui/filepicker.h +++ b/src/gui/filepicker.h @@ -3,20 +3,36 @@ // #include +#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); + void AddFileToList2(unsigned long index, QString, QImage *, unsigned long size); + void UpdateSelection(const QModelIndex &, const QModelIndex &); + protected: - void PopulateList(void); +// void PopulateList(void); private: - QListWidget * fileList; + QListWidget * fileList2; FileThread * fileThread; + FileListModel * model; + QListView * fileList; + QLabel * cartImage; + QLabel * title; + QLabel * data; };