[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: QTableView ?
From:       Matthias Ettrich <ettrich () troll ! no>
Date:       1999-07-01 13:42:48
[Download RAW message or body]

On Thu, 01 Jul 1999, Reginald Stadlbauer wrote:
> On Wed, 30 Jun 1999, Robert Williams wrote:
> >Anybody using QTableView?  I am trying to use it.  I have
> >copied the example from the QT docs and in main() I call
> >
> >    toplevel->show() and it immediately seg faults.
> >
> >
> >In the TopLevel constructor I call setView( &table ) from an
> >inherited class.   table is of type ->
> >TableWidget:QTableView.
> 
> I'd suggest not to use QTableView, but QScrollView.

I second this! Whenever you get the feeling "but by using QTableView I could
save some code" your will be hunted later by a mess of workarounds.
QMultiLineEdit is an excellent example for this....

QTableView was TT's first attempt of a scrollview before we got the abstraction
right ;-)

Matthias

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic