Update: Re: Printing of Shortcuts

Andreas Pakulat apaku at gmx.de
Thu Mar 20 22:50:49 GMT 2008

On 18.03.08 00:54:29, Andreas Pakulat wrote:
> Hi,
> I just noticed the April 7th deadline and decided that this feature is
> probably doable until 4.1 (in contrast to the KTE addition I seemingly
> need to do): A print button in KShortcutsEditor.

Updated the patch a bit, new things:

- formatting, the table header is bold and larger than the text, same
  goes for the component names

- added some context to each listed action by also printing the
  whatsthis information (I would've used tooltip as thats usually
  shorter, but unfortunately none of the tooltips in kate are set
  properly). This should fix the issue Jaroslaw pointed out about
  ambiguous actions that happen to sit in different menus but have the
  same text

- a better header of the first page, including the applications short
  description from kaboutdata

The last problems:

- I'm using KGlobalSettings::generalFont() to get a base fontsize and
  I'm not sure thats the right thing to do - any better ideas?

- formatting, I'm not quite 100% satisfied (though I'd check this in as
  is), would be nice if somebody with some more knowledge about good
  text layout could give me some hints

I'm quite satisfied with how it looks now, I'll probably need to fiddle
a bit with the overall page layout as IMHO the table could be a bit

Also if somebody has a hint how to remove the Component table header
without shrinking that particular column it would be nice. The reason
for that is that IMHO its a bit unneeded to have that there as the
component is always on an own line in the table with the full row merged
and the first column is always empty in all other table rows.

As before the patch is attached as well as the result from printing to
pdf in kate.


An avocado-tone refrigerator would look good on your resume.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdeui_shortcut_print.diff
Type: text/x-diff
Size: 7458 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080320/40000a4b/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kdeui_shortcuts_print_example.pdf
Type: application/pdf
Size: 53356 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080320/40000a4b/attachment.pdf>

More information about the kde-core-devel mailing list