Results 1 to 8 of 8

Thread: Editing resizeEvent of a form-set object

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Editing resizeEvent of a form-set object

    Quote Originally Posted by Momergil View Post
    If you move the slider handler of the QSplitter, the size of its child widgets do change, but no the size of the QSplitter itself
    That's how a splitter is to behave. Manipulating inside of a window shouldn't influence outside of the window. If you wish to resize the window, do it the way it is supposed to be done -- by dragging the outer window frame (or whatever mechanism exists in the window manager you are using).
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  2. #2
    Join Date
    Jun 2011
    Location
    Porto Alegre, Brazil
    Posts
    482
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    165
    Thanked 2 Times in 2 Posts

    Default Re: Editing resizeEvent of a form-set object

    Quote Originally Posted by wysota View Post
    That's how a splitter is to behave. Manipulating inside of a window shouldn't influence outside of the window. If you wish to resize the window, do it the way it is supposed to be done -- by dragging the outer window frame (or whatever mechanism exists in the window manager you are using).
    Well, I know that it is supposed to be so ^^ I was only telling anda_skoa the difference between what we get with moving the slider hander of QSplitter and what I actually want to grab

    --
    Now I was thinking: if the QSplitter is inside a QGridLayout or something that when I resize the MainWindow it automatically resizes the QSpliter thanks to the layout, than actually I don't need the resizeEvent of the QSplitter, since it will happen always when the MainWindow's resizeEvent happens. :S

Similar Threads

  1. Replies: 2
    Last Post: 12th September 2010, 19:01
  2. Form , set object externally
    By giacomelli.fabio in forum Newbie
    Replies: 10
    Last Post: 31st December 2009, 13:03
  3. Multiple form object creation
    By kpmsivachand in forum Qt Programming
    Replies: 2
    Last Post: 3rd February 2009, 01:09
  4. A form returning an object.
    By cbarmpar in forum Qt Programming
    Replies: 3
    Last Post: 8th September 2008, 05:21
  5. Passing an object from one form to the other.
    By cbarmpar in forum Qt Programming
    Replies: 10
    Last Post: 3rd September 2008, 14:12

Tags for this Thread

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.