--- /dev/null
+#ifndef __PREVIEWFILEDIALOG_H__
+#define __PREVIEWFILEDIALOG_H__
+
+#include <QFileDialog>
+
+class QLabel;
+
+class PreviewFileDialog: public QFileDialog
+{
+ Q_OBJECT
+
+ public:
+ PreviewFileDialog(QWidget * parent = 0,
+ const QString & caption = QString(),
+ const QString & directory = QString(),
+ const QString & filter = QString());
+
+ protected slots:
+ void HandleCurrentChanged(const QString & path);
+
+ protected:
+ QLabel * mpPreview;
+};
+
+#endif // __PREVIEWFILEDIALOG_H__
+