exportoofiledialog.h
author insilmaril
Wed Mar 21 11:51:38 2007 +0000 (2007-03-21)
changeset 438 eae9abe70d7c
parent 357 64819498efbf
child 464 d42d12074ff4
permissions -rw-r--r--
Slightly improved scripting abilities
     1 #ifndef EXPORTOOFILEDIALOG
     2 #define EXPORTOOFILEDIALOG
     3 
     4 #include <QFileDialog>
     5 #include <QStringList>
     6 
     7 #include "settings.h"
     8 
     9 class ExportOOFileDialog:public QFileDialog
    10 {
    11 	Q_OBJECT
    12 public:
    13 	ExportOOFileDialog();
    14 
    15 	ExportOOFileDialog (QWidget * parent = 0, const  QString &caption=QString());
    16 	bool foundConfig();
    17 	QString selectedConfig();
    18 	QString selectedFile();
    19 	void show();
    20 	 
    21 private slots:
    22 	void  newConfigPath (const QString&f);
    23 
    24 private:
    25 	void init();
    26 	void addFilter(const QString &);
    27 	void scanExportConfigs(QDir );
    28 	QStringList configPaths;
    29 	QStringList filters;
    30 	QString lastFilter;
    31 	
    32 };
    33 #endif