exportoofiledialog.h
author insilmaril
Wed Sep 06 12:47:06 2006 +0000 (2006-09-06)
changeset 377 5391ab620c95
parent 357 64819498efbf
child 464 d42d12074ff4
permissions -rw-r--r--
1.8.55 New history window and showtextwindow
insilmaril@182
     1
#ifndef EXPORTOOFILEDIALOG
insilmaril@182
     2
#define EXPORTOOFILEDIALOG
insilmaril@182
     3
insilmaril@366
     4
#include <QFileDialog>
insilmaril@366
     5
#include <QStringList>
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@366
    15
	ExportOOFileDialog (QWidget * parent = 0, const  QString &caption=QString());
insilmaril@357
    16
	bool foundConfig();
insilmaril@182
    17
	QString selectedConfig();
insilmaril@182
    18
	QString selectedFile();
insilmaril@366
    19
	void show();
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@366
    26
	void addFilter(const QString &);
insilmaril@182
    27
	void scanExportConfigs(QDir );
insilmaril@182
    28
	QStringList configPaths;
insilmaril@182
    29
	QStringList filters;
insilmaril@182
    30
	QString lastFilter;
insilmaril@182
    31
	
insilmaril@182
    32
};
insilmaril@182
    33
#endif