7 #include "gui/action/SQuit.hpp" 9 #include <fwCore/base.hpp> 11 #include <fwGui/Application.hpp> 12 #include <fwGui/Cursor.hpp> 14 #include <fwServices/macros.hpp> 63 _sstream <<
"Quit Action" << std::endl;
72 ::fwGui::Application::New()->exit(0);
virtual FWGUI_API void setCursor(::fwGui::ICursor::CursorType cursor) override
Set the cursor.
FWGUI_API void actionServiceStarting()
Method called when the action service is starting.
This action tries to close the window and reset root object.
#define SLM_TRACE_FUNC()
Trace contextual function signature.
The namespace gui contains the basic services to build the application IHM.
FWGUI_API void actionServiceStopping()
Method called when the action service is stopping.
virtual GUI_API void info(std::ostream &_sstream) override
Write information in a stream.
Defines the service interface managing the menu items.
GUI_API void configuring() override
This method is used to configure the service parameters: specifies which services must be started or ...
FWGUI_API void initialize()
Initialize the action.
virtual GUI_API void starting() override
Initialize the service activity.
Defines the generic cursor for IHM. Use the Delegate design pattern.
virtual GUI_API void stopping() override
Uninitialize the service activity. The stop() method is always invoked before destroying a service...
GUI_API SQuit() noexcept
Constructor. Do nothing.
virtual GUI_API void updating() override
This method tries to close the window and reset root object.
virtual GUI_API ~SQuit() noexcept
Destructor. Do nothing.
virtual FWGUI_API void setDefaultCursor() override
Set the default cursor.