25 #ifndef __TERRALIB_QT_WIDGETS_INTERNAL_FILECHOOSER_H
26 #define __TERRALIB_QT_WIDGETS_INTERNAL_FILECHOOSER_H
33 #include <QModelIndex>
41 class QFileSystemModel;
79 FileChooser(QWidget* parent=0,
const ResourceType& type=FILE);
90 void setInitialPath(
const QString& path);
108 void setFilterPattern(
const QString& filter);
114 QString getSelectedResource()
const;
120 void setResourceType(
const ResourceType& type);
126 void setLabel(
const QString& label);
134 void resourceSelected(
const QString&);
141 void onChooseFileToolButtonClicked();
146 void onReturnPressed();
178 #endif //__TERRALIB_QT_WIDGETS_INTERNAL_FILECHOOSER_H