> I had this same confusion a month or two ago.  It seems to me like
> there is some inconsistency in the design here.  QSplitter should
> either appear in the the list of widgets, or it should be changed to
> QSplitterLayout and inherit QLayout.  Just my two cents.  I'd lean
> towards turning QSplitter into an actual layout.

QSplitter has all of the behaviors of a widget -- it renders things to
the screen and it processes events. It couldn't be a layout because
layouts do nothing but calculate geometry when the widget they're
applied to is resized.

/s/ Adam

_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to