fw4spl
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
SDefaultToolBar.cpp
1
/* ***** BEGIN LICENSE BLOCK *****
2
* FW4SPL - Copyright (C) IRCAD, 2009-2018.
3
* Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4
* published by the Free Software Foundation.
5
* ****** END LICENSE BLOCK ****** */
6
7
#include "gui/aspect/SDefaultToolBar.hpp"
8
9
#include <fwServices/macros.hpp>
10
11
fwServicesRegisterMacro( ::
fwGui::IToolBarSrv
, ::
gui::aspect::SDefaultToolBar
);
12
13
namespace
gui
14
{
15
16
namespace
aspect
17
{
18
19
SDefaultToolBar::SDefaultToolBar
() noexcept
20
{
21
}
22
23
//-----------------------------------------------------------------------------
24
25
SDefaultToolBar::~SDefaultToolBar
() noexcept
26
{
27
}
28
29
//-----------------------------------------------------------------------------
30
31
void
SDefaultToolBar::starting
()
32
{
33
SLM_TRACE_FUNC
();
34
this->
create
();
35
}
36
37
//-----------------------------------------------------------------------------
38
39
void
SDefaultToolBar::stopping
()
40
{
41
SLM_TRACE_FUNC
();
42
this->
destroy
();
43
}
44
45
//-----------------------------------------------------------------------------
46
47
void
SDefaultToolBar::configuring
()
48
{
49
SLM_TRACE_FUNC
();
50
this->
initialize
();
51
}
52
53
//-----------------------------------------------------------------------------
54
55
void
SDefaultToolBar::updating
()
56
{
57
SLM_TRACE_FUNC
();
58
}
59
60
//-----------------------------------------------------------------------------
61
62
void
SDefaultToolBar::info
( std::ostream& _sstream )
63
{
64
SLM_TRACE_FUNC
();
65
}
66
67
}
68
69
}
fwGui::IToolBarSrv
Defines the service interface managing the toolBar.
Definition:
IToolBarSrv.hpp:22
gui::aspect::SDefaultToolBar::~SDefaultToolBar
virtual GUI_API ~SDefaultToolBar() noexcept
Destructor. Do nothing.
Definition:
SDefaultToolBar.cpp:25
SLM_TRACE_FUNC
#define SLM_TRACE_FUNC()
Trace contextual function signature.
Definition:
spyLog.hpp:329
gui
The namespace gui contains the basic services to build the application IHM.
Definition:
SBooleanSlotCaller.hpp:21
gui::aspect::SDefaultToolBar
Defines the default toolbar for standard application.
Definition:
SDefaultToolBar.hpp:24
fwGui::IToolBarSrv::create
FWGUI_API void create()
Create the layout and start the managed services.
Definition:
IToolBarSrv.cpp:78
gui::aspect::SDefaultToolBar::SDefaultToolBar
GUI_API SDefaultToolBar() noexcept
Constructor. Do nothing.
Definition:
SDefaultToolBar.cpp:19
gui::aspect::SDefaultToolBar::configuring
virtual GUI_API void configuring() override
Configuring method allows to create a toolBar with several actions.
Definition:
SDefaultToolBar.cpp:47
fwGui::IToolBarSrv::destroy
FWGUI_API void destroy()
Destroy the layout and stop the managed services.
Definition:
IToolBarSrv.cpp:98
gui::aspect::SDefaultToolBar::starting
virtual GUI_API void starting() override
This method create a new ToolBar in frame.
Definition:
SDefaultToolBar.cpp:31
fwGui::IToolBarSrv::initialize
FWGUI_API void initialize()
Initialize the layout and registry managers.
Definition:
IToolBarSrv.cpp:37
gui::aspect::SDefaultToolBar::updating
virtual GUI_API void updating() override
This method is used to update services. Do nothing.
Definition:
SDefaultToolBar.cpp:55
gui::aspect::SDefaultToolBar::stopping
virtual GUI_API void stopping() override
This method remove the tools situated in the ToolBar.
Definition:
SDefaultToolBar.cpp:39
gui::aspect::SDefaultToolBar::info
virtual GUI_API void info(std::ostream &_sstream) override
This method is used to give information about the service. Do nothing.
Definition:
SDefaultToolBar.cpp:62
Bundles
core
gui
src
gui
aspect
SDefaultToolBar.cpp
Generated on Wed Sep 5 2018 12:47:56 for fw4spl by
1.8.11