CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxTopTreeNode.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 #include "cxTopTreeNode.h"
12 
13 #include <QIcon>
14 
15 namespace cx
16 {
17 
18 
20  TreeNodeImpl(repo)
21 {
22 
23 }
24 
25 QString TopTreeNode::getUid() const
26 {
27  return "node::invisible_top";
28 }
29 
30 QString TopTreeNode::getName() const
31 {
32  return "";
33 }
34 
35 QString TopTreeNode::getType() const
36 {
37  return "top";
38 }
39 
41 {
42  return TreeNodePtr();
43 }
44 
46 {
47  return true;
48 }
49 
50 QIcon TopTreeNode::getIcon() const
51 {
52  return QIcon();
53 }
54 
55 
56 } // namespace cx
57 
boost::shared_ptr< TreeNode > TreeNodePtr
TopTreeNode(TreeRepositoryWeakPtr repo)
virtual QString getType() const
virtual bool isVisibleNode() const
boost::weak_ptr< class TreeRepository > TreeRepositoryWeakPtr
Definition: cxTreeNode.h:30
virtual QString getUid() const
virtual TreeNodePtr getParent() const
virtual QString getName() const
virtual QIcon getIcon() const
Namespace for all CustusX production code.