[Qt-interest] QWidget without close button

anders.bakken at nokia.com anders.bakken at nokia.com
Mon Jan 11 01:39:03 CET 2010


Depends on the platform and window manager. I think it can be done on  
windows but you'd have to experiment with the window flags. Try the  
windowflags example.

--

Anders

On Jan 8, 2010, at 5:39 PM, "ext Malyushytsky, Alex" <alex at wai.com>  
wrote:

> ASFAIK choice to display close button or not is made based on the  
> QWidget flags.
> If widgets is a window and has title bar it will have close button.
> I don't think you can change this.
>
> Regards,
>   Alex
>
> -----Original Message-----
> From: qt-interest-bounces at trolltech.com [mailto:qt-interest- 
> bounces at trolltech.com] On Behalf Of Jose Victor Reynoso
> Sent: Friday, January 08, 2010 4:58 PM
> To: qt-interest at trolltech.com
> Subject: [Qt-interest] QWidget without close button
>
> Hi forum,
>
> Quick question, how can I have a QWidget without a closing button in  
> the
> right corner?
>
> Thanks in advance
> Victor Reynoso
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
>
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> --- 
> ---------------------------------------------------------------------
> 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