mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:03:55 +02:00
keyboard for avatar attachment model url dialog
This commit is contained in:
parent
2c0676d9b1
commit
753e4c4c7b
1 changed files with 33 additions and 0 deletions
|
@ -9,6 +9,7 @@ import ".."
|
|||
import "../../../styles-uit"
|
||||
import "../../../controls-uit" as HifiControls
|
||||
import "../../../windows"
|
||||
import "../../../controls" as Controls
|
||||
|
||||
Item {
|
||||
height: column.height + 2 * 8
|
||||
|
@ -34,6 +35,9 @@ Item {
|
|||
anchors { left: parent.left; right: parent.right; margins: 20 }
|
||||
spacing: 8
|
||||
|
||||
property bool keyboardRaised: false
|
||||
property bool punctuationMode: false
|
||||
|
||||
Item {
|
||||
height: modelChooserButton.height + urlLabel.height + 4
|
||||
anchors { left: parent.left; right: parent.right;}
|
||||
|
@ -71,6 +75,35 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
// virtual keyboard, letters
|
||||
Controls.Keyboard {
|
||||
id: keyboard1
|
||||
// y: parent.keyboardRaised ? parent.height : 0
|
||||
height: parent.keyboardRaised ? 200 : 0
|
||||
visible: parent.keyboardRaised && !parent.punctuationMode
|
||||
enabled: parent.keyboardRaised && !parent.punctuationMode
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 0
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 0
|
||||
// anchors.bottom: buttonRow.top
|
||||
// anchors.bottomMargin: 2 * hifi.dimensions.contentSpacing.y
|
||||
}
|
||||
|
||||
Controls.KeyboardPunctuation {
|
||||
id: keyboard2
|
||||
// y: parent.keyboardRaised ? parent.height : 0
|
||||
height: parent.keyboardRaised ? 200 : 0
|
||||
visible: parent.keyboardRaised && parent.punctuationMode
|
||||
enabled: parent.keyboardRaised && parent.punctuationMode
|
||||
anchors.right: parent.right
|
||||
anchors.rightMargin: 0
|
||||
anchors.left: parent.left
|
||||
anchors.leftMargin: 0
|
||||
// anchors.bottom: buttonRow.top
|
||||
// anchors.bottomMargin: 2 * hifi.dimensions.contentSpacing.y
|
||||
}
|
||||
|
||||
Item {
|
||||
height: jointChooser.height + jointLabel.height + 4
|
||||
anchors { left: parent.left; right: parent.right; }
|
||||
|
|
Loading…
Reference in a new issue