Review Request: fix & improve template generation code
Friedrich W. H. Kossebau
kossebau at kde.org
Fri Jul 13 13:19:46 BST 2012
> On July 13, 2012, 7:05 a.m., C. Boemann wrote:
> > I think the select button should stick to custom, but there should be some spacing between the two
> > Other than that I like it
Okay, if you like the button next to the text, just have it :)
Adding the spacing could be achieved by changing the addItem(...) to addLayout(...), so the layout for the "Custom" bar finally inherited the spacing settings from the parent layouts.
Also changed a few other things, see Description below. Hope you still like it :)
Okay to backport to 2.5 with the string changes? Would ask the translators for exception. Or just go for the backport with the existing strings?
- Friedrich W. H.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/105406/#review15768
-----------------------------------------------------------
On July 13, 2012, 12:16 p.m., Friedrich W. H. Kossebau wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/105406/
> -----------------------------------------------------------
>
> (Updated July 13, 2012, 12:16 p.m.)
>
>
> Review request for Calligra.
>
>
> Description
> -------
>
> Another patch done on my quest to make thumbnails and previews working:
>
> * fix loading of proper high-size icon (Desktop is usually not 128 pixels)
> * fix preview generation to create 128x128 instead of 60x60
> * ensure saving of quadratic icons if preview or custom image is used
> * move code duplication around call of KoTemplateCreateDia::createTemplate(...)
> into that method (would like an answer on the TODO added there)
> * remove redundant label "Preview:" from dialog
> * make Select... button in dialog to align at right side, instead of sticking to the string "Custom"
>
> Ideally also gets backport to calligra/2.5...
>
>
> Diffs
> -----
>
> krita/ui/kis_view2.cpp 94ad9e4
> libs/main/KoTemplate.cpp 99d76da
> libs/main/KoTemplateCreateDia.h 4c4e478
> libs/main/KoTemplateCreateDia.cpp 8cf0c40
> plan/kptview.cpp ed28be3
> sheets/part/View.cpp c6d6b3c
> words/part/KWView.cpp 88a3de4
>
> Diff: http://git.reviewboard.kde.org/r/105406/diff/
>
>
> Testing
> -------
>
> Oh yes... Created new templates via the dialog in Words, Krita & Sheets, with and without custom pictures of all kind.
>
>
> Screenshots
> -----------
>
> Dialog with 2. patch
> http://git.reviewboard.kde.org/r/105406/s/631/
>
>
> Thanks,
>
> Friedrich W. H. Kossebau
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20120713/f6ebd1d2/attachment.htm>
More information about the calligra-devel
mailing list