Compass Shape Plug-in

C. Boemann cbo at boemann.dk
Tue Nov 22 12:37:51 GMT 2011


On Tuesday 22 November 2011 13:28:49 Jean-Nicolas Artaud wrote:
> 2011/11/22 C. Boemann <cbo at boemann.dk>
> 
> > On Tuesday 22 November 2011 12:59:54 Jean-Nicolas Artaud wrote:
> > > Hello all,
> > > 
> > > I am currently working on a workshop. For this I would like to
> > > show how to add a plug-in. This plug-in should be a compass
> > > shape (a circle with an angle basically) I've written some code
> > > for that (you can see it as a git diff joined). It is not ended, but
> > > I already have a trouble because nothing is added to the shapes
> > > and especially in the quickShapes. My question is, what is missing
> > > and/or wrong in my patch so that it could be added to the shapes ?
> > > 
> > > Thank you guys,
> > > 
> > > Regards
> > 
> > at least for quick shapes the list of shapes is overruled by the
> > application
> > rc file
> 
> I don't understand, having looked in the stage.rc, I don't see any shapes !
> I've added a shapeId to the quickShapes in
> ShapeCollectionDocker::loadDefaultShapes(). Isn't it enough, could you
> please precise which rc are you talking about ?
> 
in words.rc (the system installed file, as it's never saved to local user file);

[KoShapeCollection]
QuickShapes=TextShapeID,PictureShape,ArtisticText




More information about the calligra-devel mailing list