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;
QListView * fileList;
+ QLabel * cartImage;
+ QLabel * title;
+ QLabel * data;
+ QPushButton * insertCart;
};