X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Ffilepicker.h;h=5ffafded0f254d24eeab2c2d107d0f91fc205d6c;hb=481bb094f715443e52695fc46307785e61556c0d;hp=16edee964c614c6b6348c09879dc54821e35123e;hpb=b79e71ad6d2f71a2c1ccacb3d37ff02be60f2538;p=virtualjaguar diff --git a/src/gui/filepicker.h b/src/gui/filepicker.h index 16edee9..5ffafde 100644 --- a/src/gui/filepicker.h +++ b/src/gui/filepicker.h @@ -18,16 +18,23 @@ class FilePickerWindow: public QWidget public: FilePickerWindow(QWidget * parent = 0); + QString GetSelectedPrettyName(void); public slots: void AddFileToList(unsigned long index); 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; + QString prettyFilename; QListWidget * fileList2; FileThread * fileThread; FileListModel * model; @@ -35,4 +42,5 @@ class FilePickerWindow: public QWidget QLabel * cartImage; QLabel * title; QLabel * data; + QPushButton * insertCart; };