[Qt-interest] Cons and Pros of using a View and a Widget

Arnold Krille arnold at arnoldarts.de
Wed Jan 7 18:57:43 CET 2009


On Wednesday 07 January 2009 18:34:01 Srikanth Bemineni wrote:
> As we all know that we have ListView and ListWidget and similarly a
> TreeView and a TreeWidget. I would like to know the cons and pros of using
> View and a Widget.

I believe that is already covered in the Qt docs or in the fine "C++ Gui-
Programming with Qt".

Pro *Widget: Easy to use and to setup for small usage.
Pro Model/View: Allows far more complex things and disconnects the data and 
its representation (including the possibility to have more then one view on a 
model at a time).

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090107/ef3147cb/attachment.bin 


More information about the Qt-interest-old mailing list