use custom select all icon

This commit is contained in:
2022-09-03 17:57:02 +02:00
parent 11f4262b96
commit 59c3170757
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 16 16">
<line x1="0" y1="0.5" x2="16" y2="0.5" style="stroke:black; stroke-dasharray:2.29;"/>
<line x1="0" y1="15.5" x2="16" y2="15.5" style="stroke:black; stroke-dasharray:2.29;"/>
<line x1="0.5" y1="0" x2="0.5" y2="16" style="stroke:black; stroke-dasharray:2.29;"/>
<line x1="15.5" y1="0" x2="15.5" y2="15.5" style="stroke:black; stroke-dasharray:2.29;"/>
<rect x="2.5" y="2.5" width="11" height="4.5" style="fill:#6060ff;"/>
<rect x="2.5" y="8.5" width="5" height="4.5" style="fill:#6060ff;"/>
<rect x="8.5" y="8.5" width="5" height="4.5" style="fill:#6060ff;"/>
</svg>

After

Width:  |  Height:  |  Size: 675 B

View File

@@ -195,7 +195,7 @@ class InnerBigText(QWidget):
copy_to_file.setDisabled(not self._has_selection()) copy_to_file.setDisabled(not self._has_selection())
menu.addAction(copy_to_file) menu.addAction(copy_to_file)
select_all = QAction(Icon.fromTheme("edit-select-all"), _("Select &All"), self, select_all = QAction(Icon("icons/myicons/select-all.svg"), _("Select &All"), self,
triggered=self._select_all) triggered=self._select_all)
select_all.setShortcut("CTRL+A") select_all.setShortcut("CTRL+A")
menu.addAction(select_all) menu.addAction(select_all)