PDA

View Full Version : Widget Resizable Border



ale6111
22nd July 2010, 14:14
Hi,

I want to know if there is a way to have a resizable border around a widget somenting like this
http://blogs.sun.com/geertjan/resource/vislib-learning-1.png
I am particularly interested to have this border to resize a text edit contained in it.

Thanks

agathiyaa
22nd July 2010, 15:32
You should draw the control with handles around it and handle resizing etc., means it is possible, see how QtDesigner does !

Lykurg
22nd July 2010, 15:41
Do you talking about a normal QWidget or a graphics view item? For a QWidget have a look at QSplitter.

ale6111
22nd July 2010, 17:20
You should draw the control with handles around it and handle resizing etc., means it is possible, see how QtDesigner does !

Yes what I need is that but I have no idea how to do.... How I can see source code of Qtdesigner?


Do you talking about a normal QWidget or a graphics view item? For a QWidget have a look at QSplitter.

I looked at that but I need to resize only one textedit in all directions as qtdesigner does... qsplitter permit me only to divide space for two or more widget only vertical or horizoltal