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.
Thread beginning with comment 397372
To view parent comment, click here.
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"
vivainio
Member since:
2008-12-26

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

RE[6]: KDE
by boldingd on Tue 1st Dec 2009 21:39 in reply to "RE[5]: KDE"
boldingd Member since:
2009-02-19

No disagreement! I don't think that Qt is doing anything wrong by having Layouts and Widgets be separate things, I just like the gtk way better, and find it more intuitive. It's entirely a question of personal preference.

Reply Parent Score: 2

RE[7]: KDE
by Chicken Blood on Tue 1st Dec 2009 22:22 in reply to "RE[6]: KDE"
Chicken Blood Member since:
2005-12-21

No disagreement! I don't think that Qt is doing anything wrong by having Layouts and Widgets be separate things, I just like the gtk way better, and find it more intuitive. It's entirely a question of personal preference.


Qt 3.x series did support widgets that were both containers and layouts. They dropped the design because developers were finding it confusing and unnecessary.

Reply Parent Score: 4