summaryrefslogtreecommitdiff
path: root/Main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'Main.qml')
-rw-r--r--Main.qml22
1 files changed, 11 insertions, 11 deletions
diff --git a/Main.qml b/Main.qml
index 0725efc..1faaaf0 100644
--- a/Main.qml
+++ b/Main.qml
@@ -311,11 +311,11 @@ ApplicationWindow {
Layout.minimumWidth: implicitWidth
from: 10
- to: 30000000
+ to: 94000000
stepSize: 100
editable: true
- value: 3000000
+ value: 68000
onValueChanged: writeParams()
}
@@ -550,7 +550,7 @@ ApplicationWindow {
Layout.fillWidth: true
- currentIndex: 0
+ currentIndex: 1
Shortcut {
sequence: "alt+1"
@@ -585,6 +585,8 @@ ApplicationWindow {
Layout.fillHeight: true
Layout.fillWidth: true
+ property ListView iii: contentItem
+ Component.onCompleted: iii.maximumFlickVelocity = 10 * width
// Layout.minimumWidth: mainWindowRoot.width * 0.8
currentIndex: tabBar.currentIndex
@@ -593,19 +595,15 @@ ApplicationWindow {
ImageViewer {
id: image
- visible: SwipeView.index = SwipeView.currentIndex
- onVisibleChanged: console.log("image viewer visible: ", visible, " index ", index, SwipeView.currentIndex)
- property int iii: SwipeView.index
- property int ccc: SwipeView.currentIndex
- Connections {
- target: swipeView
- onCurrentIndexChanged: console.log("image viewer visible: ", visible, " index ", image.iii, image.ccc, swipeView.currentIndex)
- }
+
+ visible: SwipeView.isCurrentItem
}
QmlCustomPlot {
id: pixelsQmlCustomPlot
+ visible: SwipeView.isCurrentItem
+
objectName: "pixelsCustomPlot"
Label {
@@ -628,6 +626,8 @@ ApplicationWindow {
objectName: "profileCustomPlot"
+ visible: SwipeView.isCurrentItem
+
Label {
anchors {
top: parent.top