[Qt-interest] QMenu to a circular shape object

Scott Aron Bloom Scott.Bloom at sabgroup.com
Thu May 28 07:11:38 CEST 2009


What have you tried?

What didn't work?

Scott

> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest-
> bounces at trolltech.com] On Behalf Of Santhosh Y
> Sent: Wednesday, May 27, 2009 9:35 PM
> To: qt-interest at trolltech.com
> Subject: Re: [Qt-interest] QMenu to a circular shape object
> 
> Can anybody give me a solution for this issue.
> 
> Santhosh Y wrote:
> > Santhosh Y wrote:
> >> Hi,
> >>
> >> QPushButton and QToolButton can be associated with a QMenu.
> >>
> >> My requirement is that, a widget which is in circular shape should
be
> >> associated with a
> >> QMenu at the bottom of it. (*Qt::ArrowType*  arrowType =
Qt::DownArrow)
> >>
> >> Is this possible?
> >>
> >> My idea is to draw a circle object on a widget  using paintEvent().
> >> This widget some how should
> >> be associated with QMenu, as shown below.
> >>
> >>
> >
> >
> >
> >
------------------------------------------------------------------------
> >
> 
> 
> --
> ----------------------------------------------------
> Y Santhosh Kumar
> Senior Software Engineer
> SoftJin Technologies Private Limited
> Unit No. 102, Mobius Tower,
> I Floor, SJR I - Park,
> EPIP, White Field,
> Bangalore - 560066, India
> U : www.softjin.com
> E : santhosh at softjin.com
> T : +91-80-41779999
> M : +91-9740535265
> ----------------------------------------------------
> 
> 
> 
> Business Disclaimer
> ____________________________________________________________
> This e-mail message and any files transmitted with it are intended
solely
> for  the use  of the  individual or entity  to which they  are
addressed. It
> may  contain confidential,  proprietary or legally  privileged
information.
> If  you  are  not  the  intended recipient please be advised that you
have
> received  this  message in error and any use is strictly prohibited.
Please
> immediately  delete it  and all copies of it from your system, destroy
any
> hard  copies  of  it and  notify  the  sender  by return mail. You
must not,
> directly or indirectly, use,  disclose,  distribute, print, or copy
any part
> of
> this message if you are not the intended recipient.
> ___________________________________________________________
> 
> 
> _______________________________________________
> 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