[-]
[+]
|
Added |
_service:tar_git:harbour-simplecrop.changes
|
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-simplecrop.spec
^
|
|
[-]
[+]
|
Changed |
_service
^
|
@@ -2,7 +2,7 @@
<service name="tar_git">
<param name="url">https://github.com/poetaster/harbour-simplecrop.git</param>
<param name="branch">SFOS-4.1</param>
- <param name="revision">1.2.2</param>
+ <param name="revision">1.2.3</param>
<param name="token"/>
<param name="debian">N</param>
<param name="dumb">N</param>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-simplecrop-1.2.3.tar.bz2/harbour-simplecrop.pro
^
|
@@ -31,6 +31,9 @@
qml/pages/SavePage.qml \
qml/pages/ViewPage.qml \
qml/pages/perspectivetransformhelper.js \
+ qml/symbols/* \
+ qml/fonts/* \
+ qml/filters/* \
rpm/harbour-simplecrop.changes.in \
rpm/harbour-simplecrop.changes.run.in \
rpm/harbour-simplecrop.spec \
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-simplecrop-1.2.3.tar.bz2/qml/pages/FirstPage.qml
^
|
@@ -2439,244 +2439,301 @@
}
- Grid {
+ Column {
id: idGridCropPerspectivePicker
visible: (buttonCrop.down === true) ? true : false
x: Theme.paddingLarge
width: parent.width - 2* Theme.paddingLarge
- columns: 3
- IconButton {
- id: idCropTransformPicker
- enabled: ( idImageLoadedFreecrop.status !== Image.Null && finishedLoading === true ) ? true : false
- width: parent.width / itemsPerRow
- height: Theme.itemSizeSmall
- icon.source : "../symbols/icon-m-cut.svg"
- icon.width: Theme.iconSizeMedium
- icon.height: Theme.iconSizeMedium
- onClicked: {
- handleWidth = 2* Theme.paddingLarge
- handleHeight = 2* Theme.paddingLarge
- idComboBoxCrop.currentIndex = 0
- if (pickerTransformOrCropIndex === 1) {
- icon.source = "../symbols/icon-m-cut.svg"
- croppingRatio = 0
- stretchOversizeActive === true
- stretchOversizeActive === false
- setCropmarkersFullImage()
- pickerTransformOrCropIndex = 0
- }
- else {
- icon.source = "../symbols/icon-m-transform.svg"
- croppingRatio = 0
- setCropmarkersFullImage()
- pickerTransformOrCropIndex = 1
- }
- }
- }
- ComboBox {
- id: idComboBoxFoldStretch
- enabled: ( idImageLoadedFreecrop.status !== Image.Null && finishedLoading === true ) ? true : false
- visible: ( pickerTransformOrCropIndex !== 0 ) ? true: false
- width: parent.width / itemsPerRow * (itemsPerRow-2)
- menu: ContextMenu {
- MenuItem {
- text: qsTr("stretch to edges")
- font.pixelSize: Theme.fontSizeExtraSmall
- }
- MenuItem {
- text: qsTr("fold from edges")
- font.pixelSize: Theme.fontSizeExtraSmall
- }
- }
- }
- ComboBox {
- id: idComboBoxCrop
- enabled: ( idImageLoadedFreecrop.status !== Image.Null && finishedLoading === true ) ? true : false
- visible: ( pickerTransformOrCropIndex === 0 ) ? true: false
- width: parent.width / itemsPerRow * (itemsPerRow-2)
- menu: ContextMenu {
- MenuItem {
- text: qsTr("free crop")
- font.pixelSize: Theme.fontSizeExtraSmall
- onClicked: {
+ Row {
+ id: cropButtonRow
+ width: parent.width
+ IconButton {
+ id: idCropTransformPicker
+ enabled: ( idImageLoadedFreecrop.status !== Image.Null && finishedLoading === true ) ? true : false
+ width: parent.width / 8
+ height: Theme.itemSizeSmall
+ icon.source : "../symbols/icon-m-cut.svg"
+ icon.width: Theme.iconSizeMedium
+ icon.height: Theme.iconSizeMedium
+ onClicked: {
+ handleWidth = 2* Theme.paddingLarge
+ handleHeight = 2* Theme.paddingLarge
+ idComboBoxCrop.currentIndex = 0
+ if (pickerTransformOrCropIndex === 1) {
+ icon.source = "../symbols/icon-m-cut.svg"
croppingRatio = 0
- handleWidth = 2 * Theme.paddingLarge
- handleHeight = 2 * Theme.paddingLarge
+ stretchOversizeActive === true
+ stretchOversizeActive === false
setCropmarkersFullImage()
+ pickerTransformOrCropIndex = 0
}
- }
- MenuItem {
- text: qsTr("original")
- font.pixelSize: Theme.fontSizeExtraSmall
- onClicked: {
- // original ration of cropping zone, takes handles into account
- handleWidth = 2 * Theme.paddingLarge
- handleHeight = 2 * Theme.paddingLarge
- croppingRatio = (idItemCropzoneHandles.width - handleWidth) / (idItemCropzoneHandles.height - handleHeight)
+ else {
+ icon.source = "../symbols/icon-m-transform.svg"
+ croppingRatio = 0
setCropmarkersFullImage()
+ pickerTransformOrCropIndex = 1
}
}
- MenuItem {
- text: qsTr("manual")
- font.pixelSize: Theme.fontSizeExtraSmall
- onClicked: {
- croppingRatio = 1
- handleWidth = 2 * Theme.paddingLarge
- handleHeight = 2 * Theme.paddingLarge
- idCropInputRatioHeight.text = placeholderManualCrop
- idCropInputRatioWidth.text = placeholderManualCrop
- setCropmarkersRatio()
- }
- }
- MenuItem {
- text: qsTr("DIN-landscape")
- font.pixelSize: Theme.fontSizeExtraSmall
- onClicked: {
- croppingRatio = 1754/1240
- handleWidth = 2 * Theme.paddingLarge
- handleHeight = 2 * Theme.paddingLarge
- setCropmarkersRatio()
- }
- }
- MenuItem {
- text: qsTr("DIN-portrait")
- font.pixelSize: Theme.fontSizeExtraSmall
- onClicked: {
- croppingRatio = 1240/1754
- handleWidth = 2 * Theme.paddingLarge
- handleHeight = 2 * Theme.paddingLarge
- setCropmarkersRatio()
- }
- }
- MenuItem {
- text: qsTr("4:3")
- font.pixelSize: Theme.fontSizeExtraSmall
- onClicked: {
- croppingRatio = 4/3
- handleWidth = 2 * Theme.paddingLarge
- handleHeight = 2 * Theme.paddingLarge
- setCropmarkersRatio()
- }
- }
- MenuItem {
- text: qsTr("16:10")
- font.pixelSize: Theme.fontSizeExtraSmall
- onClicked: {
- croppingRatio = 16/10
- handleWidth = 2 * Theme.paddingLarge
- handleHeight = 2 * Theme.paddingLarge
- setCropmarkersRatio()
- }
- }
- MenuItem {
- text: qsTr("16:9")
- font.pixelSize: Theme.fontSizeExtraSmall
- onClicked: {
- croppingRatio = 16/9
- handleWidth = 2 * Theme.paddingLarge
- handleHeight = 2 * Theme.paddingLarge
- setCropmarkersRatio()
- }
- }
- MenuItem {
- text: qsTr("21:9")
- font.pixelSize: Theme.fontSizeExtraSmall
- onClicked: {
- croppingRatio = 21/9
- handleWidth = 2 * Theme.paddingLarge
- handleHeight = 2 * Theme.paddingLarge
- setCropmarkersRatio()
- }
- }
- MenuItem {
- text: qsTr("1:1")
- font.pixelSize: Theme.fontSizeExtraSmall
- onClicked: {
- croppingRatio = 1
- handleWidth = 2 * Theme.paddingLarge
- handleHeight = 2 * Theme.paddingLarge
- setCropmarkersRatio()
- }
- }
- MenuItem {
- text: qsTr("3:4")
- font.pixelSize: Theme.fontSizeExtraSmall
- onClicked: {
- croppingRatio = 3/4
- handleWidth = 2 * Theme.paddingLarge
- handleHeight = 2 * Theme.paddingLarge
- setCropmarkersRatio()
+ }
+ ComboBox {
+ id: idComboBoxFoldStretch
+ enabled: ( idImageLoadedFreecrop.status !== Image.Null && finishedLoading === true ) ? true : false
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-simplecrop-1.2.3.tar.bz2/translations/harbour-simplecrop-de.ts
^
|
@@ -1197,6 +1197,22 @@
<source>Mono regular</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>10:16</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>9:16</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>9:21</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>2:1</source>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>InfoPage</name>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-simplecrop-1.2.3.tar.bz2/translations/harbour-simplecrop-zh_CN.ts
^
|
@@ -1197,6 +1197,22 @@
<source>Mono regular</source>
<translation>Mono 常规</translation>
</message>
+ <message>
+ <source>10:16</source>
+ <translation type="unfinished">4k {10:16?}</translation>
+ </message>
+ <message>
+ <source>9:16</source>
+ <translation type="unfinished">4k {9:16?}</translation>
+ </message>
+ <message>
+ <source>9:21</source>
+ <translation type="unfinished">4k {9:21?}</translation>
+ </message>
+ <message>
+ <source>2:1</source>
+ <translation type="unfinished">4k {2:1?}</translation>
+ </message>
</context>
<context>
<name>InfoPage</name>
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-simplecrop-1.2.3.tar.bz2/translations/harbour-simplecrop.ts
^
|
@@ -1197,6 +1197,22 @@
<source>Mono regular</source>
<translation type="unfinished"></translation>
</message>
+ <message>
+ <source>10:16</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>9:16</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>9:21</source>
+ <translation type="unfinished"></translation>
+ </message>
+ <message>
+ <source>2:1</source>
+ <translation type="unfinished"></translation>
+ </message>
</context>
<context>
<name>InfoPage</name>
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-simplecrop.changes.in
^
|
@@ -1,19 +0,0 @@
-# Rename this file as harbour-simplecrop.changes to include changelog
-# entries in your RPM file.
-#
-# Add new changelog entries following the format below.
-# Add newest entries to the top of the list.
-# Separate entries from eachother with a blank line.
-#
-# Alternatively, if your changelog is automatically generated (e.g. with
-# the git-change-log command provided with Sailfish OS SDK), create a
-# harbour-simplecrop.changes.run script to let mb2 run the required commands for you.
-
-# * date Author's Name <author's email> version-release
-# - Summary of changes
-
-#* Sun Mar 28 2021 mark washeim <blueprint@poetaster.de> 0.6.4
-#- Modified pro to install python dependancies
-#- added PIL directories to project/lib
-#- modified python program to load libs.
-
|
[-]
[+]
|
Deleted |
_service:tar_git:harbour-simplecrop.changes.run.in
^
|
@@ -1,25 +0,0 @@
-#!/bin/bash
-#
-# Rename this file as harbour-simplecrop.changes.run to let mb2 automatically
-# generate changelog from well formatted Git commit messages and tag
-# annotations.
-
-git-change-log
-
-# Here are some basic examples how to change from the default behavior. Run
-# git-change-log --help inside the Sailfish OS SDK chroot or build engine to
-# learn all the options git-change-log accepts.
-
-# Use a subset of tags
-#git-change-log --tags refs/tags/my-prefix/*
-
-# Group entries by minor revision, suppress headlines for patch-level revisions
-#git-change-log --dense '/[0-9]+.[0-9+$'
-
-# Trim very old changes
-#git-change-log --since 2014-04-01
-#echo '[ Some changelog entries trimmed for brevity ]'
-
-# Use the subjects (first lines) of tag annotations when no entry would be
-# included for a revision otherwise
-#git-change-log --auto-add-annotations
|