9 #include "uiMeasurementQt/config.hpp" 11 #include <fwGui/editor/IEditor.hpp> 13 #include <fwTools/Failed.hpp> 17 #include <QPushButton> 44 class UIMEASUREMENTQT_CLASS_API
Distance :
public QObject,
53 UIMEASUREMENTQT_API
Distance() noexcept;
56 UIMEASUREMENTQT_API virtual ~
Distance() noexcept override;
62 UIMEASUREMENTQT_API static const ::
fwCom::Signals::SignalKeyType s_DISTANCE_REQUESTED_SIG;
69 typedef ::
fwRuntime::ConfigurationElement::sptr Configuration;
76 virtual
void starting() override;
83 virtual
void stopping() override;
86 virtual
void updating() override;
89 virtual
void configuring() override;
95 void onDistanceButton();
98 QPointer< QPushButton > m_distButton;
100 DistanceRequestedSignalType::sptr m_sigDistanceRequested;
Namespace containing fw4spl communication tools.
Defines the service interface managing the editor service for object.
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Distance service is represented by a button. It allows to show distances in a generic scene...