Use ForkAwesome icons also in RecentChangesPage of Plasmoid

This commit is contained in:
Martchus 2021-10-15 23:16:58 +02:00
parent 4dc9f08639
commit de3205df00
3 changed files with 16 additions and 10 deletions

View File

@ -40,11 +40,13 @@ Item {
Item { Item {
width: units.smallSpacing width: units.smallSpacing
} }
PlasmaCore.IconItem { Image {
Layout.preferredWidth: units.iconSizes.small Layout.preferredWidth: units.iconSizes.small
Layout.preferredHeight: units.iconSizes.small Layout.preferredHeight: units.iconSizes.small
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
source: "change-date-symbolic" height: parent.height
fillMode: Image.PreserveAspectFit
source: "image://fa/calendar"
} }
PlasmaComponents3.Label { PlasmaComponents3.Label {
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
@ -54,11 +56,13 @@ Item {
Item { Item {
width: units.smallSpacing width: units.smallSpacing
} }
PlasmaCore.IconItem { Image {
Layout.preferredWidth: units.iconSizes.small Layout.preferredWidth: units.iconSizes.small
Layout.preferredHeight: units.iconSizes.small Layout.preferredHeight: units.iconSizes.small
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
source: "network-server-symbolic" height: parent.height
fillMode: Image.PreserveAspectFit
source: "image://fa/qrcode"
} }
PlasmaComponents3.Label { PlasmaComponents3.Label {
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
@ -68,11 +72,13 @@ Item {
} }
RowLayout { RowLayout {
Layout.fillWidth: true Layout.fillWidth: true
PlasmaCore.IconItem { Image {
Layout.preferredWidth: units.iconSizes.small Layout.preferredWidth: units.iconSizes.small
Layout.preferredHeight: units.iconSizes.small Layout.preferredHeight: units.iconSizes.small
Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft Layout.alignment: Qt.AlignVCenter | Qt.AlignLeft
source: itemType === "file" ? "view-refresh-symbolic" : "folder-sync" height: parent.height
fillMode: Image.PreserveAspectFit
source: itemType === "file" ? "image://fa/file-o" : "image://fa/folder-o"
} }
PlasmaComponents3.Label { PlasmaComponents3.Label {
text: directoryId + ": " text: directoryId + ": "

View File

@ -281,12 +281,12 @@
<context> <context>
<name>RecentChangesPage</name> <name>RecentChangesPage</name>
<message> <message>
<location filename="../package/contents/ui/RecentChangesPage.qml" line="100"/> <location filename="../package/contents/ui/RecentChangesPage.qml" line="106"/>
<source>Copy path</source> <source>Copy path</source>
<translation>Pfad kopieren</translation> <translation>Pfad kopieren</translation>
</message> </message>
<message> <message>
<location filename="../package/contents/ui/RecentChangesPage.qml" line="105"/> <location filename="../package/contents/ui/RecentChangesPage.qml" line="111"/>
<source>Copy device ID</source> <source>Copy device ID</source>
<translation>Geräte-ID kopieren</translation> <translation>Geräte-ID kopieren</translation>
</message> </message>

View File

@ -280,12 +280,12 @@
<context> <context>
<name>RecentChangesPage</name> <name>RecentChangesPage</name>
<message> <message>
<location filename="../package/contents/ui/RecentChangesPage.qml" line="100"/> <location filename="../package/contents/ui/RecentChangesPage.qml" line="106"/>
<source>Copy path</source> <source>Copy path</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>
<message> <message>
<location filename="../package/contents/ui/RecentChangesPage.qml" line="105"/> <location filename="../package/contents/ui/RecentChangesPage.qml" line="111"/>
<source>Copy device ID</source> <source>Copy device ID</source>
<translation type="unfinished"></translation> <translation type="unfinished"></translation>
</message> </message>