[Qt-creator] Docking Widgets and size issues

Ken Ray ken at ishere.com
Wed Nov 25 22:33:36 CET 2009


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






More information about the Qt-creator-old mailing list