Skip to content

Commit

Permalink
refactor: rename save_vertices.png to icon_save.png for consistency (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
merydian committed May 10, 2024
1 parent a3df611 commit 476a557
Show file tree
Hide file tree
Showing 5 changed files with 4,583 additions and 4,584 deletions.
2 changes: 1 addition & 1 deletion ORStools/gui/ORStoolsDialogUI.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def setupUi(self, ORStoolsDialogBase):
self.save_vertices.setSizePolicy(sizePolicy)
self.save_vertices.setText("")
icon4 = QtGui.QIcon()
icon4.addPixmap(QtGui.QPixmap(":/plugins/ORStools/img/save_vertices.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
icon4.addPixmap(QtGui.QPixmap(":/plugins/ORStools/img/icon_save.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
self.save_vertices.setIcon(icon4)
self.save_vertices.setObjectName("save_vertices")
self.gridLayout.addWidget(self.save_vertices, 2, 0, 1, 1)
Expand Down
6 changes: 3 additions & 3 deletions ORStools/gui/ORStoolsDialogUI.ui
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@
</property>
<property name="icon">
<iconset resource="resources.qrc">
<normaloff>:/plugins/ORStools/img/save_vertices.png</normaloff>:/plugins/ORStools/img/save_vertices.png</iconset>
<normaloff>:/plugins/ORStools/img/icon_save.png</normaloff>:/plugins/ORStools/img/icon_save.png</iconset>
</property>
</widget>
</item>
Expand Down Expand Up @@ -637,7 +637,7 @@ p, li { white-space: pre-wrap; }
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Avoid countries based on ISO 3166 Alpha-2 or Alpha-3 codes.&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="qgisRelation" stdset="0">
<property name="qgisRelation">
<string notr="true"/>
</property>
</widget>
Expand Down Expand Up @@ -793,7 +793,7 @@ p, li { white-space: pre-wrap; }
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
Expand Down
File renamed without changes
2 changes: 1 addition & 1 deletion ORStools/gui/resources.qrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<RCC>
<qresource prefix="/plugins/ORStools">
<file>img/save_vertices.png</file>
<file>img/icon_save.png</file>
<file>img/logo_heigit_300.png</file>
<file>img/icon_add.png</file>
<file>img/icon_refresh.png</file>
Expand Down
Loading

0 comments on commit 476a557

Please sign in to comment.