#include <treenode.hpp>
Definition at line 89 of file treenode.hpp.
◆ AttributeNode()
Definition at line 279 of file treenode.cpp.
281 :
284{
285 Data.append ( QVariant ( QString::fromStdString ( AttributeData.
p_name ) ) );
286
288
289 QStringList DataList
291
292 for ( QString & ObjectData : DataList )
293 {
294 if ( !ObjectData.isEmpty() )
295 {
297 ChildNode->SetWasFetched ( true );
298 }
299 }
300
301 if ( DataList.size() > 0 && !DataList.at ( 0 ).isNull() )
302 {
304 }
305
307}
dunedaq::conffwk::attribute_t attribute_t_definition
static T list(dbe::inner::configobject::tref obj, dunedaq::conffwk::attribute_t const &attr)
treenode * GetParent() const
void SetHasStructure(bool Structure)
virtual tref GetObject() const
treenode(treenode *ParentNode=nullptr)
Including QT Headers.
void SetWasFetched(bool Fetched)
inner::configobject::tref tref
◆ ~AttributeNode()
| dbe::AttributeNode::~AttributeNode |
( |
| ) |
|
|
default |
◆ attribute_t()
◆ GetData()
| QVariant dbe::AttributeNode::GetData |
( |
const int | Column, |
|
|
int | role = Qt::DisplayRole ) const |
|
virtual |
Reimplemented from dbe::treenode.
Definition at line 311 of file treenode.cpp.
312{
313 switch ( role )
314 {
315
316 case Qt::DisplayRole:
317 return Data.value ( Column );
318
319 case Qt::DecorationRole:
320
321 if ( Column == 0 )
322 {
323 return QIcon ( ":/Images/SLink.png" );
324 }
325 }
326
327 return QVariant();
328}
◆ attribute_t_definition
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