This commit is contained in:
Christoph Holzheuer
2025-09-01 17:40:08 +02:00
parent 4d49a495fd
commit 527de65074
6 changed files with 72 additions and 39 deletions

View File

@@ -51,6 +51,12 @@ XQItem& XQTreeTable::xqItemFromIndex(const QModelIndex& index )
return modelView()->xqItemFromIndex( index );
}
void XQTreeTable::toggleRowsHidden( int fstRow, int lstRow )
{
bool hidden = isRowHidden( fstRow, rootIndex() );
for (int row = fstRow; row < lstRow; ++row )
setRowHidden( row, rootIndex(), !hidden );
}
//! override von 'currentChanged' (noch nicht implementiert)