Results 1 to 6 of 6

Thread: Resize handling of frameless window

  1. #1
    Join Date
    Oct 2009
    Posts
    70
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Resize handling of frameless window

    Hi guys, I have question: When I have frameless window, How can I write resize Handler for this window ?

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Resize handling of frameless window

    Solution 1: implement the mouse events of your frameless window. This might not be what you want though
    Solution 2: add a resize widget to your window. Place one in the right bottom corner for example. Use it to resize your window using the mouse events of this widget.

  3. #3
    Join Date
    Oct 2009
    Posts
    70
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Resize handling of frameless window

    I am looking into QSkinWindow and there is class named as QResizeHandler... which is child of QObject...but there is no class implementation just header...but is it encapsulated in:

    #ifndef QT_NO_RESIZEHANDLER // It means, that window is frameless...
    ...
    #endif

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Resize handling of frameless window

    What is QSkinWindow? It's not part of the standard Qt api ?

  5. #5
    Join Date
    Oct 2009
    Posts
    70
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Question Re: Resize handling of frameless window

    No, not...look on this forum, (it was wroten by kernel_panic) as QSkinWindow or QSkinObject...

    //EDIT:

    It is a "WidgetResizeHandler"...
    Last edited by Peppy; 2nd June 2010 at 19:49.

  6. #6
    Join Date
    Oct 2009
    Posts
    70
    Thanks
    2
    Thanked 2 Times in 2 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: Resize handling of frameless window

    Nothing? No idea?

Similar Threads

  1. Replies: 0
    Last Post: 14th April 2010, 22:26
  2. Qt resize child Window...
    By Peppy in forum Qt Programming
    Replies: 6
    Last Post: 12th December 2009, 12:53
  3. A bug in window resize
    By elcuco in forum Qt Programming
    Replies: 2
    Last Post: 6th December 2009, 01:04
  4. KWin's shadows and frameless window
    By EuroElessar in forum KDE Forum
    Replies: 4
    Last Post: 12th July 2009, 16:16
  5. How to resize window with pushbutton
    By kaydknight in forum Newbie
    Replies: 2
    Last Post: 13th January 2007, 12:17

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.