[Qt-interest] menu bar.
Nathan Carter
nathancarter5 at gmail.com
Thu Mar 26 22:06:09 CET 2009
I do not think that this will work on OS X, which handles menus
differently. See http://doc.trolltech.com/4.5/qmenubar.html and
scroll down to the section on Mac.
Nathan
On Mar 26, 2009, at 4:30 PM, Malyushytsky, Alex wrote:
> 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."
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
More information about the Qt-interest-old
mailing list