Feature request #3619

[FEATURE] Extended tooltips for tool bars

Added by Nathan Woodrow over 8 years ago. Updated over 2 years ago.

Assignee:Nathan Woodrow
Category:Documentation and Help
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:13678


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.

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

tooltips.diff Magnifier - tool tips diff (49.6 KB) Nathan Woodrow, 2011-03-15 03:23 AM


#1 Updated by Borys Jurgiel over 8 years ago

Two remarks:

1. I believe the first change in the diff (add a QToolBar) is a mistake?

2. 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.

#2 Updated by Werner Macho over 8 years ago

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?

#3 Updated by Borys Jurgiel over 8 years ago

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

#4 Updated by Werner Macho over 8 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 ..

#5 Updated by Nathan Woodrow over 8 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.

#6 Updated by Giovanni Manghi almost 8 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#7 Updated by Jürgen Fischer almost 8 years ago

  • Assignee changed from Tim Sutton to Nathan Woodrow
  • Pull Request or Patch supplied set to No

#8 Updated by Giovanni Manghi over 7 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

#9 Updated by Pirmin Kalberer about 7 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

#10 Updated by Médéric RIBREUX about 4 years ago

  • Status changed from Open to Feedback

Hello, bug triage...

it seems that the tooltips of the majority of QGIS tools are simple tooltips without styling information. They are all (well, a majority of them) correctly translated.

So what do we do now with this feature request ? Do you think we could have a better tooltip with style (but we have to deal with the translation problem) ?
Or perhaps tooltips should be kept simple and concise (read here ) and this feature request can be closed ?

#11 Updated by Médéric RIBREUX almost 4 years ago

  • Status changed from Feedback to Open

#12 Updated by Giovanni Manghi over 2 years ago

  • Easy fix? set to No

Also available in: Atom PDF