[Qt-interest] remove all elements from a QPainterPath

Markus Franke Franke.M at sebakmt.com
Thu Mar 31 09:28:58 CEST 2011


Dear Alex,

thanks for your reply. However, this is not really what I want to achieve.

I would like to inherit from QPainterPath and then clear the path from 
within a member function of this derived class.

Best regards,
Markus Franke


qt-interest-bounces+franke.m=sebakmt.com at qt.nokia.com schrieb am 
30.03.2011 22:25:01:

> I guess assignment operator should  do the job:
> 
> QPainterPath a;
> ??
> a  = QPainterPath();
> 
> Alex
> 
> 
> 
> 
> From: qt-interest-bounces+alex=wai.com at qt.nokia.com [mailto:qt-interest-
> bounces+alex=wai.com at qt.nokia.com] On Behalf Of Markus Franke
> Sent: Wednesday, March 30, 2011 5:50 AM
> To: qt-interest at qt.nokia.com
> Subject: [Qt-interest] remove all elements from a QPainterPath
> 
> 
> Dear all, 
> 
> is there any reason why it is not possible to remove all elements from a 

> QPainterPath? 
> 
> I know that it would be possible to reconstruct an empty QPainterPath 
and
> assign it to the old one. 
> 
> However in case I inherit QPainterPath and want to remove all elements 
> from within a member function, I think there should be at least a 
> protected member function like QPainterPath::clear() or so which one 
could use. 
> 
> Thanks for any comments on this, 
> Markus Franke
> 
> 
> "Disclaimer: This message is intended only for the use of the individual 

> or entity to
> which it is addressed and may contain information which is privileged, 
> confidential, proprietary,
> or exempt from disclosure under applicable law. If you are not the 
> intended recipient or the person
> responsible for delivering the message to the intended recipient, you 
are
> strictly prohibited from
> disclosing, distributing, copying, or in any way using this message. If 
> you have received this 
> communication in error, please notify the sender and destroy and delete 
> any copies you may have
> received."
> 
> 
> 
---------------------------------------------------------------------------------------------------
> 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 qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest



"Disclaimer: This message is intended only for the use of the individual 
or entity to
which it is addressed and may contain information which is privileged, 
confidential, proprietary,
or exempt from disclosure under applicable law. If you are not the 
intended recipient or the person
responsible for delivering the message to the intended recipient, you are 
strictly prohibited from
disclosing, distributing, copying, or in any way using this message. If 
you have received this 
communication in error, please notify the sender and destroy and delete 
any copies you may have
received."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20110331/4832f6a5/attachment.html 


More information about the Qt-interest-old mailing list