Compass Shape Plug-in

Jean-Nicolas Artaud jeannicolasartaud at gmail.com
Tue Nov 22 17:46:49 GMT 2011


2011/11/22 C. Boemann <cbo at boemann.dk>

> 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
>
Ok, I've just tried it, and it isn't enough, something else is missing.
An idea ?

Thank you for advance

>
> _______________________________________________
> calligra-devel mailing list
> calligra-devel at kde.org
> https://mail.kde.org/mailman/listinfo/calligra-devel
>


Regards,

-- 
Jean-Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20111122/b13f8152/attachment.htm>


More information about the calligra-devel mailing list