jgrauman
23rd June 2009, 21:25
Hello,
Does anyone know how QTextBlock::setVisible() works? I thought I should be able to iterate down blocks of my document and hide blocks like following, but this does nothing as far as I can see...
QTextBlock blk = document()->begin();
blk = blk.next();
blk = blk.next();
blk = blk.next();
blk.setVisible(0);
Does anyone know how QTextBlock::setVisible() works? I thought I should be able to iterate down blocks of my document and hide blocks like following, but this does nothing as far as I can see...
QTextBlock blk = document()->begin();
blk = blk.next();
blk = blk.next();
blk = blk.next();
blk.setVisible(0);