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);
 
  128         void resourceSelected(QString s);
 
  135         void onChooseFileToolButtonClicked();
 
  140         void onReturnPressed();
 
  172 #endif //__TERRALIB_QT_WIDGETS_INTERNAL_FILECHOOSER_H 
#define TEQTWIDGETSEXPORT
You can use this macro in order to export/import classes and functions from this module. 
 
Configuration flags for the TerraLib Qt Widgets. 
 
Defines a component for choose a file. 
 
QString m_filter
Files filter. 
 
QFileSystemModel * m_fp_model
Model to show full path. 
 
ResourceType
Type of resource required. 
 
Ui::FileChooser * m_ui
Qt ui pointer.