Krita 2.0: Zoom

Boudewijn Rempt boud at valdyas.org
Mon Mar 9 19:41:58 CET 2009


On Monday 09 March 2009, LukasT.dev at gmail.com wrote:
> On Monday 09 March 2009 08:38:40 Boudewijn Rempt wrote:
> > On Sunday 08 March 2009, Cyrille Berger wrote:
> > > On Friday 06 March 2009, Boudewijn Rempt wrote:
> > > > > Fit Page is useful for image viewer but the way I work with images
> > > > > use 100% and aspect turned on.
> > > >
> > > > It would need a new option is KisConfig and a new item in the
> > > > preferences dialog, which means a new string, so, while I agree it
> > > > would be a nice option, it'll have to wait until 2.1.
> > >
> > > I still have somewhere in my todo to have an option for remembering
> > > wether "Use same aspect as pixels" was set or not, and that wouldn't
> > > need
> >
> >From dictionary widget:
>
> wether
> n : male sheep especially a castrated one
>
> :-)

Well played!

> > > a new string. But if someone want to relieve me of my todo, I would be
> > > more than happy.
> >
> > It should be easy enough to do... Lukas?
>
> Ok, I'm assigning myself for it. I can't promise I manage it til release. I
> will try that. So question is where to save the state whether it was set or
> not? kritarc? Can you direct me to code that do similar things?

Yes, in kritarc. There are two sides: one is saving the config, this is done 
through KisConfig. That's simple. The other side is figuring out whether the 
zoom widget emits a toggle signal you can connect some code to. That might 
take a little bit of investigation.
-- 
Boudewijn Rempt | http://www.valdyas.org


More information about the kimageshop mailing list