9 #include "uiPreferences/config.hpp" 11 #include <fwCom/Signals.hpp> 13 #include <fwGui/IActionSrv.hpp> 15 #include <fwTools/Failed.hpp> 100 UIPREFERENCES_API static const ::
fwCom::Signals::SignalKeyType s_PARAMETERS_MODIFIED_SIG;
105 virtual
void starting() override;
108 virtual
void stopping() override;
111 virtual
void updating() override;
114 virtual
void swapping() override;
117 virtual
void configuring() override;
120 virtual
void info(
std::ostream& _sstream ) override;
122 void onSelectDir(QPointer<QLineEdit> lineEdit);
126 enum class PreferenceType :
std::int8_t
138 PreferenceType m_type;
139 QPointer<QLineEdit> m_lineEdit;
140 QPointer<QCheckBox> m_checkBox;
141 QPointer<QComboBox> m_comboBox;
143 std::string m_preferenceKey;
145 std::string m_defaultValue;
148 ParametersModifiedSignalType::sptr m_sigParametersModified;
150 typedef std::vector<PreferenceElt> PreferenceEltType;
151 PreferenceEltType m_preferences;
This action shows a dialog to configure preferences of an application.
Namespace containing fw4spl communication tools.
Defines the service interface managing the menu items.
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Contains the representation of the data objects used in the framework.
The namespace uiPreferences contains editors to manage the preferences configuration.
This class contains an std::string value.