7 #ifndef __FWGUIQT_DIALOG_LOCATIONDIALOG_HPP__ 8 #define __FWGUIQT_DIALOG_LOCATIONDIALOG_HPP__ 10 #include "fwGuiQt/config.hpp" 12 #include <fwCore/base.hpp> 14 #include <fwGui/dialog/ILocationDialog.hpp> 36 ::fwGui::factory::New< LocationDialog > );
40 FWGUIQT_API ::fwData::location::ILocation::sptr show()
override;
42 FWGUIQT_API
void setType( ::fwGui::dialog::ILocationDialog::Types type )
override;
44 FWGUIQT_API ::fwGui::dialog::ILocationDialog& setOption( ::fwGui::dialog::ILocationDialog::Options option)
override;
47 FWGUIQT_API
void addFilter(
const std::string& filterName,
const std::string& wildcardList )
override;
51 ::fwGui::dialog::ILocationDialog::Options m_style;
52 ::fwGui::dialog::ILocationDialog::Types m_type;
53 std::vector< std::pair< std::string, std::string > > m_filters;
56 QString fileFilters();
58 FWGUIQT_API std::string getCurrentSelection()
const override;
60 std::string m_wildcard;
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Defines the generic file/folder dialog for IHM.
The namespace fwGuiQt contains classes which provide the implementation of the Gui using Qt library...
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.