Known measurements icon.

This commit is contained in:
Roman Telezhynskyi 2023-11-08 19:51:02 +02:00
parent b22d6a4886
commit 0a71fd3e23
27 changed files with 100 additions and 12 deletions

View File

@ -1,4 +1,5 @@
application/x-valentina-pattern; valentina %s; nametemplate=%s.val; description="Valentina pattern" edit=valentina '%s'; priority=6
application/x-valentina-i-pattern; tape %s; nametemplate=%s.vit; description="Valentina individual measurments" edit=tape '%s'; priority=6
application/x-valentina-s-pattern; tape %s; nametemplate=%s.vst; description="Valentina standard measurments" edit=tape '%s'; priority=6
application/x-valentina-i-pattern; tape %s; nametemplate=%s.vit; description="Valentina individual measurements" edit=tape '%s'; priority=6
application/x-valentina-s-pattern; tape %s; nametemplate=%s.vst; description="Valentina multisize measurements" edit=tape '%s'; priority=6
application/x-valentina-k-pattern; tape %s; nametemplate=%s.vst; description="Valentina known measurements" edit=tape '%s'; priority=6
application/x-valentina-layout; puzzle %s; nametemplate=%s.vlt; description="Valentina layout" edit=puzzle '%s'; priority=6

View File

@ -1,4 +1,5 @@
application/x-valentina-pattern; valentina %s; nametemplate=%s.val; description="Valentina pattern" edit=valentina '%s'; priority=6
application/x-valentina-i-pattern; tape %s; nametemplate=%s.vit; description="Valentina individual measurments" edit=tape '%s'; priority=6
application/x-valentina-s-pattern; tape %s; nametemplate=%s.vst; description="Valentina standard measurments" edit=tape '%s'; priority=6
application/x-valentina-i-pattern; tape %s; nametemplate=%s.vit; description="Valentina individual measurements" edit=tape '%s'; priority=6
application/x-valentina-s-pattern; tape %s; nametemplate=%s.vst; description="Valentina multisize measurements" edit=tape '%s'; priority=6
application/x-valentina-k-pattern; tape %s; nametemplate=%s.vst; description="Valentina known measurements" edit=tape '%s'; priority=6
application/x-valentina-layout; puzzle %s; nametemplate=%s.vlt; description="Valentina layout" edit=puzzle '%s'; priority=6

BIN
dist/macx/k-measurements.icns vendored Normal file

Binary file not shown.

View File

@ -54,6 +54,20 @@
<key>LSHandlerRank</key>
<string>Owner</string>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleTypeIconFile</key>
<string>k-measurements.icns</string>
<key>LSItemContentTypes</key>
<array>
<string>ua.com.smart-pattern.vkm</string>
</array>
<key>CFBundleTypeName</key>
<string>Valentina known measurements</string>
<key>LSHandlerRank</key>
<string>Owner</string>
</dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
@ -100,6 +114,27 @@
<key>public.mime-type</key>
<string>text/xml</string>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.text</string>
<string>public.xml</string>
</array>
<key>UTTypeDescription</key>
<string>Valentina known measurements</string>
<key>UTTypeIconFile</key>
<string>k-measurements.icns</string>
<key>UTTypeIdentifier</key>
<string>ua.com.smart-pattern.vkm</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>vkm</string>
</array>
<key>public.mime-type</key>
<string>text/xml</string>
</dict>
</dict>
</array>
</dict>

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

View File

@ -68,6 +68,20 @@
<key>LSHandlerRank</key>
<string>Alternate</string>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>CFBundleTypeIconFile</key>
<string>k-measurements.icns</string>
<key>LSItemContentTypes</key>
<array>
<string>ua.com.smart-pattern.vkm</string>
</array>
<key>CFBundleTypeName</key>
<string>Valentina known measurements</string>
<key>LSHandlerRank</key>
<string>Alternate</string>
</dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
@ -134,6 +148,27 @@
<string>vst</string>
</array>
<key>public.mime-type</key>
<string>text/xml</string>
</dict>
<dict>
<key>UTTypeConformsTo</key>
<array>
<string>public.text</string>
<string>public.xml</string>
</array>
<key>UTTypeDescription</key>
<string>Valentina known measurements</string>
<key>UTTypeIconFile</key>
<string>k-measurements.icns</string>
<key>UTTypeIdentifier</key>
<string>ua.com.smart-pattern.vkm</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<array>
<string>vkm</string>
</array>
<key>public.mime-type</key>
<string>text/xml</string>
</dict>
</dict>

View File

@ -9,7 +9,7 @@ Comment=Create and edit measurements
Comment[uk]=Створюйте і редагуйте мірки
Icon=tape
Terminal=false
MimeType=application/x-valentina-s-measurements;application/x-valentina-i-measurements;
MimeType=application/x-valentina-s-measurements;application/x-valentina-i-measurements;application/x-valentina-k-measurements
Categories=Qt;Utility;FileTools;
TryExec=tape
Keywords=measurements

BIN
dist/win/k-measurements.ico vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

BIN
share/size-guide.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -111,6 +111,7 @@ unix{
format.path = $$RESOURCES_DIR/
format.files += $$PWD/../../../dist/macx/i-measurements.icns
format.files += $$PWD/../../../dist/macx/s-measurements.icns
format.files += $$PWD/../../../dist/macx/k-measurements.icns
QMAKE_BUNDLE_DATA += \
templates \

View File

@ -168,35 +168,40 @@ VToolApp {
Group {
name: "apps48x48/mimetypes"
prefix: project.sourceDirectory + "/share/icons/48x48/mimetypes/"
files: ["application-x-valentina-i-measurements.png", "application-x-valentina-s-measurements.png"]
files: ["application-x-valentina-i-measurements.png", "application-x-valentina-s-measurements.png",
"application-x-valentina-k-measurements.png"]
fileTags: "freedesktop.48x48MimetypesIcons"
}
Group {
name: "apps64x64/mimetypes"
prefix: project.sourceDirectory + "/share/icons/64x64/mimetypes/"
files: ["application-x-valentina-i-measurements.png", "application-x-valentina-s-measurements.png"]
files: ["application-x-valentina-i-measurements.png", "application-x-valentina-s-measurements.png",
"application-x-valentina-k-measurements.png"]
fileTags: "freedesktop.64x64MimetypesIcons"
}
Group {
name: "apps128x128/mimetypes"
prefix: project.sourceDirectory + "/share/icons/128x128/mimetypes/"
files: ["application-x-valentina-i-measurements.png", "application-x-valentina-s-measurements.png"]
files: ["application-x-valentina-i-measurements.png", "application-x-valentina-s-measurements.png",
"application-x-valentina-k-measurements.png"]
fileTags: "freedesktop.128x128MimetypesIcons"
}
Group {
name: "apps256x256/mimetypes"
prefix: project.sourceDirectory + "/share/icons/256x256/mimetypes/"
files: ["application-x-valentina-i-measurements.png", "application-x-valentina-s-measurements.png"]
files: ["application-x-valentina-i-measurements.png", "application-x-valentina-s-measurements.png",
"application-x-valentina-k-measurements.png"]
fileTags: "freedesktop.256x256MimetypesIcons"
}
Group {
name: "apps512x512/mimetypes"
prefix: project.sourceDirectory + "/share/icons/512x512/mimetypes/"
files: ["application-x-valentina-i-measurements.png", "application-x-valentina-s-measurements.png"]
files: ["application-x-valentina-i-measurements.png", "application-x-valentina-s-measurements.png",
"application-x-valentina-k-measurements.png"]
fileTags: "freedesktop.512x512MimetypesIcons"
}
@ -214,6 +219,7 @@ VToolApp {
files: [
"i-measurements.ico",
"s-measurements.ico",
"k-measurements.ico",
]
qbs.install: true
qbs.installDir: buildconfig.installAppPath
@ -235,7 +241,8 @@ VToolApp {
prefix: project.sourceDirectory + "/dist/macx/valentina-project.xcassets/"
files: [
"i-measurements.iconset",
"s-measurements.iconset"
"s-measurements.iconset",
"k-measurements.iconset"
]
}
}

View File

@ -175,6 +175,7 @@ unix{
../../../share/icons/48x48/mimetypes/application-x-valentina-pattern.png \
../../../share/icons/48x48/mimetypes/application-x-valentina-i-measurements.png \
../../../share/icons/48x48/mimetypes/application-x-valentina-s-measurements.png \
../../../share/icons/48x48/mimetypes/application-x-valentina-k-measurements.png \
../../../share/icons/48x48/mimetypes/application-x-valentina-layout.png
hicolor_64_apps.path = $$DATADIR/icons/hicolor/64x64/apps/
@ -188,6 +189,7 @@ unix{
../../../share/icons/64x64/mimetypes/application-x-valentina-pattern.png \
../../../share/icons/64x64/mimetypes/application-x-valentina-i-measurements.png \
../../../share/icons/64x64/mimetypes/application-x-valentina-s-measurements.png \
../../../share/icons/64x64/mimetypes/application-x-valentina-k-measurements.png \
../../../share/icons/64x64/mimetypes/application-x-valentina-layout.png
hicolor_128_apps.path = $$DATADIR/icons/hicolor/128x128/apps/
@ -201,6 +203,7 @@ unix{
../../../share/icons/128x128/mimetypes/application-x-valentina-pattern.png \
../../../share/icons/128x128/mimetypes/application-x-valentina-i-measurements.png \
../../../share/icons/128x128/mimetypes/application-x-valentina-s-measurements.png \
../../../share/icons/128x128/mimetypes/application-x-valentina-k-measurements.png \
../../../share/icons/128x128/mimetypes/application-x-valentina-layout.png
hicolor_256_apps.path = $$DATADIR/icons/hicolor/256x256/apps/
@ -214,6 +217,7 @@ unix{
../../../share/icons/256x256/mimetypes/application-x-valentina-pattern.png \
../../../share/icons/256x256/mimetypes/application-x-valentina-i-measurements.png \
../../../share/icons/256x256/mimetypes/application-x-valentina-s-measurements.png \
../../../share/icons/256x256/mimetypes/application-x-valentina-k-measurements.png \
../../../share/icons/256x256/mimetypes/application-x-valentina-layout.png
hicolor_512_apps.path = $$DATADIR/icons/hicolor/512x512/apps/
@ -227,6 +231,7 @@ unix{
../../../share/icons/512x512/mimetypes/application-x-valentina-pattern.png \
../../../share/icons/512x512/mimetypes/application-x-valentina-i-measurements.png \
../../../share/icons/512x512/mimetypes/application-x-valentina-s-measurements.png \
../../../share/icons/512x512/mimetypes/application-x-valentina-k-measurements.png \
../../../share/icons/512x512/mimetypes/application-x-valentina-layout.png
# Path to translation files after installation
@ -310,6 +315,7 @@ unix{
icns_resources.path = $$RESOURCES_DIR/
icns_resources.files += $$PWD/../../../dist/macx/i-measurements.icns
icns_resources.files += $$PWD/../../../dist/macx/s-measurements.icns
icns_resources.files += $$PWD/../../../dist/macx/k-measurements.icns
icns_resources.files += $$PWD/../../../dist/macx/pattern.icns
icns_resources.files += $$PWD/../../../dist/macx/layout.icns
@ -341,6 +347,7 @@ win32:*g++* {
$$PWD/../../../dist/win/valentina.ico \
$$PWD/../../../dist/win/i-measurements.ico \
$$PWD/../../../dist/win/s-measurements.ico \
$$PWD/../../../dist/win/k-measurements.ico \
$$PWD/../../../dist/win/pattern.ico \
$$PWD/../../../dist/win/layout.ico \
$$PWD/../../../dist/win/pdftops.exe \

View File

@ -378,7 +378,8 @@ VToolApp {
"pattern.iconset",
"layout.iconset",
"i-measurements.iconset",
"s-measurements.iconset"
"s-measurements.iconset",
"k-measurements.iconset"
]
}
}