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

List:       kde-kimageshop
Subject:    Re: LayerDialog
From:       Matthias Elter <me () main-echo ! net>
Date:       1999-08-06 19:32:04
[Download RAW message or body]

Michael Koch wrote:
> 
> Am Fre, 06 Aug 1999 schrieb Matthias Elter:
> > Michael Koch wrote:
> > > Should the LayerDIalog be view or document based ?
> > >
> > > I vote for view based.
> >
> > View!
> > KImageShopView handles the GUI, KImageShopDoc the canvas (-> and the
> > image data).
> 
> Aha, the layerdialog should be responsible for the one view. I thought It could
> be responsible for the whole document with all views.

Oh I got you question wrong. The layes are handled by the canvas which
is itself is handled by KImageShopDoc. -> The layer dialog modifies the
document. You currently access the canvas directly, that's not good.
Implement functions in KImageShopDoc to indirectly modify the canvas.

Greetings, Matthias

-- 
Matthias Elter
me@kde.org / me@main-echo.net
KDE developer
Computer science student university of Wuerzburg, Germany

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

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