Results 1 to 4 of 4

Thread: Widget Resizable Border

  1. #1
    Join Date
    Jul 2010
    Posts
    16
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Widget Resizable Border

    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/resour...learning-1.png
    I am particularly interested to have this border to resize a text edit contained in it.

    Thanks

  2. #2
    Join Date
    Jun 2010
    Location
    India
    Posts
    50
    Thanks
    1
    Thanked 15 Times in 14 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Widget Resizable Border

    You should draw the control with handles around it and handle resizing etc., means it is possible, see how QtDesigner does !

  3. #3
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Widget Resizable Border

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

  4. #4
    Join Date
    Jul 2010
    Posts
    16
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Widget Resizable Border

    Quote Originally Posted by agathiyaa View Post
    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?

    Quote Originally Posted by Lykurg View Post
    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

Similar Threads

  1. Window Style: No border but resizable
    By Peppy in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2010, 18:21
  2. Dock widget between widgets, not near the border
    By maverick_pol in forum Qt Programming
    Replies: 0
    Last Post: 22nd May 2009, 13:23
  3. I need help designing a resizable widget
    By aarelovich in forum Qt Tools
    Replies: 2
    Last Post: 17th February 2009, 18:01
  4. Remove Widget Border?
    By winston2020 in forum Qt Programming
    Replies: 5
    Last Post: 20th October 2008, 05:26
  5. user resizable and movable QLabel widget
    By hvengel in forum Qt Programming
    Replies: 8
    Last Post: 12th April 2007, 00:01

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.