[Clam-devel] Copy & Paste processings on canvas patch

Pau Arumí parumi at iua.upf.edu
Wed Jun 11 01:54:41 PDT 2008


On dc, 2008-06-11 at 05:47 -0300, Natanael Olaiz wrote:
> El 06/10/2008 05:15 AM, David García Garzón escribió:
> > On Dimarts 10 Juny 2008, Natanael Olaiz wrote:
> >   
> >> El 06/09/2008 10:31 PM, David García Garzón escribió:
> >>     
> >>> [...]
> >>>
> >>> I also guess that the procAttribMap to store such attributes is a too
> >>> generic tool that can become subject of abuse if it is in the api. We are
> >>> expected to have some kind of network configuration/attributes and i
> >>> don't know if this is missleading when we actually want pos and size.
> >>> Just a feeling not a conviction. In this part we are more in Pau's zone.
> >>>       
> >> About this point I'll wait for Pau reply, but I want to make a comment:
> >> I can pass specific types (i.e. QPoint, QSize) to the network and
> >> adapters.. but I'll need to include specific Qt graphic-related headers
> >> on that files. Is that OK? I though no, and that was the reason because
> >> I made the conversion on NetworkCanvas...
> >>
> >>     
> >>> [...]
> >>>       
> >
> > You are right, there cannot be Qt types in the network, but i should have 
> > tried a different C++ native type such several floats/integers in a 
> > setGeometry(x,y,w,h). But i don't dissmiss your option. Just waiting to Pau 
> > opinion on how to store them
> What about using CLAM::Point types? (I found it yesterday :-))
> Just asking. If not, directly integers...

I liked more your solution of having a Geometry structure/class with the
4 values. But it is not a strong opinion.

P






More information about the clam-devel mailing list