Skip to content

Commit

Permalink
Tooltips: added missing tooltips + refined pre-existing
Browse files Browse the repository at this point in the history
Some pre-existing tooltips needed to be a compound of lines instead of 1 long one.
Removed bold text from tooltip  
Removed URL from tooltip
  • Loading branch information
luzpaz authored and wwmayer committed Dec 5, 2019
1 parent 186d52f commit e7ee5fe
Show file tree
Hide file tree
Showing 9 changed files with 76 additions and 31 deletions.
4 changes: 4 additions & 0 deletions src/Gui/DlgReportView.ui
Expand Up @@ -88,6 +88,10 @@
</item>
<item row="3" column="0">
<widget class="Gui::PrefCheckBox" name="checkShowReportViewOnWarningOrError">
<property name="toolTip">
<string>When an error has occurred, the Report View dialog becomes visible
on-screen while displaying the error</string>
</property>
<property name="text">
<string>Show report view on warning or error</string>
</property>
Expand Down
13 changes: 7 additions & 6 deletions src/Gui/DlgSettings3DView.ui
Expand Up @@ -23,7 +23,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="CheckBox_CornerCoordSystem">
<property name="toolTip">
<string>Main coordinate system will always be shown at lower right in opened files</string>
<string>Main coordinate system will always be shown in
lower right corner within opened files</string>
</property>
<property name="text">
<string>Show coordinate system in the corner</string>
Expand All @@ -43,7 +44,7 @@
<widget class="Gui::PrefCheckBox" name="CheckBox_ShowFPS">
<property name="toolTip">
<string>Time needed for last operation and resulting frame rate
will be shown at the lower left in opened files</string>
will be shown at the lower left corner in opened files</string>
</property>
<property name="text">
<string>Show counter of frames per second</string>
Expand Down Expand Up @@ -132,16 +133,16 @@ will be shown at the lower left in opened files</string>
<item>
<widget class="Gui::PrefCheckBox" name="CheckBox_useVBO">
<property name="toolTip">
<string>If checked, Vertex Buffer Objects (VBO) will be used.
<string>If selected, Vertex Buffer Objects (VBO) will be used.
A VBO is an OpenGL feature that provides methods for uploading
vertex data (position, normal vector, color, etc.) to the graphics card.
VBOs offer substantial performance gains because the data resides
in the graphics memory rather than the system memory and so it
can be rendered directly by GPU.

Note: Sometimes this feature may lead to a host of different issues ranging
from graphical anomalies to GPU crash bugs. Remember to report this setting
is enabled when seeking support on the FreeCAD forums.</string>
Note: Sometimes this feature may lead to a host of different
issues ranging from graphical anomalies to GPU crash bugs. Remember to
report this setting as enabled when seeking support on the FreeCAD forums</string>
</property>
<property name="text">
<string>Use OpenGL VBO (Vertex Buffer Object)</string>
Expand Down
8 changes: 7 additions & 1 deletion src/Gui/DlgSettingsDocument.ui
Expand Up @@ -390,7 +390,7 @@ automatically run a file recovery when it is started.</string>
<item row="6" column="0">
<widget class="Gui::PrefCheckBox" name="prefAddLogo">
<property name="toolTip">
<string>Program logo will be added to the thumbnail</string>
<string>The FreeCAD logo will be added to the thumbnail</string>
</property>
<property name="text">
<string>Add the program logo to the generated thumbnail</string>
Expand Down Expand Up @@ -433,6 +433,12 @@ automatically run a file recovery when it is started.</string>
</item>
<item row="1" column="0">
<widget class="Gui::PrefCheckBox" name="prefPartialLoading">
<property name="toolTip">
<string>Enable partial loading of external linked document. When enabled, only
the referenced objects and their dependencies will be loaded when a linked
document is auto opened together with the main document.
A partially loaded document cannot be edited. Double click the document
icon in the tree view to reload it in full.</property>
<property name="text">
<string>Disable partial loading of external linked objects</string>
</property>
Expand Down
5 changes: 4 additions & 1 deletion src/Mod/Arch/Resources/ui/ArchSchedule.ui
Expand Up @@ -64,7 +64,10 @@
<string>Property</string>
</property>
<property name="toolTip">
<string>The property to retrieve from each object. Can be &quot;count&quot; to count the objects, or property names like &quot;Length&quot; or &quot;Shape.Volume&quot; to retrieve a certain property.</string>
<string>The property to retrieve from each object.
Can be &quot;count&quot; to count the objects, or property names
like &quot;Length&quot; or &quot;Shape.Volume&quot; to retrieve
a certain property.</string>
</property>
</column>
<column>
Expand Down
12 changes: 8 additions & 4 deletions src/Mod/Arch/Resources/ui/preferences-arch.ui
Expand Up @@ -582,7 +582,8 @@
<item>
<widget class="Gui::PrefLineEdit" name="lineEdit">
<property name="toolTip">
<string>This is the SVG stroke-dasharray property to apply to projections of hidden objects.</string>
<string>This is the SVG stroke-dasharray property to apply
to projections of hidden objects.</string>
</property>
<property name="text">
<string>30, 10</string>
Expand Down Expand Up @@ -641,7 +642,8 @@
<item>
<widget class="Gui::PrefDoubleSpinBox" name="doubleSpinBox">
<property name="toolTip">
<string>Scaling factor for patterns used by object that have a Footprint display mode</string>
<string>Scaling factor for patterns used by object that have
a Footprint display mode</string>
</property>
<property name="decimals">
<number>4</number>
Expand Down Expand Up @@ -683,7 +685,7 @@
<item>
<widget class="Gui::PrefLineEdit" name="lineEdit_2">
<property name="toolTip">
<string>The URL of a bim server instance (www.bimserver.org) to connect to.</string>
<string>The URL of a bim server instance (www.bimserver.org) to connect to.</string>
</property>
<property name="text">
<string>http://localhost:8082</string>
Expand All @@ -703,7 +705,9 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_3">
<property name="toolTip">
<string>If this is checked, the &quot;Open BimServer in browser&quot; button will open the Bim Server interface in an external browser instead of the FreeCAD web workbench</string>
<string>If this is selected, the &quot;Open BimServer in browser&quot;
button will open the Bim Server interface in an external browser
instead of the FreeCAD web workbench</string>
</property>
<property name="text">
<string>Open in external browser</string>
Expand Down
38 changes: 27 additions & 11 deletions src/Mod/Draft/Resources/ui/TaskSelectPlane.ui
Expand Up @@ -17,7 +17,8 @@
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Select a face or working plane proxy or 3 vertices, or choose one of the options below</string>
<string>Select a face or working plane proxy or 3 vertices.
Or choose one of the options below</string>
</property>
<property name="wordWrap">
<bool>true</bool>
Expand Down Expand Up @@ -67,7 +68,8 @@
<item>
<widget class="QPushButton" name="buttonAuto">
<property name="toolTip">
<string>The working plane will align to the current view each time a command is started</string>
<string>The working plane will align to the current
view each time a command is started</string>
</property>
<property name="statusTip">
<string/>
Expand All @@ -82,7 +84,9 @@
<item row="0" column="1">
<widget class="Gui::InputField" name="fieldOffset">
<property name="toolTip">
<string>an optional offset to give to the working plane above its base position. Use this together with one of the buttons above</string>
<string>An optional offset to give to the working plane
above its base position. Use this together with one
of the buttons above</string>
</property>
<property name="unit" stdset="0">
<string notr="true"/>
Expand All @@ -99,7 +103,9 @@
<item row="1" column="0">
<widget class="QLabel" name="label_5">
<property name="toolTip">
<string>if this is checked, the working plane will be centered on the current view when pressing one of the buttons above</string>
<string>If this is selected, the working plane will be
centered on the current view when pressing one
of the buttons above</string>
</property>
<property name="text">
<string>Center plane on view</string>
Expand All @@ -109,7 +115,9 @@
<item row="1" column="1">
<widget class="QCheckBox" name="checkCenter">
<property name="toolTip">
<string>if this is checked, the working plane will be centered on the current view when pressing one of the buttons above</string>
<string>If this is selected, the working plane will be
centered on the current view when pressing one
of the buttons above</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
Expand All @@ -124,7 +132,9 @@
<item>
<widget class="QLabel" name="label_7">
<property name="text">
<string>Or select a single vertex to move the current working plane without changing its orientation. Then, press the button below</string>
<string>Or select a single vertex to move the current
working plane without changing its orientation.
Then, press the button below</string>
</property>
<property name="wordWrap">
<bool>true</bool>
Expand All @@ -134,7 +144,9 @@
<item>
<widget class="QPushButton" name="buttonMove">
<property name="toolTip">
<string>Moves the working plane without changing its orientation. If no point is selected, the plane will be moved to the center of the view</string>
<string>Moves the working plane without changing its
orientation. If no point is selected, the plane
will be moved to the center of the view</string>
</property>
<property name="text">
<string>Move working plane</string>
Expand Down Expand Up @@ -166,7 +178,7 @@
<item row="2" column="0">
<widget class="QLabel" name="label_4">
<property name="toolTip">
<string>the number of squares between each main line of the grid</string>
<string>The number of squares between each main line of the grid</string>
</property>
<property name="text">
<string>Main line every</string>
Expand All @@ -176,21 +188,25 @@
<item row="2" column="1">
<widget class="QSpinBox" name="fieldGridMainLine">
<property name="toolTip">
<string>the number of squares between each main line of the grid</string>
<string>The number of squares between each main line of the grid</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="fieldSnapRadius">
<property name="toolTip">
<string>The distance at which a point can be snapped to when approaching the mouse. You can alsochange this value by using the [ and ] keys while drawing</string>
<string>The distance at which a point can be snapped to
when approaching the mouse. You can also change this
value by using the [ and ] keys while drawing</string>
</property>
</widget>
</item>
<item row="3" column="0">
<widget class="QLabel" name="label_6">
<property name="toolTip">
<string>The distance at which a point can be snapped to when approaching the mouse. You can alsochange this value by using the [ and ] keys while drawing</string>
<string>The distance at which a point can be snapped to
when approaching the mouse. You can also change this
value by using the [ and ] keys while drawing</string>
</property>
<property name="text">
<string>Snapping radius</string>
Expand Down
12 changes: 7 additions & 5 deletions src/Mod/Draft/Resources/ui/preferences-dxf.ui
Expand Up @@ -39,8 +39,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_4">
<property name="toolTip">
<string>Python importer is used, otherwise the newer C++ one.
The C++ importer is faster, but has not as many features yet.</string>
<string>Python importer is used, otherwise the newer C++ is used.
Note: C++ importer is faster, but is not as featureful yet</string>
</property>
<property name="text">
<string>Use legacy python importer</string>
Expand All @@ -58,6 +58,9 @@ The C++ importer is faster, but has not as many features yet.</string>
</item>
<item>
<widget class="Gui::PrefCheckBox" name="checkBox_7">
<property name="toolTip">
<string>Python exporter is used, otherwise the newer C++ is used.
Note: C++ importer is faster, but is not as featureful yet</string>
<property name="text">
<string>Use legacy python exporter</string>
</property>
Expand All @@ -81,9 +84,8 @@ The C++ importer is faster, but has not as many features yet.</string>
<widget class="Gui::PrefCheckBox" name="checkBox_3">
<property name="toolTip">
<string>Allow FreeCAD to download the Python converter for DXF import and export.
You can also do that manually, by visiting
https://github.com/yorikvanhavre/Draft-dxf-importer
</string>
You can also do this manually by installing the "dxf_library" workbench
from the Addon Manager.</string>
</property>
<property name="text">
<string>Allow FreeCAD to automatically download and update the DXF libraries</string>
Expand Down
7 changes: 5 additions & 2 deletions src/Mod/Sketcher/Gui/SketchRectangularArrayDialog.ui
Expand Up @@ -90,7 +90,8 @@
<item>
<widget class="Gui::PrefCheckBox" name="ConstraintSeparationCheckBox">
<property name="toolTip">
<string>If selected, each element in the array is constrained with respect to the others using construction lines</string>
<string>If selected, each element in the array is constrained
with respect to the others using construction lines</string>
</property>
<property name="layoutDirection">
<enum>Qt::LeftToRight</enum>
Expand All @@ -112,7 +113,9 @@
<item>
<widget class="Gui::PrefCheckBox" name="CloneCheckBox">
<property name="toolTip">
<string>If checked it substitutes dimensional constraints by geometric constraints in the copies, so that a change in the original element is directly reflected on copies</string>
<string>If selected, it substitutes dimensional constraints by geometric constraints
in the copies, so that a change in the original element is directly
reflected on copies</string>
</property>
<property name="text">
<string>Clone</string>
Expand Down
8 changes: 7 additions & 1 deletion src/Mod/Start/Gui/DlgStartPreferences.ui
Expand Up @@ -548,6 +548,9 @@
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
</property>
<property name="toolTip">
<string>If this is selected, the 'New File' icon shows a gradient icon instead of the normal icon</string>
</property>
<property name="text">
<string/>
</property>
Expand All @@ -570,11 +573,14 @@
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="1">
<widget class="QComboBox" name="AutoloadModuleCombo"/>
<property name="toolTip">
<string>Choose which workbench to switch to after FreeCAD launches</string>
</property>
</item>
<item row="1" column="1">
<widget class="Gui::PrefCheckBox" name="checkBox_2">
<property name="toolTip">
<string>Should the start page be closed after loading?</string>
<string>If checked, will automatically close the Start page when FreeCAD launches</string>
</property>
<property name="layoutDirection">
<enum>Qt::RightToLeft</enum>
Expand Down

0 comments on commit e7ee5fe

Please sign in to comment.