[-]
[+]
|
Deleted |
_service:tar_git:harbour-simplecrop-1.1.3+SFOS.4.1.20211115140901.2c6c68b.tar.bz2/qml/pages/SharePage.qml
^
|
@@ -1,79 +0,0 @@
-import QtQuick 2.6
-import Sailfish.Silica 1.0
-import Sailfish.TransferEngine 1.0
-
-Page {
- id: page
- allowedOrientations: Orientation.Portrait
-
- // from FirstPage.qml
- property var shareFilePath
- property var shareFileName
-
- // UI values
- property var mimeType : "image/*"
- property bool sizeWarning : false
-
- Component.onCompleted: {
- if (shareFilePath.indexOf(".tmp") === -1) {
- sizeWarning = true
- }
- }
-
- ShareMethodList {
- id: idShareMethodList
- anchors.fill: parent
-
- header: SectionHeader {
- id: idSectionHeader
- height: idSectionHeaderColumn.height
- Column {
- id: idSectionHeaderColumn
- width: parent.width / 5 * 4
- height: idLabelProgramName.height + idLabelFileWarning.height
- anchors.top: parent.top
- anchors.topMargin: Theme.paddingMedium
- anchors.right: parent.right
- Label {
- id: idLabelProgramName
- width: parent.width
- anchors.right: parent.right
- horizontalAlignment: Text.AlignRight
- font.pixelSize: Theme.fontSizeLarge
- color: Theme.highlightColor
- text: qsTr("Share image")
- }
- Label {
- id: idLabelFileWarning
- width: parent.width
- anchors.right: parent.right
- horizontalAlignment: Text.AlignRight
- font.pixelSize: Theme.fontSizeTiny
- color: Theme.highlightColor
- truncationMode: TruncationMode.Elide
- text: (sizeWarning === true) ? ( qsTr("sending file to") + "\n") : ( qsTr("You are about to send a large temporary PNG file.") + "\n"
- + qsTr("Save as JPG first, if you need smaller filesize.") + "\n"
- + "\n" )
- }
- }
- }
- source: shareFilePath
- filter: mimeType
-
- /*
- content: {
- "name": shareFileName,
- "type": type,
- //"data": shareFilePath,
- //"status": shareFilePath, //e.g. email text
- //"icon": someFileTypeIcon
- }
-
- ViewPlaceholder {
- enabled: (idShareMethodList.model.count === 0)
- text: qsTr("No sharing plugins installed which can share that image!")
- }
- */
- }
-}
-
|
[-]
[+]
|
Changed |
_service:tar_git:harbour-simplecrop-1.2.0.tar.bz2/qml/pages/FirstPage.qml
^
|
@@ -3889,7 +3889,7 @@
}
}
}
- IconButton {
+ /*IconButton {
enabled: ( idImageLoadedFreecrop.status !== Image.Null && finishedLoading === true && templock === -1 ) ? true : false
width: parent.width / itemsPerRow
height: Theme.itemSizeSmall
@@ -3910,7 +3910,7 @@
horizontalCenter: parent.horizontalCenter
}
}
- }
+ }*/
IconButton {
enabled: ( finishedLoading === true) ? true : false
width: parent.width / itemsPerRow
|