|
enum | Options { NONE = 0,
READ = 1 << 1,
WRITE = 1 << 2,
FILE_MUST_EXIST = 1 << 3
} |
|
enum | Types { SINGLE_FILE,
FOLDER,
MULTI_FILES
} |
|
typedef std::string | FactoryRegistryKeyType |
|
typedef ::fwGui::factory::Key | Key |
|
|
virtual bool | isA (const std::string &type) const override |
|
virtual FWGUI_API void | setTitle (const std::string &title) |
| set the title for the dialog
|
|
virtual FWGUI_API const std::string & | getTitle () |
| returns the title for the dialog
|
|
virtual FWGUI_API void | setDefaultLocation (::fwData::location::ILocation::sptr loc) |
| set the initial location for the dialog
|
|
virtual FWGUI_APIconst::boost::filesystem::path | getDefaultLocation () |
| get the default location for the dialog (from preferences or specified by user)
|
|
virtual FWGUI_API void | saveDefaultLocation (::fwData::location::ILocation::sptr loc) |
| save the specified default location for the dialog in preferences (if available)
|
|
virtual FWGUI_API void | setType (Types type)=0 |
| set the type of location for the dialog (SINGLE_FILE, FORLDER, MULTI_FILES)
|
|
virtual FWGUI_API ILocationDialog & | setOption (Options option)=0 |
| allow to set option to the file dialog mode=READ/WRITE , check=FILE_MUST_EXIST
|
|
virtual FWGUI_API void | addFilter (const std::string &filterName, const std::string &wildcardList)=0 |
| specify some filtering when browsing files: More...
|
|
virtual FWGUI_API::fwData::location::ILocation::sptr | show ()=0 |
|
virtual FWGUI_API std::string | getCurrentSelection () const =0 |
| Gets the current extension file selection.
|
|
virtual const std::string & | getLeafClassname () const |
| return object's classname without its namespace, i.e. BaseObject
|
|
|
static bool | isTypeOf (const std::string &type) |
|
static bool | isTypeOf (const std::string &type) |
|
static const std::string & | classname () |
| return full object's classname with its namespace, i.e. fwCore::BaseObject
|
|
static bool | isTypeOf (const std::string &type) |
|
static const std::string & | leafClassname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
static const std::string & | classname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
|
static FWGUI_API const FactoryRegistryKeyType | REGISTRY_KEY = "::fwGui::dialog::LocationDialog" |
| this unique key should be used for all factory for specific LocationDialog(qt,wx,...)
|
|
static FWGUI_API const std::string | SOFTWARE_UI = "SOFTWARE_UI" |
|
static FWGUI_API const std::string | DLG_DEFAULT_LOCATION = "DLG_DEFAULT_LOCATION" |
|
|
FWGUI_API void | readConfig () |
|
FWGUI_API void | writeConfig () |
|
FWGUI_API::fwData::Composite::sptr | getPreferenceUI () |
|
| GuiBaseObject () |
|
virtual | ~GuiBaseObject () |
|
Definition at line 31 of file ILocationDialog.hpp.
virtual FWGUI_API void fwGui::dialog::ILocationDialog::addFilter |
( |
const std::string & |
filterName, |
|
|
const std::string & |
wildcardList |
|
) |
| |
|
pure virtual |
specify some filtering when browsing files:
- Parameters
-
[in] | filterName | a string that will be displayed as filter name |
[in] | wildcardList | a string of extension (glob syntax) separated by spaces example : addFilter("images","*.png *.jpg") |
Implemented in fwGui::dialog::LocationDialog, and fwGuiQt::dialog::LocationDialog.
virtual FWGUI_API ::fwData::location::ILocation::sptr fwGui::dialog::ILocationDialog::show |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: