9 #include "uiMedDataQt/config.hpp" 10 #include "uiMedDataQt/widget/ActivityDataView.hpp" 12 #include <fwActivities/registry/Activities.hpp> 14 #include <fwCom/Signal.hpp> 15 #include <fwCom/Signals.hpp> 16 #include <fwCom/Slot.hpp> 17 #include <fwCom/Slots.hpp> 19 #include <fwData/Vector.hpp> 21 #include <fwGui/editor/IEditor.hpp> 23 #include <fwMedData/ActivitySeries.hpp> 24 #include <fwMedData/SeriesDB.hpp> 26 #include <fwRuntime/ConfigurationElement.hpp> 27 #include <fwRuntime/EConfigurationElement.hpp> 31 #include <QPushButton> 109 UIMEDDATAQT_API static const ::
fwCom::Slots::SlotKeyType s_CREATE_ACTIVITY_SLOT;
110 UIMEDDATAQT_API static const ::
fwCom::Slots::SlotKeyType s_UPDATE_ACTIVITY_SLOT;
111 UIMEDDATAQT_API static const ::
fwCom::Slots::SlotKeyType s_UPDATE_ACTIVITY_SERIES_SLOT;
118 UIMEDDATAQT_API static const ::
fwCom::Signals::SignalKeyType s_ACTIVITY_CREATED_SIG;
121 UIMEDDATAQT_API static const ::
fwCom::Signals::SignalKeyType s_ACTIVITY_UPDATED_SIG;
124 UIMEDDATAQT_API static const ::
fwCom::Signals::SignalKeyType s_CANCELED_SIG;
131 virtual
void starting() override;
134 virtual
void stopping() override;
137 virtual
void updating() override;
140 virtual
void configuring() override;
144 enum class Mode :
std::uint8_t
151 void createActivity(std::string activityID);
154 void updateActivity(::fwMedData::ActivitySeries::sptr activitySeries);
162 void updateActivitySeries(::fwMedData::Series::sptr series);
170 void onBuildActivity();
173 void onTabChanged(
int index);
181 ::fwMedData::ActivitySeries::sptr m_actSeries;
183 QPointer<widget::ActivityDataView> m_activityDataView;
184 QPointer<QPushButton> m_okButton;
185 QPointer<QPushButton> m_resetButton;
186 QPointer<QPushButton> m_cancelButton;
187 QPointer<QLabel> m_title;
188 QPointer<QLabel> m_description;
190 std::string m_ioSelectorConfig;
191 std::string m_sdbIoSelectorConfig;
193 widget::ActivityDataView::ObjectIconMapType m_objectIcons;
197 bool m_confirmUpdate;
200 ActivityCreatedSignalType::sptr m_sigActivityCreated;
201 ActivityCreatedSignalType::sptr m_sigActivityUpdated;
202 CanceledSignalType::sptr m_sigCanceled;
The namespace uiMedDataQt contains editors for medical data.
Namespace containing medical data.
Namespace containing fw4spl communication tools.
Defines the service interface managing the editor service for object.
This editor allows to select the data required by an activity in order to create the ActivitySeries...
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.