+// return (uint)dbIndex.at(index.row());
+ if (role == Qt::DecorationRole)
+ return list.at(index.row()).label;
+ else if (role == Qt::DisplayRole)
+ return (uint)list.at(index.row()).dbIndex;
+ else if (role == Qt::EditRole)
+ return list.at(index.row()).filename;
+ else
+ return QVariant();