Skip to content

Commit

Permalink
add icons for line style
Browse files Browse the repository at this point in the history
- also break a too long tooltip
  • Loading branch information
donovaly authored and WandererFan committed Mar 14, 2020
1 parent eeec059 commit a6a1b02
Show file tree
Hide file tree
Showing 8 changed files with 239 additions and 1 deletion.
32 changes: 32 additions & 0 deletions src/Mod/TechDraw/Gui/DlgPrefsTechDraw3.ui
Expand Up @@ -515,31 +515,55 @@
<property name="text">
<string>NeverShow</string>
</property>
<property name="icon">
<iconset resource="Resources/TechDraw.qrc">
<normaloff>:/icons/arrownone.svg</normaloff>:/icons/arrownone.svg</iconset>
</property>
</item>
<item>
<property name="text">
<string>Continuous</string>
</property>
<property name="icon">
<iconset resource="Resources/TechDraw.qrc">
<normaloff>:/icons/continuous-line.svg</normaloff>:/icons/continuous-line.svg</iconset>
</property>
</item>
<item>
<property name="text">
<string>Dash</string>
</property>
<property name="icon">
<iconset resource="Resources/TechDraw.qrc">
<normaloff>:/icons/dash-line.svg</normaloff>:/icons/dash-line.svg</iconset>
</property>
</item>
<item>
<property name="text">
<string>Dot</string>
</property>
<property name="icon">
<iconset resource="Resources/TechDraw.qrc">
<normaloff>:/icons/dot-line.svg</normaloff>:/icons/dot-line.svg</iconset>
</property>
</item>
<item>
<property name="text">
<string>DashDot</string>
</property>
<property name="icon">
<iconset resource="Resources/TechDraw.qrc">
<normaloff>:/icons/dashDot-line.svg</normaloff>:/icons/dashDot-line.svg</iconset>
</property>
</item>
<item>
<property name="text">
<string>DashDotDot</string>
</property>
<property name="icon">
<iconset resource="Resources/TechDraw.qrc">
<normaloff>:/icons/dashDotDot-line.svg</normaloff>:/icons/dashDotDot-line.svg</iconset>
</property>
</item>
</widget>
</item>
Expand Down Expand Up @@ -986,11 +1010,19 @@
<property name="text">
<string>Continuous</string>
</property>
<property name="icon">
<iconset resource="Resources/TechDraw.qrc">
<normaloff>:/icons/continuous-line.svg</normaloff>:/icons/continuous-line.svg</iconset>
</property>
</item>
<item>
<property name="text">
<string>Dashed</string>
</property>
<property name="icon">
<iconset resource="Resources/TechDraw.qrc">
<normaloff>:/icons/dash-line.svg</normaloff>:/icons/dash-line.svg</iconset>
</property>
</item>
</widget>
</item>
Expand Down
3 changes: 2 additions & 1 deletion src/Mod/TechDraw/Gui/DlgPrefsTechDraw4.ui
Expand Up @@ -42,7 +42,8 @@
</font>
</property>
<property name="toolTip">
<string>Shape of line end caps. Only change unless you know what you are doing!</string>
<string>Shape of line end caps.
Only change unless you know what you are doing!</string>
</property>
<property name="prefEntry" stdset="0">
<cstring>EdgeCapStyle</cstring>
Expand Down
5 changes: 5 additions & 0 deletions src/Mod/TechDraw/Gui/Resources/TechDraw.qrc
Expand Up @@ -91,6 +91,11 @@
<file>icons/arrow-down.svg</file>
<file>icons/arrow-ccw.svg</file>
<file>icons/arrow-cw.svg</file>
<file>icons/continuous-line.svg</file>
<file>icons/dot-line.svg</file>
<file>icons/dashDot-line.svg</file>
<file>icons/dashDotDot-line.svg</file>
<file>icons/dash-line.svg</file>
<file>icons/techdraw-lock.png</file>
<file>icons/cursor-balloon.png</file>
<file>icons/none.svg</file>
Expand Down
35 changes: 35 additions & 0 deletions src/Mod/TechDraw/Gui/Resources/icons/continuous-line.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
35 changes: 35 additions & 0 deletions src/Mod/TechDraw/Gui/Resources/icons/dash-line.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
46 changes: 46 additions & 0 deletions src/Mod/TechDraw/Gui/Resources/icons/dashDot-line.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions src/Mod/TechDraw/Gui/Resources/icons/dashDotDot-line.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions src/Mod/TechDraw/Gui/Resources/icons/dot-line.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a6a1b02

Please sign in to comment.