Configuration dialogs for Calligra Applications

Thorsten Zachmann t.zachmann at zagge.de
Thu Jan 13 07:43:25 GMT 2011


On Thursday, January 13, 2011 07:43:36 Shantanu Tushar Jha wrote:
> Hi,
>     I am a new contributor to Calligra and was trying to resolve
> https://bugs.kde.org/show_bug.cgi?id=260516 . I found while discussing on
> IRC that the feature is already implemented, and only configuration options
> are missing in Words (but are present in Stage, Tables etc).
> 
> Now, If I try to add a similar config dialog to Words, it will be a trivial
> task, but there is a consistency problem in doing it like this. Already the
> autosave settings in Stage and Tables feel different, and are implemented
> using different dialogs. I think that it will be really good if such
> options that are common to all Calligra apps be defined at one place and
> shared by the different applications.

That is definitely true.

> So, I have two questions here-
> 
> 1. Is the idea of sharing configuration dialog and common configuration
> pages sane? I don't have much idea about Calligra's (and hence KOffice's)
> history so if this has been already discussed, please point to the ML
> thread.

Sharing is good. And also some configuration options are already shapread

> 2. To implement a shared dialog, where is the best place to add the dialog?
> Being new to the codebase, lots of classes come to my mind (like
> KOApplication, KODocument etc) so I need a little bit of help here.

There are a shared dialogs in:

libs/main/config/

For me the dialog in tables look the best.  It would be good if we can unify 
the look for all applications which use the same dialogs.

Hope that already helps. If you got more questions please ask.

Thorsten



More information about the calligra-devel mailing list