(fwPreferences): add getValue helper
Description
The method getPreferenceKey(...)
returns associated value saved in the preferences (if delimited with the character %
) or simply returns the variable. This helper is defined (copied/pasted) in:
- Sight
- ioDicomWeb::SQueryEditor
- ioDicomWeb::SSeriesPuller
- ioDicomWeb::SSeriesPusher
- ioDicomWeb::SSliceIndexDicomPullerEditor
- ioIGTL::helper::preferences
- videoVLC::SFrameStreamer
Proposal
- Refactor all these versions in the same place in
fwPreferences
. - Change the name of the method because it does not fully correspond to what it does.