Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Page {
- objectName: "questionPage"
- id: questionPage
- tools: questionTools
- Column {
- id: questionColumn
- width: parent.width
- spacing: 20
- TextArea {
- id: questionText
- width: parent.width
- readOnly: true
- font.pixelSize: 32
- text: rootWindow.questionText
- }
- AnswerButton {
- id: answerButtonA
- anchors.top: questionText.bottom
- answertext: rootWindow.ansTextA
- isTruth: rootWindow.truthA
- buttontext: "A"
- }
- AnswerButton {
- id: answerButtonB
- anchors.top: answerButtonA.bottom
- answertext: rootWindow.ansTextB
- isTruth: rootWindow.truthB
- buttontext: "B"
- }
- AnswerButton {
- id: answerButtonC
- anchors.top: answerButtonB.bottom
- answertext: rootWindow.ansTextC
- isTruth: rootWindow.truthC
- buttontext: "C"
- }
- AnswerButton {
- id: answerButtonD
- anchors.top: answerButtonC.bottom
- answertext: rootWindow.ansTextD
- isTruth: rootWindow.truthD
- buttontext: "D"
- }
- AnswerButton {
- id: answerButtonE
- anchors.top: answerButtonD.bottom
- answertext: rootWindow.ansTextE
- isTruth: rootWindow.truthE
- buttontext: "E"
- }
- }
- Flickable {
- id: flickable
- width: parent.width
- contentWidth: Math.max(parent.width,questionColumn.width)
- contentHeight: Math.max(parent.height,questionColumn.height)
- pressDelay: 200
- Item {
- id: dummyItem
- anchors.top: questionColumn.top
- anchors.bottom: questionColumn.bottom
- }
- }
- ScrollDecorator {
- id: scrolldecorator
- flickableItem: flickable
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement