Results 1 to 20 of 25

Thread: Skinned dialogs

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #15
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Skinned dialogs

    Quote Originally Posted by kernel_panic View Post
    one question: with qsizegrip ic can only resize to bottom-left, how can i let it resize to left or right or bottom only?
    One can place QSizeGrip to any corner and it will automatically adjust its behavior. For horizontal and vertical resize mode you will need something custom:
    1. catch the point of mouse press event
    2. resize the window on the fly in mouse move event
    I suggest taking a sneak into QSizeGrip sources for more detailed implementation hints.
    J-P Nurmi

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

    kernel_panic (25th June 2007)

Similar Threads

  1. Using special characters in QT dialogs
    By hvengel in forum Qt Tools
    Replies: 2
    Last Post: 10th April 2007, 00:32
  2. How to chain dialogs
    By seneca in forum Qt Programming
    Replies: 12
    Last Post: 14th January 2006, 22:04

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.