diff options
| author | Nikita Kostovsky <nikita@kostovsky.me> | 2025-02-28 23:28:48 +0100 |
|---|---|---|
| committer | Nikita Kostovsky <nikita@kostovsky.me> | 2025-02-28 23:28:48 +0100 |
| commit | c6b3b137e464cd2e16c046ca34be3c9e6e6fa1c9 (patch) | |
| tree | 1fced94581a7025ac4b9144f6dae81776969b3f2 /Main.qml | |
| parent | db510e98c16437bf00b1d2aac5b1effc4fda971e (diff) | |
random changes
Diffstat (limited to 'Main.qml')
| -rw-r--r-- | Main.qml | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -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 |
