When using the "What's this?" tool on a tool, it should open the help file with the proper page.
It's not working with a bunch of TechDraw command pages, because they were not created with the same name as the sWhatsThis field found for these commands in Command.cpp, CommandCreateDims.cpp and CommandDecorate.cpp.
Here's a demonstration:
This is shortly covered in Gui_Command (maybe not in enough detail). Most pages follow this rule: the sWhatsThis field is the same as the internal command name; the command page on the wiki shares the same name.
To follow these guidelines, a bunch of wiki pages would have to be renamed. Unfortunately, what complicates the matter is that all those pages have already been completely translated in French and Italian.
A quick hack would be to change the sWhatsThis fields to match the currently named wiki pages.
Here's the list of pages that would have to be renamed:
Left=current / Right=new name
TechDraw_New_Default ---> TechDraw_NewPageDef
TechDraw_New_Pick ---> TechDraw_NewPage
TechDraw_NewProjGroup ---> TechDraw_ProjGroup
TechDraw_NewSection ---> TechDraw_NewViewSection
TechDraw_NewAnnotation ---> TechDraw_Annotation
TechDraw_NewDraft ---> TechDraw_DraftView
TechDraw_NewArch ---> TechDraw_ArchView
TechDraw_Dimension_Length ---> TechDraw_NewLengthDimension
TechDraw_NewDetail ---> TechDraw_NewViewDetail
TechDraw_Dimension_Horizontal ---> TechDraw_NewDistanceXDimension
TechDraw_Dimension_Vertical ---> TechDraw_NewDistanceYDimension
TechDraw_Dimension_Radius ---> TechDraw_NewRadiusDimension
TechDraw_Dimension_Diameter ---> TechDraw_NewDiameterDimension
TechDraw_Dimension_Angle ---> TechDraw_NewAngleDimension
TechDraw_Dimension_Link ---> TechDraw_LinkDimension
TechDraw_SaveSVG ---> TechDraw_ExportPage
TechDraw_Hatch ---> TechDraw_NewHatch
TechDraw_GeomHatch ---> TechDraw_NewGeomHatch
TechDraw_Toggle ---> TechDraw_ToggleFrame
TechDraw_Redraw ---> TechDraw_RedrawPage
That's a hell of a job to rename all of this and to redo all the translations.
What do you guys think we should do?
renatorivo wrote:ping
Thanks.wandererfan wrote:ping