Short answer: A QDockWidget has a single "widget" that you set on it;
to apply multiple widgets, use a blank QWidget and put a layout etc.
as children of it.

/s/ Adam

On Wed, Nov 25, 2009 at 3:33 PM, Ken Ray <[email protected]> wrote:
>
> I've been playing dock widgets some, trying to learn them. I have a couple 
> issues with them that I  don't understand. Please understand that I am new to 
> QT  and QT Creator and wanting to learn to use it.
>
> For example, I found the this example on the web and was trying to duplicate 
> it.  http://www.tuxradar.com/content/code-project-create-qt-rss-reader
>
> They say that they add 2 dock widgets to the application and then select both 
> and press horizontal layout, to make them resize. I've tried this and it 
> doesn't work in Creator. Plus if you look closely at their list of widgets in 
> the app, it only shows one.  Does this make any sense ?
>
> The other issue I have is .... How do you get the the widgets within a dock 
> widget to bind to the sides of the dock widget so that when I resize the 
> window and the dock widget resizes that the widgets that are contained resize 
> also and maintain their relative size to their container, the dock widget?
>
> thanks
>
>
>
> _______________________________________________
> Qt-creator mailing list
> [email protected]
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>

_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to