a new member and some small problems

Boudewijn Rempt boud at valdyas.org
Sat Jun 26 22:14:07 CEST 2004


On Saturday 26 June 2004 22:03, Casper Boemann wrote:

> Well I think that you havn't committed the required changes to the view
> class.

Nope:

boud at talnus:~> cd prj/koffice/krita/
boud at talnus:~/prj/koffice/krita> cvs up
boud at talnus:~/prj/koffice/krita>

So that cannot be it...

> With respect to what to do I think I'll start with the layers dialog.
> Dispite your comments in cvs about making an ui file and using QTable, I
> will choose not to. You see I intend to make draging of layers possible.
> Not on canvas, but in the dialog to rearrange the order. Photoshop has this
> and it is really userfriendly. Much more so than first selecting and then
> hitting the up and down arrows. I can't see how QTable would be able to do
> this, and since much of the code is already written why rewrite it.

There are two things: the new layer dialog. This should use a .ui file  -- 
there is no reason not to. The layer docker is another thing. This should use 
a qtable. QTable supports D&D -- take a look at the Qt documentation. Using a 
home-grown widget where a standard one exists isn't a good idea: it adds to 
the maintenance burden, it will quite likely be buggier (which it, in fact, 
is) and it will never conform as well to common ui standards. The only reason 
this particular chunk of code exists is that it was written before Qt 
actually had a QTable class.

> One other question: Does krita use lcms for actual colormanagement (like
> photoshop). This is a really important matter if krita is ever to be used
> professionally.

No. I don't understand the exact requirements, not being a graphics 
professional... If someone who does show real understanding shows up and 
start coding it'll go in, otherwise it probably won't happen...

-- 
Boudewijn Rempt | http://www.valdyas.org/fading/index.cgi


More information about the kimageshop mailing list