From: John M. <ele...@el...> - 2005-12-20 19:24:57
|
On Sunday 18 December 2005 15:45, David Saxton wrote: > Cool stuff :) I've added the switch to svn. Neat > > Are you planning on doing an icon for it? If not, I'll make one for it. > > Also, selection of the component relies on the bounding points you give it > - at the moment, you have a rectangle - but a circle might better suit the > circular switch; to do so, replace "setSize( -64, -64, 128, 128 );" with > something like > > QPointArray pa; > pa.makeArc( -56, -56, 112, 112 , 0, 16*360 ); > setItemPoints( pa ); > > and update the positioning of other things (the bounding points as defined > in setSize or setItemPoints shouldn't really overlap with the pins). ok. I'd used the DPDT as an example, and it uses setSize > > If you want an svn account, email me with a username and password. ok. I've got some improvements I've been working on =2D-=20 #=20 # electronerd, the electronerdian from electronerdia # |