Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 4

Qt-interest Archive, February 2007
limiting the scroll for some tops rows in QTable.


Message 1 in thread

Hi,

I have a Qtable with the first row containing a array of 
linedits.Whenever a text is entered in the line editors of the first row 
the value is added to the rows below it.


------------------------------------------------------------------
|column1 | column1 | column 2 | coloum 3 | column4 |  ------> table header
-------------------------------------------------------------------
| linedtor  | linedtor   | linedtor    | linedtor    | linedtor  
|            -------------------
------------------------------------------------------------------              
|  add  button    |
|               |                |                 |                
|                |            -------------------

Now my problem is when the visible table on the dialog increase in size 
as the rows gets added  the vertical scroll bar appears. When a 
scrollbar appears the lineeditor row also scrolls with it. Is there a 
way to stop scrolling the line editor row which is the first row in the 
table.

-- 
 [ signature omitted ]