From 68ff62cfb1855aa01f3d9bf03b0323f1ff6f7822 Mon Sep 17 00:00:00 2001 From: wandererfan Date: Tue, 7 May 2019 07:04:39 -0400 Subject: [PATCH] Use icons from resource file - [theme] option in Qt Designer does not work everywhere. --- src/Mod/TechDraw/Gui/Resources/TechDraw.qrc | 15 + .../Resources/icons/MRTE/application-exit.svg | 456 +++ .../Resources/icons/MRTE/document-save.svg | 617 ++++ .../Gui/Resources/icons/MRTE/edit-copy.svg | 327 ++ .../Gui/Resources/icons/MRTE/edit-cut.svg | 496 +++ .../Gui/Resources/icons/MRTE/edit-paste.svg | 529 +++ .../Gui/Resources/icons/MRTE/edit-redo.svg | 230 ++ .../Gui/Resources/icons/MRTE/edit-undo.svg | 229 ++ .../Gui/Resources/icons/MRTE/indentLess.svg | 651 ++++ .../Gui/Resources/icons/MRTE/indentMore.svg | 646 ++++ .../Gui/Resources/icons/MRTE/insertImage.svg | 1017 ++++++ .../icons/MRTE/internet-web-browser.svg | 3085 +++++++++++++++++ .../Gui/Resources/icons/MRTE/textBold.svg | 609 ++++ .../Gui/Resources/icons/MRTE/textItalic.svg | 609 ++++ .../Gui/Resources/icons/MRTE/textStrike.svg | 616 ++++ .../Resources/icons/MRTE/textUnderline.svg | 616 ++++ src/Mod/TechDraw/Gui/mrichtextedit.ui | 75 +- 17 files changed, 10778 insertions(+), 45 deletions(-) create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/application-exit.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/document-save.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-copy.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-cut.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-paste.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-redo.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-undo.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/indentLess.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/indentMore.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/insertImage.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/internet-web-browser.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/textBold.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/textItalic.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/textStrike.svg create mode 100644 src/Mod/TechDraw/Gui/Resources/icons/MRTE/textUnderline.svg diff --git a/src/Mod/TechDraw/Gui/Resources/TechDraw.qrc b/src/Mod/TechDraw/Gui/Resources/TechDraw.qrc index 253855f88c..aaa42289cc 100644 --- a/src/Mod/TechDraw/Gui/Resources/TechDraw.qrc +++ b/src/Mod/TechDraw/Gui/Resources/TechDraw.qrc @@ -80,6 +80,21 @@ icons/MRTE/fgColor.svg icons/MRTE/listBullet.svg icons/MRTE/listNumber.svg + icons/MRTE/application-exit.svg + icons/MRTE/document-save.svg + icons/MRTE/textBold.svg + icons/MRTE/textUnderline.svg + icons/MRTE/textStrike.svg + icons/MRTE/textItalic.svg + icons/MRTE/insertImage.svg + icons/MRTE/indentMore.svg + icons/MRTE/indentLess.svg + icons/MRTE/edit-cut.svg + icons/MRTE/edit-copy.svg + icons/MRTE/edit-paste.svg + icons/MRTE/edit-undo.svg + icons/MRTE/edit-redo.svg + icons/MRTE/internet-web-browser.svg translations/TechDraw_af.qm translations/TechDraw_zh-CN.qm translations/TechDraw_zh-TW.qm diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/application-exit.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/application-exit.svg new file mode 100644 index 0000000000..0e109882cd --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/application-exit.svg @@ -0,0 +1,456 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + Jakub Steiner + + + http://jimmac.musichall.cz + + System Log Out + + + log out + logout + exit + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/document-save.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/document-save.svg new file mode 100644 index 0000000000..6be29c42f2 --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/document-save.svg @@ -0,0 +1,617 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Save + + + Jakub Steiner + + + + + hdd + hard drive + save + io + store + + + + + http://jimmac.musichall.cz + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-copy.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-copy.svg new file mode 100644 index 0000000000..a4708f79e2 --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-copy.svg @@ -0,0 +1,327 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Edit Copy + 2005-10-15 + + + Andreas Nilsson + + + + + edit + copy + + + + + + Jakub Steiner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-cut.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-cut.svg new file mode 100644 index 0000000000..fb051257b8 --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-cut.svg @@ -0,0 +1,496 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Edit Cut + + + Garrett Le Sage + + + + + edit + cut + clipboard + + + + + + Jakub Steiner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-paste.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-paste.svg new file mode 100644 index 0000000000..8d096b6697 --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-paste.svg @@ -0,0 +1,529 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Edit Paste + 2005-10-10 + + + Andreas Nilsson + + + + + edit + paste + + + + + + Jakub Steiner + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-redo.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-redo.svg new file mode 100644 index 0000000000..44bdb40343 --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-redo.svg @@ -0,0 +1,230 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + Jakub Steiner + + + http://jimmac.musichall.cz + + Edit Redo + + + edit + redo + again + reapply + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-undo.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-undo.svg new file mode 100644 index 0000000000..ba1d1f55b7 --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/edit-undo.svg @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + Jakub Steiner + + + http://jimmac.musichall.cz + + Edit Undo + + + edit + undo + revert + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/indentLess.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/indentLess.svg new file mode 100644 index 0000000000..91b76b81ca --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/indentLess.svg @@ -0,0 +1,651 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + [agryson] Alexander Gryson + + + http://agryson.net + + techdraw-view + 2016-01-14 + http://www.freecadweb.org/wiki/index.php?title=Artwork + + + FreeCAD + + + FreeCAD/src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-view.svg + + + FreeCAD LGPL2+ + + + + + [agryson] Alexander Gryson + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/indentMore.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/indentMore.svg new file mode 100644 index 0000000000..c99d009cde --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/indentMore.svg @@ -0,0 +1,646 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + [agryson] Alexander Gryson + + + http://agryson.net + + techdraw-view + 2016-01-14 + http://www.freecadweb.org/wiki/index.php?title=Artwork + + + FreeCAD + + + FreeCAD/src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-view.svg + + + FreeCAD LGPL2+ + + + + + [agryson] Alexander Gryson + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/insertImage.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/insertImage.svg new file mode 100644 index 0000000000..d79e3f72f6 --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/insertImage.svg @@ -0,0 +1,1017 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + Jakub Steiner + + + http://jimmac.musichall.cz + + techdraw-image + 2016-11-06 + http://www.freecadweb.org/wiki/index.php?title=Artwork + + + FreeCAD + + + FreeCAD/src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-image.svg + + + FreeCAD LGPL2+ + + + + + [agryson] Alexander Gryson + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/internet-web-browser.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/internet-web-browser.svg new file mode 100644 index 0000000000..553ddf6596 --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/internet-web-browser.svg @@ -0,0 +1,3085 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Globe + + + Jakub Steiner + + + + + Tuomas Kuosmanen + + + + http://jimmac.musichall.cz + + + globe + international + web + www + internet + network + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/textBold.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/textBold.svg new file mode 100644 index 0000000000..df47bdc3e2 --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/textBold.svg @@ -0,0 +1,609 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + [agryson] Alexander Gryson + + + http://agryson.net + + techdraw-view + 2016-01-14 + http://www.freecadweb.org/wiki/index.php?title=Artwork + + + FreeCAD + + + FreeCAD/src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-view.svg + + + FreeCAD LGPL2+ + + + + + [agryson] Alexander Gryson + + + + + + + + + + + + + + + a + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/textItalic.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/textItalic.svg new file mode 100644 index 0000000000..2792da3d8b --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/textItalic.svg @@ -0,0 +1,609 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + [agryson] Alexander Gryson + + + http://agryson.net + + techdraw-view + 2016-01-14 + http://www.freecadweb.org/wiki/index.php?title=Artwork + + + FreeCAD + + + FreeCAD/src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-view.svg + + + FreeCAD LGPL2+ + + + + + [agryson] Alexander Gryson + + + + + + + + + + + + + + + a + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/textStrike.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/textStrike.svg new file mode 100644 index 0000000000..4acb0a10da --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/textStrike.svg @@ -0,0 +1,616 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + [agryson] Alexander Gryson + + + http://agryson.net + + techdraw-view + 2016-01-14 + http://www.freecadweb.org/wiki/index.php?title=Artwork + + + FreeCAD + + + FreeCAD/src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-view.svg + + + FreeCAD LGPL2+ + + + + + [agryson] Alexander Gryson + + + + + + + + + + + + + + + a + + diff --git a/src/Mod/TechDraw/Gui/Resources/icons/MRTE/textUnderline.svg b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/textUnderline.svg new file mode 100644 index 0000000000..50a81b3a37 --- /dev/null +++ b/src/Mod/TechDraw/Gui/Resources/icons/MRTE/textUnderline.svg @@ -0,0 +1,616 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + [agryson] Alexander Gryson + + + http://agryson.net + + techdraw-view + 2016-01-14 + http://www.freecadweb.org/wiki/index.php?title=Artwork + + + FreeCAD + + + FreeCAD/src/Mod/TechDraw/Gui/Resources/icons/actions/techdraw-view.svg + + + FreeCAD LGPL2+ + + + + + [agryson] Alexander Gryson + + + + + + + + + + + + + + + a + + diff --git a/src/Mod/TechDraw/Gui/mrichtextedit.ui b/src/Mod/TechDraw/Gui/mrichtextedit.ui index 293d694a3c..e60e1d7644 100644 --- a/src/Mod/TechDraw/Gui/mrichtextedit.ui +++ b/src/Mod/TechDraw/Gui/mrichtextedit.ui @@ -38,9 +38,8 @@ - - - + + :/icons/MRTE/document-save.svg:/icons/MRTE/document-save.svg @@ -53,9 +52,8 @@ - - - + + :/icons/MRTE/application-exit.svg:/icons/MRTE/application-exit.svg @@ -101,9 +99,8 @@ Undo - - - + + :/icons/MRTE/edit-undo.svg:/icons/MRTE/edit-undo.svg @@ -128,9 +125,8 @@ Redo - - - + + :/icons/MRTE/edit-redo.svg:/icons/MRTE/edit-redo.svg @@ -152,9 +148,8 @@ Cut - - - + + :/icons/MRTE/edit-cut.svg:/icons/MRTE/edit-cut.svg @@ -176,9 +171,8 @@ Copy - - - + + :/icons/MRTE/edit-copy.svg:/icons/MRTE/edit-copy.svg @@ -200,9 +194,8 @@ Paste - - - + + :/icons/MRTE/edit-paste.svg:/icons/MRTE/edit-paste.svg @@ -231,9 +224,8 @@ Link - - - + + :/icons/MRTE/internet-web-browser.svg:/icons/MRTE/internet-web-browser.svg @@ -265,9 +257,8 @@ Bold - - - + + :/icons/MRTE/textBold.svg:/icons/MRTE/textBold.svg @@ -292,9 +283,8 @@ Italic - - - + + :/icons/MRTE/textItalic.svg:/icons/MRTE/textItalic.svg @@ -319,9 +309,8 @@ Underline - - - + + :/icons/MRTE/textUnderline.svg:/icons/MRTE/textUnderline.svg @@ -343,9 +332,8 @@ Strike Out - - - + + :/icons/MRTE/textStrike.svg:/icons/MRTE/textStrike.svg @@ -429,9 +417,8 @@ Decrease indentation - - - + + :/icons/MRTE/indentLess.svg:/icons/MRTE/indentLess.svg @@ -453,9 +440,8 @@ Increase indentation - - - + + :/icons/MRTE/indentMore.svg:/icons/MRTE/indentMore.svg @@ -556,9 +542,8 @@ - - - + + :/icons/MRTE/insertImage.svg:/icons/MRTE/insertImage.svg