26 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_FILEDIALOG_H 27 #define __TERRALIB_QT_WIDGETS_INTERNAL_FILEDIALOG_H 30 #include "../Config.h" 34 #include <QFileDialog> 66 FileDialog(QWidget* parent, FileType type, std::string pathInfo =
"");
83 std::string getPath();
89 void setPath(std::string filePath);
95 std::string getFileName();
101 void setFileName(std::string filePath);
107 std::string getExtension();
113 void setExtension(std::string filePath);
119 std::map<QString, QString> getMappedExtensions(QString extensions);
125 bool hasInvalidCharacters(std::string filename);
141 #endif // __TERRALIB_QT_WIDGETS_INTERNAL_FILEDIALOG_H