Results 1 to 3 of 3

Thread: QWidget's border style

  1. #1
    Join Date
    May 2010
    Posts
    19
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QWidget's border style

    My Qt installed in Win7.
    My custom window needs the win7 liked border (areo effect).
    But I must use Qt::FramelessWindowHint for my custom usage.
    So, how to realize? Thanks a lot.

  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: QWidget's border style

    You want a border and then set it to not draw a border?
    Why?

    As a general rule, leave the window management to the window manager.
    If you want to create a custom drawn window, use a style.

  3. #3
    Join Date
    Sep 2010
    Location
    Germany
    Posts
    28
    Thanks
    1
    Thanked 4 Times in 4 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60

    Default Re: QWidget's border style

    I think he is looking for that aren't you?

    http://labs.trolltech.com/blogs/2009...nd-on-windows/

    Theres a tutorial how to create those aero / blur windows.

Similar Threads

  1. Window Style: No border but resizable
    By Peppy in forum Qt Programming
    Replies: 6
    Last Post: 9th May 2010, 18:21
  2. costum QWidget with border-image in style sheet
    By qt fan in forum Qt Programming
    Replies: 1
    Last Post: 25th January 2009, 20:36
  3. Replies: 2
    Last Post: 5th July 2008, 19:35
  4. Showing QWidget border around the window
    By maverick_pol in forum Qt Programming
    Replies: 2
    Last Post: 20th March 2008, 20:14
  5. border color is wrong with "plastique" style in Qt4.2.3
    By alfa_wu in forum Qt Programming
    Replies: 2
    Last Post: 30th April 2007, 04:27

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.