0
this과 동일한 문제가 있지만 Qt 및 QML이 있습니다.SwipeView가 수직으로 스크롤되지 않습니다.
가로로 스 와이프 할 수 있기를 원하지만 스크롤바가있는 특정 페이지에서 세로로 스크롤하여 사용자가 다음과 같이 할 수 있습니다. 양식을 제출하십시오.
이 attachedScrollBar
와
this과 동일한 문제가 있지만 Qt 및 QML이 있습니다.SwipeView가 수직으로 스크롤되지 않습니다.
가로로 스 와이프 할 수 있기를 원하지만 스크롤바가있는 특정 페이지에서 세로로 스크롤하여 사용자가 다음과 같이 할 수 있습니다. 양식을 제출하십시오.
이 attachedScrollBar
와
사용 Flickable
:
import QtQuick 2.9
import QtQuick.Controls 2.3
import QtQuick.Layouts 1.3
ApplicationWindow {
id: window
width: 400
height: 300
visible: true
SwipeView {
anchors.fill: parent
Rectangle {
Text {
text: "Page 1"
anchors.centerIn: parent
}
}
Flickable {
id: listView
contentWidth: width
contentHeight: pane.implicitHeight
ScrollBar.vertical: ScrollBar {}
Pane {
id: pane
GridLayout {
columnSpacing: 10
columns: 2
anchors.fill: parent
Label { text: "Label" }
Button { text: "Button" }
Label { text: "Label" }
RadioButton { text: "RadioButton" }
Label { text: "Label" }
ComboBox { model: 100 }
Label { text: "Label" }
Button { text: "Button" }
Label { text: "Label" }
RadioButton { text: "RadioButton" }
Label { text: "Label" }
ComboBox { model: 100 }
Label { text: "Label" }
Button { text: "Button" }
Label { text: "Label" }
RadioButton { text: "RadioButton" }
Label { text: "Label" }
ComboBox { model: 100 }
}
}
}
Rectangle {
visible: SwipeView.isCurrentItem
Text {
text: "Page 3"
anchors.centerIn: parent
}
}
}
}
이의 사용 가능한 복제 [? QML - 수직 출근보기] (https://stackoverflow.com/questions/39507444/qml-vertical-swipe-view) – derM
을 그건 다른 문제 – Sebastien247