ADTF Qt5
Loading...
Searching...
No Matches
adtf::ui::testing::nitro Namespace Reference

Legacy version namespace for all functionality taken over from ADTF v3.13. More...

Functions

QString dump_tree (const QAbstractItemModel *pTree, size_t nColumnCount, const QModelIndex oNode=QModelIndex(), QString strPrefix="")
 

Detailed Description

Legacy version namespace for all functionality taken over from ADTF v3.13.

Function Documentation

◆ dump_tree()

QString adtf::ui::testing::nitro::dump_tree ( const QAbstractItemModel * pTree,
size_t nColumnCount,
const QModelIndex oNode = QModelIndex(),
QString strPrefix = "" )

Dumps the content of a QAbstractItemModel

Parameters
[in]pTreeThe tree widget of which the content should be dumped.
[in]nColumnCountThe amout of columns to dump, >= 2
[in]oNodeThe index from which to dump all data and children from
[in]strPrefixA prefix to all elements.
Returns
A string containing all tree data.