Re: [Qt-creator] QSplitters

2010-03-09 Thread Eike Ziller

On Mar 9, 2010, at 6:05 PM, ext inf200...@ucf.edu.cu wrote:

 Hi:
 How can I use a QSplitter from QtCreator?
 Why it not appears on the list of widgets of QtCreator?

In the form editor, there's a tool button and menu item for Layout in a 
Splitter which you use to create a splitter with the selected widgets in it.

++ Eike

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori




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


Re: [Qt-creator] QSplitters

2010-03-09 Thread Colin Kern
On Tue, Mar 9, 2010 at 12:32 PM, Eike Ziller eike.zil...@nokia.com wrote:

 On Mar 9, 2010, at 6:05 PM, ext inf200...@ucf.edu.cu wrote:

 Hi:
 How can I use a QSplitter from QtCreator?
 Why it not appears on the list of widgets of QtCreator?

 In the form editor, there's a tool button and menu item for Layout in a 
 Splitter which you use to create a splitter with the selected widgets in it.

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.

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


Re: [Qt-creator] QSplitters

2010-03-09 Thread Coda Highland
 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