[Interest] Turn off default window hints in X11 using Qt5

Pritam Ghanghas Pritam_Ghanghas at infosys.com
Thu May 9 09:43:33 CEST 2013


Hi

I think you will have to pass some more flags. Qt::CustomizeWindowHints ony allows you to modify other flags.
for example to get a frameless dialog I use the following
setWindowFlags(windowFlags() | Qt::Dialog | Qt::FramelessWindowHint);

You can use what ever suits you like setFlags(Qt::CustomizeWindowHint & ~Qt::WindowTitleHint) or something else whatever suits your needs

________________________________
From: interest-bounces+pritam_ghanghas=infosys.com at qt-project.org [interest-bounces+pritam_ghanghas=infosys.com at qt-project.org] on behalf of Ramakanthreddy_Kesireddy [Ramakanthreddy_Kesireddy at mahindrasatyam.com]
Sent: Thursday, May 09, 2013 12:15 PM
To: interest at qt-project.org
Subject: [Interest] Turn off default window hints in X11 using Qt5


Hi ,



My application uses QQuickview which is a QWindow in Qt5.0.



I would like to turn off default window hints like title,systemmenu,minimize,maximize and close button hints.



I tried using setFlags(Qt::CustomizeWindowHint) to turn off default window hints but still minimize,maximize,close,title and system menu gets displayed on window.



Please let me know the solution in this regard.



Br,

Ramakanth

________________________________

DISCLAIMER:
This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated.

**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely 
for the use of the addressee(s). If you are not the intended recipient, please 
notify the sender by e-mail and delete the original message. Further, you are not 
to copy, disclose, or distribute this e-mail or its contents to any other person and 
any such actions are unlawful. This e-mail may contain viruses. Infosys has taken 
every reasonable precaution to minimize this risk, but is not liable for any damage 
you may sustain as a result of any virus in this e-mail. You should carry out your 
own virus checks before opening the e-mail or attachment. Infosys reserves the 
right to monitor and review the content of all messages sent to or from this e-mail 
address. Messages sent to or from this e-mail address may be stored on the 
Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***



More information about the Interest mailing list