[Digikam-devel] image editor and print option (patch)

Caulier Gilles caulier.gilles at kdemail.net
Sun Jan 7 13:12:56 GMT 2007


Le dimanche 7 janvier 2007 14:08, Caulier Gilles(UNTRUSTED, sender is 
<digikam-devel-bounces-+caulier.gilles=kdemail.net at kde.org>) a écrit :
> Le vendredi 29 décembre 2006 22:08, Angelo Naselli a écrit :
> > Hi,
> > first of all I'd like to introduce myself, as some of you know
> > I'm kipi's project coordinator and an occasional developer.
> > Since I like the way gwenview prints photos (maybe just
> > because I did, but I did because i'd have liked to have it :) )
> > I decided to port that code here. I mean there are two ways
> > to print, either using kipi-plugins or using image editor.
> > The first one is the best, but sometime i like to print out an
> > image just because i'm watching it. If I use gwenview the code
> > allows it and manages two options that are missed here e.g.
> > keep ratio and alignment. Well there is something more but i've
> > spent a lot of time to insert gui objects, I'm not very good at it
> > and i prefer to use ui files and designer (Gilles I know you don't,
> > but it's very easy for occasional contributors), so the code is still
> > in gwenview. Just want to recall the B&W option I cannot believe someone
> > ever used it, two colors, better using grayscale, but that is a driver
> > option, so no need to add it ;) (even if the preview is not good)
> > IIRC the so called "fit to page" option works if an image has to
> > be enlarge and not shrinked... And all of that is in gwenview
> > code.
> > Anyway the attached patch is something that improve the print function.
> > Hope you'll like it and commit (i can do it if you like).
> >
> > Just another thought, why trash is near print in the menu, it seems
> > a bit dangerous...
> >
> > Regards,
> > 	Angelo
>
> Tested here. Patch sound fine for me. You can commit source code.
>
> Gilles

Angelo,

Look like with your patch, there is something wrong with layout management of 
print dialog. Look the error messages from Qt on the console :

QLayout: Adding QHBox/unnamed (child of QVButtonGroup/unnamed) to layout for 
Digikam::ImageEditorPrintDialogPage/digikam page
QLayout: Adding QHBox/unnamed (child of QVButtonGroup/unnamed) to layout for 
Digikam::ImageEditorPrintDialogPage/digikam page

Can you fix it ?

Gilles



> _______________________________________________
> Digikam-devel mailing list
> Digikam-devel at kde.org
> https://mail.kde.org/mailman/listinfo/digikam-devel



More information about the Digikam-devel mailing list