[Qt-interest] menu bar.

Malyushytsky, Alex alex at wai.com
Thu Mar 26 21:30:20 CET 2009


I've never tried it.

But according to my impression it can be used with any widget.
More of that, any widget can be placed in the menu area instead of QMenuBar.
You just need to have a layout set.

Look at void QLayout::setMenuBar ( QWidget * widget ).

Regards,
    Alex
________________________________________
From: qt-interest-bounces at trolltech.com [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Shabd Swarup V
Sent: Thursday, March 26, 2009 5:58 AM
To: qt-interest at trolltech.com
Subject: [Qt-interest] menu bar.

Can a QMenuBar be inserted in any window other than a QMainWindow?

Thanks,
Shabd


---------------------------------------------------------------------------------------------------
Weidlinger Associates, Inc. made the following annotations.

"This message and any attachments are solely for the intended recipient and may contain confidential or privileged information. If you are not the intended recipient, any disclosure, copying, use, or distribution of the information included in this message and any attachments is prohibited. If you have received this communication in error, please notify us by reply e-mail and immediately and permanently delete this message and any attachments. Thank you."

"Please consider our environment before printing this email."




More information about the Qt-interest-old mailing list