Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bool AttendanceModel::filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const
- {
- QModelIndex nameIndex = sourceModel()->index(sourceRow, /*PersonDisplayDetailsModel::DisplayTextRole*/0, sourceParent);
- QModelIndex frIDIndex = sourceModel()->index(sourceRow, /*PersonDisplayDetailsModel::FRIDRole*/1, sourceParent);
- qDebug() << "\nnameIndex = " << nameIndex;
- qDebug() << "sourceModel()->data(nameIndex) = " << sourceModel()->data(nameIndex);
- qDebug() << "frIDIndex = " << frIDIndex;
- qDebug() << "sourceModel()->data(frIDIndex) = " << sourceModel()->data(frIDIndex);
- return true;
- }
Add Comment
Please, Sign In to add comment