[Qt-interest] how to remove maximize button in Mac OS X tool window

Jainish Jain Jainish_Jain at persistent.co.in
Wed Jan 13 21:16:56 CET 2010


Hi,

You can try for ChangeWindowAttributes() function in Carbon API

You will need to get some windowRef to pass to his function which you can get using qt_mac_window_for((QWidget *)

Regards,
Jainish


From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Andy Brice
Sent: 14 January 2010 01:37
To: qt-interest List
Subject: Re: [Qt-interest] how to remove maximize button in Mac OS X tool window

Abhishek Patil wrote:
Hi
try using this->setWindowFlags(Qt::FramelessWindowHint) in MyWidget constructor .

Abhishek,

That will probably work, but I need a frame.

best regards

Andy Brice
http://www.perfecttableplan.com
http://www.successfulsoftware.net

DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100114/19885b8f/attachment.html 


More information about the Qt-interest-old mailing list