Printing Support - brainstorm.

Lubomir I. Ivanov neolit123 at gmail.com
Fri Jul 19 02:16:42 PDT 2013


On 19 July 2013 00:30, Lubomir I. Ivanov <neolit123 at gmail.com> wrote:
> On 19 July 2013 00:05, Tomaz Canabrava <tcanabrava at kde.org> wrote:
>>
>> ui->tableWidget->rowHeight(r);
>>
>> we have the rowHeigth, passing the index.
>>
>>
>
> ok, i see. also, can the rows auto-grow vertically in the widget for given data?

interesting discussing on row auto-resize performance issues in QTableView:
http://stackoverflow.com/questions/4031168/qtableview-is-extremely-slow-even-for-only-3000-rows

citation:
"I was doing a ui->messageLog->resizeRowsToContents(); each time. I
changed this to only auto resize the row that was being added
ui->messageLog->resizeRowToContents(0);, and the slowness went away."

lubomir
--


More information about the subsurface mailing list