#include <treenode.hpp>
Definition at line 57 of file treenode.hpp.
◆ ClassNode()
Definition at line 146 of file treenode.cpp.
147 :
151{
155}
dunedaq::conffwk::class_t ClassInfo
treenode(treenode *ParentNode=nullptr)
Including QT Headers.
std::string p_description
◆ ~ClassNode()
| dbe::ClassNode::~ClassNode |
( |
| ) |
|
◆ AddChild()
| void dbe::ClassNode::AddChild |
( |
treenode * | Child | ) |
|
|
overridevirtual |
Reimplemented from dbe::treenode.
Definition at line 178 of file treenode.cpp.
179{
182}
void updateData(bool addition)
virtual void AddChild(treenode *Child)
◆ get_tooltip()
| const QVariant & dbe::ClassNode::get_tooltip |
( |
| ) |
const |
|
inlinenodiscard |
◆ GetClassInfo()
◆ GetData()
| QVariant dbe::ClassNode::GetData |
( |
int | Column, |
|
|
int | role = Qt::DisplayRole ) const |
|
nodiscardvirtual |
Reimplemented from dbe::treenode.
Definition at line 190 of file treenode.cpp.
191{
192 switch ( role )
193 {
194
195 case Qt::DisplayRole:
196 return Data.value ( Column );
197
198 case Qt::ToolTipRole:
199
201
202 break;
203 case Qt::DecorationRole:
204
205 if ( Column == 0 )
206 {
207 return QIcon ( ":/Images/Folder.png" );
208 }
209 }
210
211 return QVariant();
212}
◆ RemoveChild()
| void dbe::ClassNode::RemoveChild |
( |
treenode * | Child | ) |
|
|
overridevirtual |
◆ updateData()
| void dbe::ClassNode::updateData |
( |
bool | addition | ) |
|
|
protected |
Definition at line 161 of file treenode.cpp.
161 {
163
165
167
169 {
171 }
172 else
173 {
175 }
176}
static void increase_total_objects(int const i)
void SetHasStructure(bool Structure)
void SetWasFetched(bool Fetched)
◆ ClassInfo
◆ m_tooltip
| QVariant dbe::ClassNode::m_tooltip |
|
private |
◆ numObjects
| unsigned int dbe::ClassNode::numObjects |
|
private |
The documentation for this class was generated from the following files:
- /github/workspace/dunedaq/sourcecode/dbe/include/dbe/treenode.hpp
- /github/workspace/dunedaq/sourcecode/dbe/src/structure/treenode.cpp