Hi, I have tried the same earlier to achieve frameless window with no title,minimize,maximize and close button hints.
However, it seems that window manager ignores the same while trying to set using setFlags API. On target board, currently Ubuntu 12.04 desktop image is flashed. Does it helps to resolve this issue if I flash Ubuntu 12.04 Minimal image? Thanks and Regards, Ramakanth -----Original Message----- From: Pritam Ghanghas [mailto:pritam_ghang...@infosys.com] Sent: 09 May 2013 13:14 To: Ramakanthreddy_Kesireddy; interest@qt-project.org Subject: RE: Turn off default window hints in X11 using Qt5 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....@qt-project.org [interest-bounces+pritam_ghanghas=infosys....@qt-project.org] on behalf of Ramakanthreddy_Kesireddy [ramakanthreddy_kesire...@mahindrasatyam.com] Sent: Thursday, May 09, 2013 12:15 PM To: interest@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*** ________________________________ 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. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest