Results 1 to 18 of 18

Thread: Resize widget force layout resizing

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #18
    Join Date
    Feb 2009
    Location
    Noida, India
    Posts
    517
    Thanks
    21
    Thanked 66 Times in 62 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Resize widget force layout resizing

    well, its very important to know the difference between the two.

    const QSize sizeHint() means the function would return a const QSize, whereas

    QSize sizeHint() const means the function would not modify any of the data members or are read-only functions. such functions can be called for a const and non const objects and such functions have const this pointers

  2. The following user says thank you to talk2amulya for this useful post:

    ^NyAw^ (11th February 2009)

Similar Threads

  1. changing layout of a widget
    By mikro in forum Qt Programming
    Replies: 10
    Last Post: 4th August 2009, 20:21
  2. Replies: 5
    Last Post: 25th May 2008, 08:22
  3. Move and resize with layout
    By waediowa in forum Qt Programming
    Replies: 0
    Last Post: 14th May 2008, 08:16
  4. resizing events of a custom widget in a layout
    By Rooster in forum Qt Programming
    Replies: 7
    Last Post: 16th February 2008, 10:52
  5. Custom Shape Widget (resize)
    By PiXeL16 in forum Qt Programming
    Replies: 7
    Last Post: 12th February 2007, 07:00

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
  •  
Qt is a trademark of The Qt Company.