[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: insert calendar in KSpread (was: Re: up-to-date calendar
From:       Raphael Langerhorst <raphael-langerhorst () gmx ! at>
Date:       2005-02-03 14:44:34
Message-ID: 200502031544.35536.raphael-langerhorst () gmx ! at
[Download RAW message or body]

On Thursday 03 February 2005 13:22, Raphael Langerhorst wrote:
> On Thursday 03 February 2005 11:55, Ariya Hidayat wrote:
> > > You can select "Insert calendar" in the Insert menu of KSpread.
> > > Up comes the "insert_form" (attached) where you select start
> > > and end date. If you click "Select date" for one of the dates
> > > (start/end) a date picker widget pops up that lets you select a
> > > date ... just like the clock in the kicker applet does.
> >
> > Raphael, I think it is a good work.
> > One suggestion: make it as a plugin, and then we can put it in
> > the Tools menu (because I guess calendar is too specific to be in
> > general Insert menu). Of course, this is only a suggestion; need
> > not be followed strictly.
>
> Thanks, yes. I agree doing it as a KPart::Plugin is better. I
> skimmed through the API docs (never written a plugin so far) and I
> wonder how can I insert the data into the sheet then - either
> KSpread needs to be aware of the plugin's produced data or the
> plugin needs to access the sheet (or document) somehow. I'm sure
> I'm missing something here, maybe you (or anyone) can give me a
> hint.

... ok, got that, basically the parent's widget of the plugin gets set 
and thus the plugin can access the KSpread document and do anything 
with it...
_______________________________________________
koffice-devel mailing list
koffice-devel@kde.org
https://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic