--- fy
This commit is contained in:
@@ -51,13 +51,18 @@ XQItem& XQTreeTable::xqItemFromIndex(const QModelIndex& index )
|
||||
return viewModel()->xqItemFromIndex( index );
|
||||
}
|
||||
|
||||
|
||||
//! rows sichtbar/unsichtbar schalten, von 'fstRow' bis _einschliesslich_
|
||||
//! 'lstRow'
|
||||
|
||||
void XQTreeTable::toggleRowsHidden( int fstRow, int lstRow )
|
||||
{
|
||||
bool hidden = isRowHidden( fstRow, rootIndex() );
|
||||
for (int row = fstRow; row < lstRow; ++row )
|
||||
for (int row = fstRow; row <= lstRow; ++row )
|
||||
setRowHidden( row, rootIndex(), !hidden );
|
||||
}
|
||||
|
||||
|
||||
//! override von 'currentChanged' (noch nicht implementiert)
|
||||
|
||||
void XQTreeTable::currentChanged(const QModelIndex& current, const QModelIndex& previous)
|
||||
|
Reference in New Issue
Block a user