CustusX
22.04-rc5
An IGT application
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
cxExampleGUIExtenderService.cpp
Go to the documentation of this file.
1
/*=========================================================================
2
This file is part of CustusX, an Image Guided Therapy Application.
3
4
Copyright (c) SINTEF Department of Medical Technology.
5
All rights reserved.
6
7
CustusX is released under a BSD 3-Clause license.
8
9
See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10
=========================================================================*/
11
12
#include "
cxExampleGUIExtenderService.h
"
13
#include "ctkPluginContext.h"
14
#include "
cxExampleWidget.h
"
15
16
namespace
cx
17
{
18
19
ExampleGUIExtenderService::ExampleGUIExtenderService
(ctkPluginContext *context) :
20
mContext(context)
21
{
22
}
23
24
std::vector<GUIExtenderService::CategorizedWidget>
ExampleGUIExtenderService::createWidgets
()
const
25
{
26
std::vector<CategorizedWidget> retval;
27
28
retval.push_back(
GUIExtenderService::CategorizedWidget
(
29
new
ExampleWidget
(),
30
"Utility"
));
31
32
return
retval;
33
}
34
35
36
}
/* namespace cx */
cx::ExampleGUIExtenderService::createWidgets
std::vector< CategorizedWidget > createWidgets() const
Definition:
cxExampleGUIExtenderService.cpp:24
cxExampleWidget.h
cxExampleGUIExtenderService.h
cx::ExampleWidget
Definition:
cxExampleWidget.h:29
cx::GUIExtenderService::CategorizedWidget
Definition:
cxGUIExtenderService.h:44
cx::ExampleGUIExtenderService::ExampleGUIExtenderService
ExampleGUIExtenderService(ctkPluginContext *context)
Definition:
cxExampleGUIExtenderService.cpp:19
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
CX
source
plugins
org.custusx.example
cxExampleGUIExtenderService.cpp
Generated on Thu Jun 16 2022 21:30:01 for CustusX by
1.8.11