#include <treenode.hpp>
Definition at line 86 of file treenode.hpp.
◆ AttributeNode()
Definition at line 272 of file treenode.cpp.
274 :
277{
278 Data.append ( QVariant ( QString::fromStdString ( AttributeData.
p_name ) ) );
279
281
282 QStringList DataList
284
285 for ( QString & ObjectData : DataList )
286 {
287 if ( !ObjectData.isEmpty() )
288 {
290 ChildNode->SetWasFetched ( true );
291 }
292 }
293
294 if ( DataList.size() > 0 && !DataList.at ( 0 ).isNull() )
295 {
297 }
298
300}
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 304 of file treenode.cpp.
305{
306 switch ( role )
307 {
308
309 case Qt::DisplayRole:
310 return Data.value ( Column );
311
312 case Qt::DecorationRole:
313
314 if ( Column == 0 )
315 {
316 return QIcon ( ":/Images/SLink.png" );
317 }
318 }
319
320 return QVariant();
321}
◆ 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