Linked by Thom Holwerda on Tue 1st Dec 2009 19:03 UTC, submitted by poundsmack
Qt Nokia has released the latest version of its cross-platform toolkit Qt, version 4.6. As usual, it comes with a whole slew of improvements and new features, and this time, they even added a new platform into the mix.
Permalink for comment 397372
To read all comments associated with this story, please click here.
RE[5]: KDE
by vivainio on Tue 1st Dec 2009 21:36 UTC in reply to "RE[4]: KDE"
Member since:

While that is true, something about that approach just doesn't sit with me: I find treating containers as widgets to be more... elegant and orthogonal, I suppose.

QWidgets are containers are widgets. The layout (given by setLayout) just specifies how they should be sorted inside the container.

I don't know if either way is better/worse than the other. I guess the Gtk way involves one moving part less, but the difference is negligible (i.e. I feel like we are bikeshedding here ;-).

Reply Parent Score: 5