Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename save_vertices.png to icon_save.png for consistency #248

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -627,7 +627,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 @@ -783,7 +783,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
Loading