- changed some of the icons; added attributions for icons source in the About FlatCAM window

This commit is contained in:
Marius Stanciu 2019-10-06 00:06:48 +03:00 committed by Marius
parent 9506095ca2
commit 8413885d87
14 changed files with 21 additions and 1 deletions

View File

@ -2939,7 +2939,7 @@ class App(QtCore.QObject):
self.paste_tool.install(icon=QtGui.QIcon('share/solderpastebis32.png'))
self.calculator_tool = ToolCalculator(self)
self.calculator_tool.install(icon=QtGui.QIcon('share/calculator24.png'), separator=True)
self.calculator_tool.install(icon=QtGui.QIcon('share/calculator16.png'), separator=True)
self.sub_tool = ToolSub(self)
self.sub_tool.install(icon=QtGui.QIcon('share/sub32.png'), pos=self.ui.menutool, separator=True)
@ -4394,6 +4394,16 @@ class App(QtCore.QObject):
)
license_label.setOpenExternalLinks(True)
attributions_label = QtWidgets.QLabel(
_(
'Some of the icons used are from the following sources: <BR>'
'<div>Icons made by <a href="https://www.flaticon.com/authors/freepik" '
'title="Freepik">Freepik</a> from <a href="https://www.flaticon.com/" '
'title="Flaticon">www.flaticon.com</a></div><br>'
'Icons by <a target="_blank" href="https://icons8.com">Icons8</a>'
)
)
# layouts
layout1 = QtWidgets.QVBoxLayout()
layout1_1 = QtWidgets.QHBoxLayout()
@ -4437,6 +4447,12 @@ class App(QtCore.QObject):
self.license_tab_layout.setContentsMargins(2, 2, 2, 2)
tab_widget.addTab(self.license_tab, _("License"))
self.attributions_tab = QtWidgets.QWidget()
self.attributions_tab.setObjectName("attributions_about")
self.attributions_tab_layout = QtWidgets.QVBoxLayout(self.attributions_tab)
self.attributions_tab_layout.setContentsMargins(2, 2, 2, 2)
tab_widget.addTab(self.attributions_tab, _("Attributions"))
self.splash_tab_layout.addWidget(logo, stretch=0)
self.splash_tab_layout.addWidget(title, stretch=1)
@ -4545,6 +4561,9 @@ class App(QtCore.QObject):
self.license_tab_layout.addWidget(license_label)
self.license_tab_layout.addStretch()
self.attributions_tab_layout.addWidget(attributions_label)
self.attributions_tab_layout.addStretch()
layout3.addStretch()
layout3.addWidget(closebtn)

View File

@ -16,6 +16,7 @@ CAD program, and create G-Code for Isolation routing.
- optimized the Transformation Tool both in GUI and in functionality and replaced the entries with QSpinBox
- fixed an issue with the tool table context menu in Paint Tool
- made some changes in the GUI in Paint Tool, NCC Tool and SolderPaste Tool
- changed some of the icons; added attributions for icons source in the About FlatCAM window
4.10.2019

BIN
share/calculator16.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 546 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 714 B

After

Width:  |  Height:  |  Size: 675 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 288 B

After

Width:  |  Height:  |  Size: 437 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 564 B

After

Width:  |  Height:  |  Size: 561 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 369 B

After

Width:  |  Height:  |  Size: 489 B

BIN
share/jump_to32.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 287 B

After

Width:  |  Height:  |  Size: 471 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 687 B

After

Width:  |  Height:  |  Size: 571 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 339 B

After

Width:  |  Height:  |  Size: 563 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 603 B

After

Width:  |  Height:  |  Size: 750 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 246 B

After

Width:  |  Height:  |  Size: 657 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 788 B

After

Width:  |  Height:  |  Size: 480 B