7 #ifndef __FWGUI_DIALOG_ILOCATIONDIALOG_HPP__ 8 #define __FWGUI_DIALOG_ILOCATIONDIALOG_HPP__ 10 #include <boost/filesystem.hpp> 14 #include <fwData/location/ILocation.hpp> 15 #include <fwData/Composite.hpp> 17 #include "fwGui/GuiBaseObject.hpp" 18 #include "fwGui/config.hpp" 43 FILE_MUST_EXIST = 1 << 3,
53 typedef std::string FactoryRegistryKeyType;
58 FWGUI_API
static const std::string SOFTWARE_UI;
59 FWGUI_API
static const std::string DLG_DEFAULT_LOCATION;
66 FWGUI_API
virtual void setTitle(
const std::string& title);
69 FWGUI_API
virtual const std::string& getTitle();
72 FWGUI_API
virtual void setDefaultLocation( ::fwData::location::ILocation::sptr loc);
75 FWGUI_API
virtual const ::boost::filesystem::path getDefaultLocation();
78 FWGUI_API
virtual void saveDefaultLocation(::fwData::location::ILocation::sptr loc);
81 FWGUI_API
virtual void setType( Types type ) = 0;
92 FWGUI_API
virtual void addFilter(
const std::string &filterName,
const std::string &wildcardList ) = 0;
98 FWGUI_API virtual ::fwData::location::ILocation::sptr show() = 0;
101 FWGUI_API
virtual std::string getCurrentSelection()
const = 0;
105 FWGUI_API
void readConfig();
107 FWGUI_API
void writeConfig();
109 FWGUI_API ::fwData::Composite::sptr getPreferenceUI();
114 ::fwData::location::ILocation::sptr m_defaultLocaction;
#define fwCoreNonInstanciableClassDefinitionsMacro(_classinfo_)
Generate common code for Non Instanciable classes (Interfaces, Abstract classes, ...)
The namespace fwGui contains the base interface for IHM services.
static FWGUI_API const FactoryRegistryKeyType REGISTRY_KEY
this unique key should be used for all factory for specific LocationDialog(qt,wx,...)
Base class for all fwGui's classes.