mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 04:57:23 +02:00
HMD Keyboard for purchases filterBar
This commit is contained in:
parent
ea00668725
commit
ceb38e261d
1 changed files with 17 additions and 1 deletions
|
@ -27,6 +27,7 @@ Rectangle {
|
||||||
id: root;
|
id: root;
|
||||||
property string activeView: "initialize";
|
property string activeView: "initialize";
|
||||||
property string referrerURL: "";
|
property string referrerURL: "";
|
||||||
|
property bool punctuationMode: false;
|
||||||
// Style
|
// Style
|
||||||
color: hifi.colors.baseGray;
|
color: hifi.colors.baseGray;
|
||||||
Hifi.QmlCommerce {
|
Hifi.QmlCommerce {
|
||||||
|
@ -190,6 +191,10 @@ Rectangle {
|
||||||
}
|
}
|
||||||
previousLength = filterBar.text.length;
|
previousLength = filterBar.text.length;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
onAccepted: {
|
||||||
|
focus = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//
|
//
|
||||||
|
@ -244,7 +249,7 @@ Rectangle {
|
||||||
height: 40;
|
height: 40;
|
||||||
// Anchors
|
// Anchors
|
||||||
anchors.left: parent.left;
|
anchors.left: parent.left;
|
||||||
anchors.bottom: parent.bottom;
|
anchors.bottom: keyboard.top;
|
||||||
anchors.bottomMargin: 8;
|
anchors.bottomMargin: 8;
|
||||||
|
|
||||||
// "Back" button
|
// "Back" button
|
||||||
|
@ -269,6 +274,17 @@ Rectangle {
|
||||||
// ACTION BUTTONS END
|
// ACTION BUTTONS END
|
||||||
//
|
//
|
||||||
|
|
||||||
|
HifiControlsUit.Keyboard {
|
||||||
|
id: keyboard;
|
||||||
|
raised: HMD.mounted && filterBar.focus;
|
||||||
|
numeric: parent.punctuationMode;
|
||||||
|
anchors {
|
||||||
|
bottom: parent.bottom;
|
||||||
|
left: parent.left;
|
||||||
|
right: parent.right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// FUNCTION DEFINITIONS START
|
// FUNCTION DEFINITIONS START
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue