69 lines
1.3 KiB
Plaintext
69 lines
1.3 KiB
Plaintext
ChoiceListLabel < Label
|
|
font: verdana-11px-monochrome
|
|
background-color: alpha
|
|
text-offset: 2 0
|
|
focusable: true
|
|
|
|
$focus:
|
|
background-color: #ffffff22
|
|
color: #ffffff
|
|
|
|
ChoiceList < TextList
|
|
id: choiceList
|
|
vertical-scrollbar: choiceScrollBar
|
|
anchors.fill: parent
|
|
anchors.top: prev.bottom
|
|
anchors.bottom: next.top
|
|
padding: 1
|
|
margin-top: 4
|
|
margin-bottom: 10
|
|
focusable: false
|
|
visible: false
|
|
|
|
ChoiceScrollBar < VerticalScrollBar
|
|
id: choiceScrollBar
|
|
anchors.top: choiceList.top
|
|
anchors.bottom: choiceList.bottom
|
|
anchors.right: choiceList.right
|
|
step: 14
|
|
pixels-scroll: true
|
|
visible: false
|
|
|
|
ModalButton < Button
|
|
width: 60
|
|
margin: 2
|
|
|
|
ModalDialog < MainWindow
|
|
id: modalDialog
|
|
size: 280 97
|
|
&minimumWidth: 200
|
|
&maximumWidth: 500
|
|
&minimumChoices: 4
|
|
&maximumChoices: 10
|
|
|
|
Label
|
|
id: messageLabel
|
|
anchors.top: parent.top
|
|
anchors.left: parent.left
|
|
text-align: left
|
|
text-auto-resize: true
|
|
text-wrap: true
|
|
|
|
ChoiceList
|
|
|
|
HorizontalSeparator
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
anchors.bottom: next.top
|
|
|
|
Panel
|
|
id: buttonList
|
|
anchors.left: parent.left
|
|
anchors.right: parent.right
|
|
anchors.bottom: parent.bottom
|
|
height: 24
|
|
layout: horizontalBox
|
|
align-right: true
|
|
|
|
ChoiceScrollBar
|