Results 1 to 2 of 2

Thread: window.setWindowsFlags(Qt.FramelessWindowHint), and .setWindowOpacity(.8) dont work ?

  1. #1
    Join Date
    Oct 2010
    Posts
    3
    Qt products
    Platforms
    Windows

    Default window.setWindowsFlags(Qt.FramelessWindowHint), and .setWindowOpacity(.8) dont work ?

    window.setWindowsFlags(Qt.FramelessWindowHint), and .setWindowOpacity(.8) dont work togehter?

    windows7: qt4.5.3,

    how do i make a window have no frame, yet still respect the .setWindowOpacity(.8)?

    the opacity works if i dont use Qt.FramelessWindowHint, but when i use Qt.FramelessWindowHint to take the titlebar away, .setWindowOpacity no longer works.

    is there any other way besides Qt.FramelessWindowHint to take the title bar and resize-borders away via QT?
    Last edited by mtherrell; 4th February 2011 at 02:06.

  2. #2
    Join Date
    Jun 2007
    Location
    India
    Posts
    1,042
    Thanks
    8
    Thanked 133 Times in 128 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: window.setWindowsFlags(Qt.FramelessWindowHint), and .setWindowOpacity(.8) dont wo

    try to mess around with setAttribute(Qt::WA_TranslucentBackground );. I dont know it will work or not.

Similar Threads

  1. QWidget -> updateGeometry dont work.
    By patrik08 in forum Qt Programming
    Replies: 7
    Last Post: 22nd May 2013, 15:55
  2. Replies: 2
    Last Post: 7th June 2010, 12:47
  3. Replies: 3
    Last Post: 6th June 2010, 10:31
  4. Problem with QtBrowserPlugin - examples dont work.
    By robert_ugo in forum Installation and Deployment
    Replies: 0
    Last Post: 19th March 2009, 19:07
  5. setWindowOpacity doesn't work!
    By nupul in forum Qt Programming
    Replies: 5
    Last Post: 21st April 2006, 18:28

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.