Opened 13 years ago

Last modified 13 years ago

#3619 new enhancement

[FEATURE] Extended tooltips for tool bars

Reported by: NathanW Owned by: timlinux
Priority: minor: annoyance Milestone: Version 1.7.0
Component: Documentation and Help Version:
Keywords: Cc:
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

Attached is a patch that I have been working on that adds more information to most tool tips to explain what the tool does. I think this would be good for new users to qgis. See image for example.

http://i.imgur.com/M5Ii9.png

I have done most of the main ones but will work on more over time.

Attachments (1)

tooltips.diff (49.6 KB ) - added by NathanW 13 years ago.
tool tips diff

Download all attachments as: .zip

Change History (6)

by NathanW, 13 years ago

Attachment: tooltips.diff added

tool tips diff

comment:1 by borysiasty, 13 years ago

Two remarks:

  1. I believe the first change in the diff (add a QToolBar) is a mistake?
  1. I'd move styles outside the strings (though I'm not sure how to do it - does widget css support also tooltips?). Translating these strings would be very unpleasant.

comment:2 by macho, 13 years ago

Platform: DebianAll

I'm with Borys.. There are some "bugs" in the diff..

Whats line 434-439 or 459-462

And of course - It will be hard to translate them with all this styles inside .. Is it really necessary? Did you style that yourself or did you only enter the text?

comment:3 by borysiasty, 13 years ago

I believe the rich text edit in Designer does it. Unfortunately Linguist doesn't support it.

comment:4 by macho, 13 years ago

In http://developer.qt.nokia.com/wiki/Qt_Creator_Translation_Page you can read:

In Qt 4.7, ALWAYS use the source tab of the Designer rich text editor and verify that you do not get unneeded HTML annotation created by the automatic conversion from the rich text editor tab. Reason being that it contains a lot of stylesheet information and hard-coded fonts that look bad on other platforms and are almost impossible to translate in Linguist (which does not have an HTML editor).

Qt Designer 4.8 has a feature simplifying the rich text (on by default), still, you should verify by looking at the source tab.

So we all gotta wait for Qt4.8 to use it - and still have to be careful ..

comment:5 by NathanW, 13 years ago

Bugger. I suspected the translation thing might be an issue but didn't really know how to test it.

I'll work on it and see what I can do. I'll fix the other bugs too.

Note: See TracTickets for help on using tickets.