[Qt-interest] Close button for Dialog box.

Manish Chaturvedi manish_chaturvedi at persistent.co.in
Wed May 13 01:53:12 CEST 2009


Hi all,

I am trying to make a dialog box just with a close button in title bar( without Maximize and minimize button ).
I tried setting windows flag like this

MyDialog::MyDialog(QWidget *parent) :QDialog(parent, QFlag(..?|?.) to get the desired dialog box. Is there is any way to have such dialog box with only close button at left top just on title bar.

I am writing this on Mac with Qt version 4.3.4.

Thanks in advance!
Manish

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/20090513/4a79f7b9/attachment.html 


More information about the Qt-interest-old mailing list