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"
14 #include "cxLogicManager.h"
15 
16 namespace cx
17 {
18 
19 
21  BaseWidget(parent, "plugin_framework_widget", "Plugin Framework"),
22  mVerticalLayout(new QVBoxLayout(this))
23 {
24  this->setToolTip("View available plugins");
26  mVerticalLayout->addWidget(new ctkPluginBrowser(pluginFramework));
27 }
28 
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