NorMIT-nav
2023.01.05-dev+develop.0da12
An IGT application
cxPluginFrameworkWidget.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 "
cxPluginBrowser.h
"
13
#include "
cxPluginFrameworkWidget.h
"
14
#include "
cxLogicManager.h
"
15
16
namespace
cx
17
{
18
19
20
PluginFrameworkWidget::PluginFrameworkWidget
(QWidget* parent) :
21
BaseWidget
(parent,
"plugin_framework_widget"
,
"Plugin Framework"
),
22
mVerticalLayout(new QVBoxLayout(this))
23
{
24
this->setToolTip(
"View available plugins"
);
25
PluginFrameworkManagerPtr
pluginFramework =
LogicManager::getInstance
()->
getPluginFramework
();
26
mVerticalLayout
->addWidget(
new
ctkPluginBrowser
(pluginFramework));
27
}
28
29
PluginFrameworkWidget::~PluginFrameworkWidget
()
30
{
31
}
32
33
}
/* namespace cx */
cx
Namespace for all CustusX production code.
Definition:
cx_dev_group_definitions.h:13
cx::ctkPluginBrowser
Definition:
cxPluginBrowser.h:58
cx::BaseWidget
Interface for QWidget which handles widgets uniformly for the system.
Definition:
cxBaseWidget.h:88
cx::PluginFrameworkWidget::mVerticalLayout
QVBoxLayout * mVerticalLayout
vertical layout is used
Definition:
cxPluginFrameworkWidget.h:38
cx::LogicManager::getPluginFramework
PluginFrameworkManagerPtr getPluginFramework()
Definition:
cxLogicManager.cpp:287
cx::PluginFrameworkWidget::~PluginFrameworkWidget
virtual ~PluginFrameworkWidget()
Definition:
cxPluginFrameworkWidget.cpp:29
cxPluginFrameworkWidget.h
cxLogicManager.h
cx::PluginFrameworkWidget::PluginFrameworkWidget
PluginFrameworkWidget(QWidget *parent)
Definition:
cxPluginFrameworkWidget.cpp:20
cx::LogicManager::getInstance
static LogicManager * getInstance()
Definition:
cxLogicManager.cpp:296
cxPluginBrowser.h
cx::PluginFrameworkManagerPtr
boost::shared_ptr< class PluginFrameworkManager > PluginFrameworkManagerPtr
Definition:
cxLogicManager.h:39
CX
source
gui
pluginFrameworkWidgets
cxPluginFrameworkWidget.cpp
Generated on Thu Jan 5 2023 03:15:50 for NorMIT-nav by
1.8.17