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

List:       kde-devel
Subject:    Simple Table
From:       Ian Wadham <ianw2 () optusnet ! com ! au>
Date:       2007-06-13 23:36:40
Message-ID: 200706140936.40221.ianw2 () optusnet ! com ! au
[Download RAW message or body]

I'm confused.  I've been ploughing through the Qt4.3 doco for
QListWidget, QTreeView, QTreeWidget, QTableView,
QTableWidget and their various *WidgetItem's and my head
is spinning ... :-(

My program currently has a QListWidget and I would like to
expand it to a multi-column table display, with headings,
something like the Identities list in KMail, but read-only and
with minimal bells and whistles other than to select and
highlight one row.

What is best to use?  QListWidget does not seem to allow
multi-value rows, though at one point the doco seems to say
it does.  QTable* seems rather complicated.  (Wasn't the table
view of data supposed to be simple?  Or is Codd dead? :-)).

Maybe the easiest is QTree* with just top-level items and with
tree-structure indicators and icons turned off.  It seems a
little artificial to me, but is that the best solution?

Hoping someone can help, Ian W.
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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