X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Ffilepicker.h;h=3ab470b17f0a1235c25c9610f222ab29444fc319;hb=f45b4acc547ca85d9af9efa37d8caa68c20a42e6;hp=a8c588847614cd9896000747618f5a09f2b06b4b;hpb=4beff2f35f649bb0befa58c8a89fdd702b3c9b4f;p=virtualjaguar diff --git a/src/gui/filepicker.h b/src/gui/filepicker.h index a8c5888..3ab470b 100644 --- a/src/gui/filepicker.h +++ b/src/gui/filepicker.h @@ -21,13 +21,18 @@ class FilePickerWindow: public QWidget public slots: void AddFileToList(unsigned long index); - void AddFileToList2(unsigned long index, QString, QImage *); + void AddFileToList2(unsigned long index, QString, QImage *, unsigned long size); void UpdateSelection(const QModelIndex &, const QModelIndex &); + void LoadButtonPressed(void); + + signals: + void RequestLoad(QString); protected: // void PopulateList(void); private: + QString currentFile; QListWidget * fileList2; FileThread * fileThread; FileListModel * model; @@ -35,4 +40,5 @@ class FilePickerWindow: public QWidget QLabel * cartImage; QLabel * title; QLabel * data; + QPushButton * insertCart; };