Updraft
1.0
Open source glider flight visualisation tool.
|
00001 #ifndef UPDRAFT_SRC_CORE_UI_FILEOPENDIALOG_H_ 00002 #define UPDRAFT_SRC_CORE_UI_FILEOPENDIALOG_H_ 00003 00004 #include <QFileDialog> 00005 #include <QStringList> 00006 #include <QStandardItemModel> 00007 00008 #include "../updraft.h" 00009 00010 namespace Updraft { 00011 namespace Core { 00012 00015 class FileOpenDialog : public QFileDialog { 00016 Q_OBJECT 00017 public: 00023 static QString openIt(const QString& caption, const QString& dir = QString()); 00024 00025 private: 00028 static QStringList getFilters(); 00029 }; 00030 00031 } // End namespace Core 00032 } // End namespace Updraft 00033 00034 #endif // UPDRAFT_SRC_CORE_UI_FILEOPENDIALOG_H_ 00035