Results 1 to 3 of 3

Thread: Round-corner dialogs?

Hybrid View

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

    Default Re: Round-corner dialogs?

    You'll have to use QWidget::setMask(). See for example this thread: Toplevel widget with rounded corners.
    J-P Nurmi

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

    WinchellChung (14th March 2008)

  3. #2
    Join Date
    Jun 2007
    Posts
    62
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Thanks
    28
    Thanked 1 Time in 1 Post

    Talking Re: Round-corner dialogs?

    Thank you very much! I dropped your code into my dialog, and it worked like magic.

Similar Threads

  1. Replies: 7
    Last Post: 15th November 2007, 17:19

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.