X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fpreviewfiledialog.h;fp=src%2Fpreviewfiledialog.h;h=78a693b8acca3438a3f76e6181578bc86e376068;hb=c7d608c4fcdd370274964cc861b674c2fae69468;hp=0000000000000000000000000000000000000000;hpb=0bd89e9489fa52f92545a7e94c4a31e863a5f898;p=ttedit diff --git a/src/previewfiledialog.h b/src/previewfiledialog.h new file mode 100644 index 0000000..78a693b --- /dev/null +++ b/src/previewfiledialog.h @@ -0,0 +1,26 @@ +#ifndef __PREVIEWFILEDIALOG_H__ +#define __PREVIEWFILEDIALOG_H__ + +#include + +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__ +