Added move right/left icons and use them for preferred metadata UI.

These icons match the move up/down icons for a consistent look.
This commit is contained in:
Philipp Wolfer
2019-12-04 18:32:49 +01:00
committed by Philipp Wolfer
parent 1b4deae3bf
commit f4fe3bfbf9
10 changed files with 12808 additions and 12185 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -3,8 +3,10 @@
# Automatically generated - don't edit.
# Use `python setup.py build_ui` to update it.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_ReleasesOptionsPage(object):
def setupUi(self, ReleasesOptionsPage):
ReleasesOptionsPage.setObjectName("ReleasesOptionsPage")
@@ -35,9 +37,13 @@ class Ui_ReleasesOptionsPage(object):
spacerItem = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout.addItem(spacerItem)
self.add_countries = QtWidgets.QPushButton(self.country_group)
icon = QtGui.QIcon.fromTheme(":/images/16x16/go-next.png")
self.add_countries.setIcon(icon)
self.add_countries.setObjectName("add_countries")
self.verticalLayout.addWidget(self.add_countries)
self.remove_countries = QtWidgets.QPushButton(self.country_group)
icon = QtGui.QIcon.fromTheme(":/images/16x16/go-previous.png")
self.remove_countries.setIcon(icon)
self.remove_countries.setObjectName("remove_countries")
self.verticalLayout.addWidget(self.remove_countries)
spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
@@ -72,9 +78,13 @@ class Ui_ReleasesOptionsPage(object):
spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_2.addItem(spacerItem2)
self.add_formats = QtWidgets.QPushButton(self.format_group)
icon = QtGui.QIcon.fromTheme(":/images/16x16/go-next.png")
self.add_formats.setIcon(icon)
self.add_formats.setObjectName("add_formats")
self.verticalLayout_2.addWidget(self.add_formats)
self.remove_formats = QtWidgets.QPushButton(self.format_group)
icon = QtGui.QIcon.fromTheme(":/images/16x16/go-previous.png")
self.remove_formats.setIcon(icon)
self.remove_formats.setObjectName("remove_formats")
self.verticalLayout_2.addWidget(self.remove_formats)
spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
@@ -99,9 +109,12 @@ class Ui_ReleasesOptionsPage(object):
_translate = QtCore.QCoreApplication.translate
self.type_group.setTitle(_("Preferred release types"))
self.country_group.setTitle(_("Preferred release countries"))
self.add_countries.setText(_(">"))
self.remove_countries.setText(_("<"))
self.add_countries.setToolTip(_("Add to preferred release countries"))
self.add_countries.setAccessibleDescription(_("Add to preferred release countries"))
self.remove_countries.setToolTip(_("Remove from preferred release countries"))
self.remove_countries.setAccessibleDescription(_("Remove from preferred release countries"))
self.format_group.setTitle(_("Preferred release formats"))
self.add_formats.setText(_(">"))
self.remove_formats.setText(_("<"))
self.add_formats.setToolTip(_("Add to preferred release formats"))
self.add_formats.setAccessibleName(_("Add to preferred release formats"))
self.remove_formats.setToolTip(_("Remove from preferred release formats"))
self.remove_formats.setAccessibleDescription(_("Remove from preferred release formats"))

Binary file not shown.

After

Width:  |  Height:  |  Size: 251 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 548 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 541 B

View File

@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64"
height="64"
viewBox="0 0 16.933333 16.933333"
version="1.1"
id="svg8"
inkscape:version="0.92.4 5da689c313, 2019-01-14"
sodipodi:docname="go-next.svg"
inkscape:export-filename="/home/phw/devel/win32/musicbrainz/picard/git/resources/images/16x16/go-next@2x.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.6"
inkscape:cx="19.70756"
inkscape:cy="21.978156"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1043"
inkscape:window-x="640"
inkscape:window-y="1080"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
<cc:license
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" />
<dc:creator>
<cc:Agent>
<dc:title>Philipp Wolfer</dc:title>
</cc:Agent>
</dc:creator>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-280.06667)">
<path
style="fill:none;stroke:#a0a0a0;stroke-width:1.58749998;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 5.2915544,282.71251 6.3499996,5.82083 -6.3499996,5.82083"
id="path820"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="64"
height="64"
viewBox="0 0 16.933333 16.933333"
version="1.1"
id="svg8"
inkscape:version="0.92.4 5da689c313, 2019-01-14"
sodipodi:docname="go-previous.svg"
inkscape:export-filename="/home/phw/devel/win32/musicbrainz/picard/git/resources/images/16x16/go-previous@2x.png"
inkscape:export-xdpi="96"
inkscape:export-ydpi="96">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.6"
inkscape:cx="19.70756"
inkscape:cy="21.978156"
inkscape:document-units="mm"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
inkscape:window-width="1920"
inkscape:window-height="1043"
inkscape:window-x="640"
inkscape:window-y="1080"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
<cc:license
rdf:resource="http://creativecommons.org/publicdomain/zero/1.0/" />
<dc:creator>
<cc:Agent>
<dc:title>Philipp Wolfer</dc:title>
</cc:Agent>
</dc:creator>
</cc:Work>
<cc:License
rdf:about="http://creativecommons.org/publicdomain/zero/1.0/">
<cc:permits
rdf:resource="http://creativecommons.org/ns#Reproduction" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#Distribution" />
<cc:permits
rdf:resource="http://creativecommons.org/ns#DerivativeWorks" />
</cc:License>
</rdf:RDF>
</metadata>
<g
inkscape:label="Ebene 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-280.06667)">
<path
style="fill:none;stroke:#a0a0a0;stroke-width:1.58749998;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1"
d="m 11.641846,294.35417 -6.3499995,-5.82083 6.3499995,-5.82083"
id="path820"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@@ -24,6 +24,10 @@
<file>images/16x16/folder@2x.png</file>
<file>images/16x16/go-down.png</file>
<file>images/16x16/go-down@2x.png</file>
<file>images/16x16/go-next.png</file>
<file>images/16x16/go-next@2x.png</file>
<file>images/16x16/go-previous.png</file>
<file>images/16x16/go-previous@2x.png</file>
<file>images/16x16/go-up.png</file>
<file>images/16x16/go-up@2x.png</file>
<file>images/16x16/list-remove.png</file>
@@ -40,6 +44,14 @@
<file>images/16x16/media-optical-saved@2x.png</file>
<file>images/16x16/media-optical.png</file>
<file>images/16x16/media-optical@2x.png</file>
<file>images/16x16/opt/go-down.png</file>
<file>images/16x16/opt/go-down@2x.png</file>
<file>images/16x16/opt/go-next.png</file>
<file>images/16x16/opt/go-next@2x.png</file>
<file>images/16x16/opt/go-previous.png</file>
<file>images/16x16/opt/go-previous@2x.png</file>
<file>images/16x16/opt/go-up.png</file>
<file>images/16x16/opt/go-up@2x.png</file>
<file>images/16x16/org.musicbrainz.Picard.png</file>
<file>images/16x16/pause.png</file>
<file>images/16x16/pause@2x.png</file>

View File

@@ -59,15 +59,27 @@
</item>
<item>
<widget class="QPushButton" name="add_countries">
<property name="text">
<string>&gt;</string>
<property name="toolTip">
<string>Add to preferred release countries</string>
</property>
<property name="accessibleDescription">
<string>Add to preferred release countries</string>
</property>
<property name="icon">
<iconset theme=":/images/16x16/go-next.png"/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="remove_countries">
<property name="text">
<string>&lt;</string>
<property name="toolTip">
<string>Remove from preferred release countries</string>
</property>
<property name="accessibleDescription">
<string>Remove from preferred release countries</string>
</property>
<property name="icon">
<iconset theme=":/images/16x16/go-previous.png"/>
</property>
</widget>
</item>
@@ -141,15 +153,27 @@
</item>
<item>
<widget class="QPushButton" name="add_formats">
<property name="text">
<string>&gt;</string>
<property name="toolTip">
<string>Add to preferred release formats</string>
</property>
<property name="accessibleName">
<string>Add to preferred release formats</string>
</property>
<property name="icon">
<iconset theme=":/images/16x16/go-next.png"/>
</property>
</widget>
</item>
<item>
<widget class="QPushButton" name="remove_formats">
<property name="text">
<string>&lt;</string>
<property name="toolTip">
<string>Remove from preferred release formats</string>
</property>
<property name="accessibleDescription">
<string>Remove from preferred release formats</string>
</property>
<property name="icon">
<iconset theme=":/images/16x16/go-previous.png"/>
</property>
</widget>
</item>