author | insilmaril |
Thu Jun 01 11:19:58 2006 +0000 (2006-06-01) | |
changeset 344 | 7bafe3db684c |
child 357 | 64819498efbf |
permissions | -rw-r--r-- |
insilmaril@182 | 1 |
#ifndef EXPORTOOFILEDIALOG |
insilmaril@182 | 2 |
#define EXPORTOOFILEDIALOG |
insilmaril@182 | 3 |
|
insilmaril@182 | 4 |
#include <qfiledialog.h> |
insilmaril@182 | 5 |
#include <qstringlist.h> |
insilmaril@182 | 6 |
|
insilmaril@182 | 7 |
#include "settings.h" |
insilmaril@182 | 8 |
|
insilmaril@182 | 9 |
class ExportOOFileDialog:public QFileDialog |
insilmaril@182 | 10 |
{ |
insilmaril@182 | 11 |
Q_OBJECT |
insilmaril@182 | 12 |
public: |
insilmaril@182 | 13 |
ExportOOFileDialog(); |
insilmaril@182 | 14 |
|
insilmaril@182 | 15 |
ExportOOFileDialog (QWidget * parent = 0, const char * name = 0, bool |
insilmaril@182 | 16 |
modal = false); |
insilmaril@182 | 17 |
QString selectedConfig(); |
insilmaril@182 | 18 |
QString selectedFile(); |
insilmaril@182 | 19 |
void addFilter(const QString &); |
insilmaril@182 | 20 |
|
insilmaril@182 | 21 |
private slots: |
insilmaril@182 | 22 |
void newConfigPath (const QString&f); |
insilmaril@182 | 23 |
|
insilmaril@182 | 24 |
private: |
insilmaril@182 | 25 |
void init(); |
insilmaril@182 | 26 |
void scanExportConfigs(QDir ); |
insilmaril@182 | 27 |
QStringList configPaths; |
insilmaril@182 | 28 |
QStringList filters; |
insilmaril@182 | 29 |
QString lastFilter; |
insilmaril@182 | 30 |
|
insilmaril@182 | 31 |
}; |
insilmaril@182 | 32 |
#endif |