X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Ffilepicker.h;h=a8c588847614cd9896000747618f5a09f2b06b4b;hb=4beff2f35f649bb0befa58c8a89fdd702b3c9b4f;hp=a476a50c8817a619064ec9dedc43da5e4b370a61;hpb=8549cdb01f45764f69a6483285dc0771ea66c007;p=virtualjaguar diff --git a/src/gui/filepicker.h b/src/gui/filepicker.h index a476a50..a8c5888 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 *); + void UpdateSelection(const QModelIndex &, const QModelIndex &); + protected: // void PopulateList(void); private: - QListWidget * fileList; + QListWidget * fileList2; FileThread * fileThread; + FileListModel * model; + QListView * fileList; + QLabel * cartImage; + QLabel * title; + QLabel * data; };