add and uniform general preferences tooltips

This commit is contained in:
donovaly
2019-07-16 02:57:27 +02:00
committed by wmayer
parent f6e04f1829
commit a2fa902feb
8 changed files with 351 additions and 119 deletions

View File

@@ -1,10 +1,8 @@
<ui version="4.0" >
<author></author>
<comment></comment>
<exportmacro></exportmacro>
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Gui::Dialog::DlgEditorSettings</class>
<widget class="QWidget" name="Gui::Dialog::DlgEditorSettings" >
<property name="geometry" >
<widget class="QWidget" name="Gui::Dialog::DlgEditorSettings">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
@@ -12,7 +10,7 @@
<height>553</height>
</rect>
</property>
<property name="windowTitle" >
<property name="windowTitle">
<string>Editor</string>
</property>
<layout class="QGridLayout" >
@@ -22,9 +20,9 @@
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="0" >
<widget class="QGroupBox" name="GroupBox2" >
<property name="title" >
<item row="1" column="0">
<widget class="QGroupBox" name="GroupBox2">
<property name="title">
<string>Options</string>
</property>
<layout class="QVBoxLayout" >
@@ -35,49 +33,52 @@
<number>6</number>
</property>
<item>
<widget class="Gui::PrefCheckBox" name="EnableLineNumber" >
<property name="focusPolicy" >
<widget class="Gui::PrefCheckBox" name="EnableLineNumber">
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="text" >
<property name="toolTip">
<string>Code lines will be numbered </string>
</property>
<property name="text">
<string>Enable line numbers</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
<property name="prefEntry" stdset="0" >
<property name="prefEntry" stdset="0">
<cstring>EnableLineNumber</cstring>
</property>
<property name="prefPath" stdset="0" >
<property name="prefPath" stdset="0">
<cstring>Editor</cstring>
</property>
</widget>
</item>
<item>
<widget class="Gui::PrefCheckBox" name="EnableFolding" >
<property name="text" >
<widget class="Gui::PrefCheckBox" name="EnableFolding">
<property name="text">
<string>Enable folding</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
<property name="prefEntry" stdset="0" >
<property name="prefEntry" stdset="0">
<cstring>EnableFolding</cstring>
</property>
<property name="prefPath" stdset="0" >
<property name="prefPath" stdset="0">
<cstring>Editor</cstring>
</property>
</widget>
</item>
<item>
<spacer>
<property name="orientation" >
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeType" >
<property name="sizeType">
<enum>QSizePolicy::Ignored</enum>
</property>
<property name="sizeHint" >
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
<height>40</height>
@@ -88,9 +89,9 @@
</layout>
</widget>
</item>
<item row="1" column="1" >
<widget class="QGroupBox" name="groupBoxIndent" >
<property name="title" >
<item row="1" column="1">
<widget class="QGroupBox" name="groupBoxIndent">
<property name="title">
<string>Indentation</string>
</property>
<layout class="QGridLayout" >
@@ -100,71 +101,83 @@
<property name="spacing" >
<number>6</number>
</property>
<item row="3" column="0" colspan="2" >
<widget class="Gui::PrefRadioButton" name="radioSpaces" >
<property name="text" >
<item row="3" column="0" colspan="2">
<widget class="Gui::PrefRadioButton" name="radioSpaces">
<property name="toolTip">
<string>Pressing &lt;Tab&gt; will insert amount of defined indent size</string>
</property>
<property name="text">
<string>Insert spaces</string>
</property>
<property name="prefEntry" stdset="0" >
<property name="prefEntry" stdset="0">
<cstring>Spaces</cstring>
</property>
<property name="prefPath" stdset="0" >
<property name="prefPath" stdset="0">
<cstring>Editor</cstring>
</property>
</widget>
</item>
<item row="0" column="0" >
<widget class="QLabel" name="textLabel1" >
<property name="text" >
<item row="0" column="0">
<widget class="QLabel" name="textLabel1">
<property name="text">
<string>Tab size:</string>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="Gui::PrefSpinBox" name="tabSize" >
<property name="value" >
<item row="0" column="1">
<widget class="Gui::PrefSpinBox" name="tabSize">
<property name="toolTip">
<string>Tabulator raster (how many spaces)</string>
</property>
<property name="value">
<number>4</number>
</property>
<property name="prefEntry" stdset="0" >
<property name="prefEntry" stdset="0">
<cstring>TabSize</cstring>
</property>
<property name="prefPath" stdset="0" >
<property name="prefPath" stdset="0">
<cstring>Editor</cstring>
</property>
</widget>
</item>
<item row="1" column="0" >
<widget class="QLabel" name="textLabel2" >
<property name="text" >
<item row="1" column="0">
<widget class="QLabel" name="textLabel2">
<property name="text">
<string>Indent size:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="Gui::PrefSpinBox" name="indentSize" >
<property name="value" >
<item row="1" column="1">
<widget class="Gui::PrefSpinBox" name="indentSize">
<property name="toolTip">
<string>How many spaces will be inserted when pressing &lt;Tab&gt;</string>
</property>
<property name="value">
<number>4</number>
</property>
<property name="prefEntry" stdset="0" >
<property name="prefEntry" stdset="0">
<cstring>IndentSize</cstring>
</property>
<property name="prefPath" stdset="0" >
<property name="prefPath" stdset="0">
<cstring>Editor</cstring>
</property>
</widget>
</item>
<item row="2" column="0" colspan="2" >
<widget class="Gui::PrefRadioButton" name="radioTabs" >
<property name="text" >
<item row="2" column="0" colspan="2">
<widget class="Gui::PrefRadioButton" name="radioTabs">
<property name="toolTip">
<string>Pressing &lt;Tab&gt; will insert a tabulator with defined tab size</string>
</property>
<property name="text">
<string>Keep tabs</string>
</property>
<property name="checked" >
<property name="checked">
<bool>true</bool>
</property>
<property name="prefEntry" stdset="0" >
<property name="prefEntry" stdset="0">
<cstring>Tabs</cstring>
</property>
<property name="prefPath" stdset="0" >
<property name="prefPath" stdset="0">
<cstring>Editor</cstring>
</property>
</widget>
@@ -172,18 +185,16 @@
</layout>
</widget>
</item>
<item row="0" column="0" colspan="2" >
<widget class="QGroupBox" name="GroupBox5" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>7</vsizetype>
<item row="0" column="0" colspan="2">
<widget class="QGroupBox" name="GroupBox5">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="title" >
<string>Display Items</string>
<property name="title">
<string>Display items</string>
</property>
<layout class="QGridLayout" >
<property name="margin" >
@@ -192,97 +203,105 @@
<property name="spacing" >
<number>6</number>
</property>
<item row="1" column="2" >
<widget class="Gui::PrefSpinBox" name="fontSize" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<item row="1" column="2">
<widget class="Gui::PrefSpinBox" name="fontSize">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimum" >
<property name="toolTip">
<string>Font size to be used for selected code type</string>
</property>
<property name="minimum">
<number>1</number>
</property>
<property name="value" >
<property name="value">
<number>10</number>
</property>
<property name="prefEntry" stdset="0" >
<property name="prefEntry" stdset="0">
<cstring>FontSize</cstring>
</property>
<property name="prefPath" stdset="0" >
<property name="prefPath" stdset="0">
<cstring>Editor</cstring>
</property>
</widget>
</item>
<item rowspan="4" row="0" column="0" >
<widget class="QTreeWidget" name="displayItems" >
<property name="rootIsDecorated" >
<item row="0" column="0" rowspan="4">
<widget class="QTreeWidget" name="displayItems">
<property name="toolTip">
<string>Color and font settings will be applied to selected type</string>
</property>
<property name="rootIsDecorated">
<bool>false</bool>
</property>
<column>
<property name="text">
<string notr="true">1</string>
</property>
</column>
</widget>
</item>
<item row="4" column="0" >
<widget class="Gui::ColorButton" name="colorButton" >
<property name="minimumSize" >
<item row="4" column="0">
<widget class="Gui::ColorButton" name="colorButton">
<property name="minimumSize">
<size>
<width>140</width>
<height>0</height>
</size>
</property>
<property name="focusPolicy" >
<property name="focusPolicy">
<enum>Qt::TabFocus</enum>
</property>
<property name="text" >
<property name="text">
<string/>
</property>
</widget>
</item>
<item row="0" column="1" >
<widget class="QLabel" name="TextLabel3" >
<property name="text" >
<item row="0" column="1">
<widget class="QLabel" name="TextLabel3">
<property name="text">
<string>Family:</string>
</property>
</widget>
</item>
<item row="1" column="1" >
<widget class="QLabel" name="TextLabel4" >
<property name="text" >
<item row="1" column="1">
<widget class="QLabel" name="TextLabel4">
<property name="text">
<string>Size:</string>
</property>
</widget>
</item>
<item row="0" column="2" >
<widget class="QComboBox" name="fontFamily" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>7</hsizetype>
<vsizetype>0</vsizetype>
<item row="0" column="2">
<widget class="QComboBox" name="fontFamily">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Font family to be used for selected code type</string>
</property>
</widget>
</item>
<item row="2" column="1" colspan="2" >
<widget class="QLabel" name="label" >
<property name="sizePolicy" >
<sizepolicy>
<hsizetype>5</hsizetype>
<vsizetype>0</vsizetype>
<item row="2" column="1" colspan="2">
<widget class="QLabel" name="label">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text" >
<property name="text">
<string>Preview:</string>
</property>
</widget>
</item>
<item rowspan="2" row="3" column="1" colspan="2" >
<widget class="QTextEdit" name="textEdit1" >
<property name="tabStopWidth" >
<item row="3" column="1" rowspan="2" colspan="2">
<widget class="QTextEdit" name="textEdit1">
<property name="tabStopWidth">
<number>40</number>
</property>
</widget>
@@ -292,7 +311,7 @@
</item>
</layout>
</widget>
<layoutdefault spacing="6" margin="11" />
<layoutdefault spacing="6" margin="11"/>
<customwidgets>
<customwidget>
<class>Gui::ColorButton</class>

View File

@@ -54,7 +54,11 @@
</widget>
</item>
<item>
<widget class="QComboBox" name="Languages"/>
<widget class="QComboBox" name="Languages">
<property name="toolTip">
<string>Language of FreeCAD's user interface</string>
</property>
</widget>
</item>
</layout>
</item>
@@ -106,6 +110,9 @@
</item>
<item>
<widget class="Gui::PrefSpinBox" name="RecentFiles">
<property name="toolTip">
<string>How many files should be listed in recent files list</string>
</property>
<property name="value">
<number>4</number>
</property>
@@ -129,6 +136,10 @@
</property>
<item>
<widget class="QCheckBox" name="tiledBackground">
<property name="toolTip">
<string>Background of FreeCAD's main window will consist of tiles of a special image.
See the FreeCAD Wiki for details about the image.</string>
</property>
<property name="text">
<string>Enable tiled background</string>
</property>
@@ -152,7 +163,11 @@
</widget>
</item>
<item>
<widget class="QComboBox" name="StyleSheets"/>
<widget class="QComboBox" name="StyleSheets">
<property name="toolTip">
<string>Style sheet how user interface will look like</string>
</property>
</widget>
</item>
</layout>
</item>
@@ -172,7 +187,11 @@
</widget>
</item>
<item>
<widget class="QComboBox" name="toolbarIconSize"/>
<widget class="QComboBox" name="toolbarIconSize">
<property name="toolTip">
<string>Size for the toolbar icons</string>
</property>
</widget>
</item>
</layout>
</item>
@@ -193,6 +212,9 @@
</property>
<item row="2" column="0">
<widget class="Gui::PrefCheckBox" name="SplashScreen">
<property name="toolTip">
<string>Splash screen of FreeCAD is shown when starting</string>
</property>
<property name="text">
<string>Enable splash screen at start up</string>
</property>
@@ -223,7 +245,11 @@
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="AutoloadModuleCombo"/>
<widget class="QComboBox" name="AutoloadModuleCombo">
<property name="toolTip">
<string>What workbench will be used after starting FreeCAD</string>
</property>
</widget>
</item>
</layout>
</item>
@@ -244,6 +270,10 @@
</property>
<item row="0" column="0">
<widget class="Gui::PrefCheckBox" name="PythonWordWrap">
<property name="toolTip">
<string>Words will be wrapped when they exceed available
horizontal space in Python console</string>
</property>
<property name="text">
<string>Enable word wrap</string>
</property>

View File

@@ -34,6 +34,9 @@
</property>
<item row="0" column="0">
<widget class="Gui::PrefCheckBox" name="checkLogging">
<property name="toolTip">
<string>Log messages will be recorded</string>
</property>
<property name="text">
<string>Record log messages</string>
</property>
@@ -47,6 +50,9 @@
</item>
<item row="1" column="0">
<widget class="Gui::PrefCheckBox" name="checkWarning">
<property name="toolTip">
<string>Warnings will be recorded</string>
</property>
<property name="text">
<string>Record warnings</string>
</property>
@@ -63,6 +69,9 @@
</item>
<item row="2" column="0">
<widget class="Gui::PrefCheckBox" name="checkError">
<property name="toolTip">
<string>Error messages will be recorded</string>
</property>
<property name="text">
<string>Record error messages</string>
</property>
@@ -171,6 +180,9 @@
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Font color for normal messages in Report view panel</string>
</property>
<property name="text">
<string/>
</property>
@@ -226,6 +238,9 @@
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Font color for log messages in Report view panel</string>
</property>
<property name="text">
<string/>
</property>
@@ -281,6 +296,9 @@
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Font color for warning messages in Report view panel</string>
</property>
<property name="text">
<string/>
</property>
@@ -336,6 +354,9 @@
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Font color for error messages in Report view panel</string>
</property>
<property name="text">
<string/>
</property>
@@ -367,6 +388,10 @@
<layout class="QGridLayout" name="gridLayout_2">
<item row="0" column="0">
<widget class="Gui::PrefCheckBox" name="pythonOutput">
<property name="toolTip">
<string>Internal Python output will be redirected
from Python console to Report view panel</string>
</property>
<property name="text">
<string>Redirect internal Python output to report view</string>
</property>
@@ -383,6 +408,10 @@
</item>
<item row="1" column="0">
<widget class="Gui::PrefCheckBox" name="pythonError">
<property name="toolTip">
<string>Internal Python error messages will be redirected
from Python console to Report view panel</string>
</property>
<property name="text">
<string>Redirect internal Python errors to report view</string>
</property>

View File

@@ -22,6 +22,9 @@
<layout class="QVBoxLayout" name="verticalLayout">
<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>
</property>
<property name="text">
<string>Show coordinate system in the corner</string>
</property>
@@ -38,6 +41,10 @@
</item>
<item>
<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>
</property>
<property name="text">
<string>Show counter of frames per second</string>
</property>
@@ -53,6 +60,9 @@
<layout class="QHBoxLayout">
<item>
<widget class="Gui::PrefCheckBox" name="CheckBox_NaviCube">
<property name="toolTip">
<string>Navigation cube will always be shown in opened files </string>
</property>
<property name="text">
<string>Show navigation cube</string>
</property>
@@ -89,6 +99,9 @@
</item>
<item>
<widget class="QComboBox" name="naviCubeCorner">
<property name="toolTip">
<string>Corner where navigation cube is shown</string>
</property>
<property name="currentIndex">
<number>1</number>
</property>
@@ -118,8 +131,11 @@
</item>
<item>
<widget class="Gui::PrefCheckBox" name="CheckBox_useVBO">
<property name="toolTip">
<string>Vertex Buffer Objects (VBO) will be used</string>
</property>
<property name="text">
<string>Use OpenGL Vertex Buffer Object</string>
<string>Use OpenGL vertex buffer object</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>UseVBO</cstring>
@@ -134,6 +150,9 @@
<property name="enabled">
<bool>true</bool>
</property>
<property name="toolTip">
<string>Enable animated rotations</string>
</property>
<property name="text">
<string>Enable animation</string>
</property>
@@ -159,6 +178,9 @@
</item>
<item row="0" column="1">
<widget class="QComboBox" name="comboNavigationStyle">
<property name="toolTip">
<string>Navigation settings set</string>
</property>
<property name="currentIndex">
<number>-1</number>
</property>
@@ -186,6 +208,11 @@
</item>
<item row="1" column="1">
<widget class="QComboBox" name="comboOrbitStyle">
<property name="toolTip">
<string>Rotation orbit style.
Trackball: moving the mouse horizontally will rotate the part around the y-axis
Turntable: the part will be rotated around the z-axis.</string>
</property>
<property name="currentIndex">
<number>1</number>
</property>
@@ -210,6 +237,9 @@
</item>
<item row="2" column="1">
<widget class="Gui::PrefComboBox" name="comboAliasing">
<property name="toolTip">
<string>What kind of multisample anti-aliasing is used </string>
</property>
<property name="prefEntry" stdset="0">
<cstring>AntiAliasing</cstring>
</property>
@@ -252,6 +282,9 @@
</item>
<item row="3" column="1">
<widget class="QComboBox" name="comboNewDocView">
<property name="toolTip">
<string>Camera orientation for new documents </string>
</property>
</widget>
</item>
</layout>
@@ -260,6 +293,9 @@
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="Gui::PrefCheckBox" name="checkBoxZoomAtCursor">
<property name="toolTip">
<string>Zoom operations will be performed at position of mouse pointer</string>
</property>
<property name="text">
<string>Zoom at cursor</string>
</property>
@@ -296,6 +332,10 @@
</item>
<item>
<widget class="Gui::PrefDoubleSpinBox" name="spinBoxZoomStep">
<property name="toolTip">
<string>How much will be zoomed.
Zoom step of '1' means a factor of 7.5 for every zoom step. </string>
</property>
<property name="minimum">
<double>0.010000000000000</double>
</property>
@@ -320,6 +360,9 @@
</item>
<item>
<widget class="Gui::PrefCheckBox" name="checkBoxInvertZoom">
<property name="toolTip">
<string>Direction of zoom operations will be inverted</string>
</property>
<property name="text">
<string>Invert zoom</string>
</property>
@@ -337,7 +380,9 @@
<item>
<widget class="Gui::PrefCheckBox" name="checkBoxDisableTilt">
<property name="toolTip">
<string>Prevents view tilting when pinch-zooming. Affects only Gesture nav. style. Mouse tilting is not disabled by this setting.</string>
<string>Prevents view tilting when pinch-zooming.
Affects only gesture navigation style.
Mouse tilting is not disabled by this setting.</string>
</property>
<property name="text">
<string>Disable touchscreen tilt gesture</string>
@@ -355,8 +400,11 @@
</item>
<item>
<widget class="Gui::PrefCheckBox" name="checkBoxDragAtCursor">
<property name="toolTip">
<string>Rotations in 3D will use current cursor position as center for rotation</string>
</property>
<property name="text">
<string>Drag at cursor</string>
<string>Rotate at cursor</string>
</property>
<property name="checked">
<bool>false</bool>
@@ -388,13 +436,20 @@
</property>
<item>
<widget class="QLabel" name="markerSizeLabel">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Marker size:</string>
</property>
</widget>
</item>
<item>
<widget class="QComboBox" name="boxMarkerSize"/>
<widget class="QComboBox" name="boxMarkerSize">
<property name="toolTip">
<string>Size of vertices in the Sketcher workbench</string>
</property>
</widget>
</item>
</layout>
</item>
@@ -437,6 +492,11 @@
</item>
<item>
<widget class="Gui::PrefDoubleSpinBox" name="FloatSpinBox_EyeDistance">
<property name="toolTip">
<string>Eye-to-eye distance used for stereo projections.
The specified value is a factor that will be multiplied with the
bounding box size of the 3D object that is currently displayed. </string>
</property>
<property name="decimals">
<number>1</number>
</property>
@@ -500,6 +560,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Intensity of the backlight</string>
</property>
<property name="maximum">
<number>100</number>
</property>
@@ -531,6 +594,9 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="toolTip">
<string>Backlight color</string>
</property>
<property name="color" stdset="0">
<color>
<red>255</red>
@@ -548,6 +614,9 @@
</item>
<item row="1" column="0">
<widget class="QLabel" name="backlightLabel">
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Intensity of backlight</string>
</property>
@@ -555,6 +624,9 @@
</item>
<item row="0" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxBacklight">
<property name="toolTip">
<string>Backlight is enabled with the defined color</string>
</property>
<property name="text">
<string>Enable backlight color</string>
</property>
@@ -594,6 +666,9 @@
</property>
<item row="0" column="1">
<widget class="Gui::PrefRadioButton" name="radioOrthographic">
<property name="toolTip">
<string>Objects will be projected in orthographic projection</string>
</property>
<property name="text">
<string>Or&amp;thographic rendering</string>
</property>
@@ -610,6 +685,9 @@
</item>
<item row="0" column="0">
<widget class="Gui::PrefRadioButton" name="radioPerspective">
<property name="toolTip">
<string>Objects will appear in a perspective projection</string>
</property>
<property name="text">
<string>Perspective renderin&amp;g</string>
</property>

View File

@@ -57,6 +57,9 @@
</item>
<item>
<widget class="Gui::PrefSpinBox" name="prefCompression">
<property name="toolTip">
<string>Compression level for FCStd files</string>
</property>
<property name="value">
<number>3</number>
</property>
@@ -87,6 +90,9 @@
</item>
<item>
<widget class="Gui::PrefSpinBox" name="prefUndoRedoSize">
<property name="toolTip">
<string>How many Undo/Redo steps should be recorded</string>
</property>
<property name="value">
<number>20</number>
</property>
@@ -102,6 +108,9 @@
</item>
<item row="0" column="0">
<widget class="Gui::PrefCheckBox" name="prefCheckNewDoc">
<property name="toolTip">
<string>FreeCAD will create a new document when started</string>
</property>
<property name="text">
<string>Create new document at start up</string>
</property>
@@ -144,6 +153,9 @@
</item>
<item row="4" column="0">
<widget class="Gui::PrefCheckBox" name="prefUndoRedo">
<property name="toolTip">
<string>All changes in documents are stored so that they can be undone/redone</string>
</property>
<property name="text">
<string>Using Undo/Redo on documents</string>
</property>
@@ -201,6 +213,10 @@
</item>
<item row="2" column="0">
<widget class="Gui::PrefCheckBox" name="prefRecovery">
<property name="toolTip">
<string>If there is a recovery file available FreeCAD will
automatically run a file recovery when it is started.</string>
</property>
<property name="text">
<string>Run AutoRecovery at startup</string>
</property>
@@ -219,6 +235,9 @@
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="Gui::PrefCheckBox" name="prefAutoSaveEnabled">
<property name="toolTip">
<string>How often a recovery file is written</string>
</property>
<property name="text">
<string>Save AutoRecovery information every</string>
</property>
@@ -272,6 +291,9 @@
</item>
<item row="5" column="0">
<widget class="Gui::PrefCheckBox" name="prefSaveThumbnail">
<property name="toolTip">
<string>A thumbnail will be stored when document is saved</string>
</property>
<property name="text">
<string>Save thumbnail into project file when saving document</string>
</property>
@@ -293,6 +315,9 @@
</property>
<item>
<widget class="Gui::PrefCheckBox" name="prefSaveBackupFiles">
<property name="toolTip">
<string>How many backup files will be kept when saving document</string>
</property>
<property name="text">
<string>Maximum number of backup files to keep when resaving document</string>
</property>
@@ -340,6 +365,9 @@
</item>
<item row="6" column="0">
<widget class="Gui::PrefCheckBox" name="prefAddLogo">
<property name="toolTip">
<string>FreeCAD program logo will be added to the thumbnail</string>
</property>
<property name="text">
<string>Add the program logo to the generated thumbnail</string>
</property>
@@ -365,6 +393,9 @@
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="Gui::PrefCheckBox" name="prefDuplicateLabel">
<property name="toolTip">
<string>Allow objects to have same label/name</string>
</property>
<property name="text">
<string>Allow duplicate object labels in one document</string>
</property>
@@ -395,7 +426,9 @@
<item row="0" column="1">
<widget class="Gui::PrefLineEdit" name="prefAuthor">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;The name to use on document creation.&lt;/p&gt;&lt;p&gt;Keep blank for anonymous.&lt;/p&gt;&lt;p&gt;You can also use the form:&lt;/p&gt;&lt;p&gt;John Doe &amp;lt;john@doe.com&amp;gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>All documents that will be created will get the specified author name.
Keep blank for anonymous.
You can also use the form: John Doe &lt;john@doe.com&gt;</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>prefAuthor</cstring>
@@ -408,7 +441,7 @@
<item row="0" column="2">
<widget class="Gui::PrefCheckBox" name="prefSetAuthorOnSave">
<property name="toolTip">
<string>If this is checked, the &quot;Last modified by&quot; field will be set when saving the file</string>
<string>The field 'Last modified by' will be set to specified author when saving the file</string>
</property>
<property name="text">
<string>Set on save</string>
@@ -431,7 +464,7 @@
<item row="1" column="1" colspan="2">
<widget class="Gui::PrefLineEdit" name="prefCompany">
<property name="toolTip">
<string>The default company to use for new files</string>
<string>Default company name to use for new files</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>prefCompany</cstring>
@@ -454,7 +487,7 @@
<bool>true</bool>
</property>
<property name="toolTip">
<string>The default license for new documents</string>
<string>Default license for new documents</string>
</property>
<property name="editable">
<bool>false</bool>
@@ -527,7 +560,7 @@
<item row="3" column="1" colspan="2">
<widget class="Gui::PrefLineEdit" name="prefLicenseUrl">
<property name="toolTip">
<string>A URL where the user can find more details about the license</string>
<string>URL describing more about the license</string>
</property>
<property name="text">
<string notr="true">http://en.wikipedia.org/wiki/All_rights_reserved</string>

View File

@@ -22,6 +22,9 @@
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="0">
<widget class="Gui::PrefCheckBox" name="PrefCheckBox_LocalEnv">
<property name="toolTip">
<string>Variables defined by macros are created as local variables</string>
</property>
<property name="text">
<string>Run macros in local environment</string>
</property>
@@ -78,6 +81,9 @@
</property>
<item>
<widget class="Gui::PrefCheckBox" name="PConsoleCheckBox">
<property name="toolTip">
<string>Commands executed by macro scripts are shown in Python console</string>
</property>
<property name="text">
<string>Show script commands in python console</string>
</property>
@@ -135,6 +141,9 @@
</property>
<item row="0" column="0">
<widget class="Gui::PrefCheckBox" name="PrefCheckBox_RecordGui">
<property name="toolTip">
<string>Recorded macros will also contain user interface commands</string>
</property>
<property name="text">
<string>Record GUI commands</string>
</property>
@@ -151,6 +160,9 @@
</item>
<item row="1" column="0">
<widget class="Gui::PrefCheckBox" name="PrefCheckBox_GuiAsComment">
<property name="toolTip">
<string>Recorded macros will also contain user interface commands as comments</string>
</property>
<property name="text">
<string>Record as comment</string>
</property>

View File

@@ -44,6 +44,9 @@
</item>
<item>
<widget class="QSpinBox" name="spinBoxDecimals">
<property name="toolTip">
<string>Number of decimals that should be shown for numbers and dimensions in FreeCAD</string>
</property>
<property name="minimum">
<number>1</number>
</property>
@@ -65,6 +68,9 @@
</item>
<item>
<widget class="QComboBox" name="comboBox_ViewSystem">
<property name="toolTip">
<string>Unit system that should be used for all parts of FreeCAD</string>
</property>
<item>
<property name="text">
<string>Standard (mm/kg/s/degree)</string>
@@ -144,7 +150,7 @@
<item>
<widget class="QComboBox" name="comboBox_FracInch">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Minimum fractional inch to display.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>Minimum fractional inch to be displayed</string>
</property>
<item>
<property name="text">

View File

@@ -111,6 +111,9 @@
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Enable preselection and highlight by specified color</string>
</property>
<property name="text">
<string>Enable preselection highlighting</string>
</property>
@@ -156,6 +159,9 @@
</item>
<item row="1" column="0">
<widget class="Gui::PrefCheckBox" name="checkBoxSelection">
<property name="toolTip">
<string>Enable selection highlighting and use specified color</string>
</property>
<property name="text">
<string>Enable selection highlighting</string>
</property>
@@ -180,7 +186,8 @@
<item row="2" column="1">
<widget class="Gui::PrefDoubleSpinBox" name="spinPickRadius">
<property name="toolTip">
<string>Sets the area of confusion for picking elements in 3D view. Larger value makes it easier to pick stuff, but will make some small features impossible to select.</string>
<string>Area for picking elements in 3D view.
Larger value eases to pick things, but can make small features impossible to select.</string>
</property>
<property name="inputMethodHints">
<set>Qt::ImhPreferNumbers</set>
@@ -308,6 +315,9 @@
</item>
<item row="3" column="0">
<widget class="Gui::PrefCheckBox" name="checkMidColor">
<property name="toolTip">
<string>Color gradient will get selected color as middle color</string>
</property>
<property name="text">
<string>Middle color</string>
</property>
@@ -364,6 +374,9 @@
</item>
<item row="1" column="0">
<widget class="Gui::PrefRadioButton" name="radioButtonGradient">
<property name="toolTip">
<string>Background for parts will have selected color gradient</string>
</property>
<property name="text">
<string>Color gradient</string>
</property>
@@ -406,6 +419,9 @@
<height>0</height>
</size>
</property>
<property name="toolTip">
<string>Background for parts will have selected color</string>
</property>
<property name="text">
<string>Simple color</string>
</property>
@@ -425,7 +441,7 @@
<item row="2" column="0">
<widget class="QGroupBox" name="groupBoxTree">
<property name="title">
<string>Tree View</string>
<string>Tree view</string>
</property>
<layout class="QGridLayout">
<property name="leftMargin">
@@ -481,6 +497,9 @@
<height>0</height>
</size>
</property>
<property name="toolTip">
<string/>
</property>
<property name="text">
<string>Object being edited</string>
</property>
@@ -494,6 +513,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Background color for objects in tree view that are currently edited</string>
</property>
<property name="color" stdset="0">
<color>
<red>255</red>
@@ -524,6 +546,9 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Background color for active containers in tree view</string>
</property>
<property name="color" stdset="0">
<color>
<red>230</red>