[Qt-interest] Move dinamically a qtablewidget

Konstantin Tokarev annulen at yandex.ru
Fri Mar 5 16:48:48 CET 2010


05.03.10, 12:48, "mierdatutis mi" <mmm286 at gmail.com>: 
> Hi,
> 
> I have a short qtablewidget (3 cols, 2 rows) with many cells. 
> In my program I find a particular cell ( for example the cell is in the 182 row). I would like to know if is possible that the qtablewidget moves automatically to this cell, in other words, I would like that the qtablewidget scroll down to can see this cell.
>  
> Is that possible?
> 
> Many thanks and sorry for my english!
> 

Maybe you need to create qtablewidget with counts of cols and rows equal to your data (e.g., 200x200), and hide everything with exception of 3 cols and 2 rows? When you need to change cell range, hide one rows/columns and show other

Just my $0.02
-- 
Regards,
Konstantin



More information about the Qt-interest-old mailing list