diff options
| author | Nikita Kostovsky <nikita@kostovsky.me> | 2025-01-12 11:51:19 +0100 |
|---|---|---|
| committer | Nikita Kostovsky <nikita@kostovsky.me> | 2025-01-12 11:51:19 +0100 |
| commit | 2e1f388c03b6384485e1fe9f2ec708c3b7104d3b (patch) | |
| tree | 42f870a167d3d9525729d0a0318b8ca9e23c149c /Main.qml | |
| parent | d624e965f24067b125fcfae217e612c072cdc441 (diff) | |
receive and visualize rofiles
Diffstat (limited to 'Main.qml')
| -rw-r--r-- | Main.qml | 37 |
1 files changed, 33 insertions, 4 deletions
@@ -517,6 +517,11 @@ ApplicationWindow { onActivated: tabBar.currentIndex = 1 } + Shortcut { + sequence: "alt+3" + onActivated: tabBar.currentIndex = 2 + } + TabButton { text: qsTr("Image") } @@ -524,6 +529,10 @@ ApplicationWindow { TabButton { text: qsTr("Pixels") } + + TabButton { + text: qsTr("Profile") + } } SwipeView { @@ -540,9 +549,29 @@ ApplicationWindow { } QmlCustomPlot { - id: qmlPlot + id: pixelsQmlCustomPlot + + objectName: "pixelsCustomPlot" + + Label { + anchors { + top: parent.top + topMargin: 8 * 2 + horizontalCenter: parent.horizontalCenter + } + text: pixelsQmlCustomPlot.fps + color: Material.accent + } + + plot: pixelsPlot + // Component.onCompleted: setRange(Qt.rect(-640, 0, 1280, 800)) + // Component.onCompleted: initCustomPlot() + } + + QmlCustomPlot { + id: profileQmlCustomPlot - objectName: "qmlCustomPlot" + objectName: "profileCustomPlot" Label { anchors { @@ -550,11 +579,11 @@ ApplicationWindow { topMargin: 8 * 2 horizontalCenter: parent.horizontalCenter } - text: qmlPlot.fps + text: profileQmlCustomPlot.fps color: Material.accent } - plot: myPlot + plot: profilePlot // Component.onCompleted: setRange(Qt.rect(-640, 0, 1280, 800)) // Component.onCompleted: initCustomPlot() } |
