mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-07 22:02:32 -04:00
Change search icon on toolbar to invoke search field on contacts
This commit is contained in:
parent
2360c3c27a
commit
b9d21f004c
2 changed files with 18 additions and 11 deletions
|
@ -108,8 +108,25 @@ ApplicationWindow
|
|||
anchors.left: imageLoader.right
|
||||
anchors.leftMargin: 20
|
||||
}
|
||||
|
||||
|
||||
BtnIcon
|
||||
{
|
||||
id: searchIcon
|
||||
height: parent.height - 10
|
||||
width: parent.height - 10
|
||||
anchors.verticalCenter: parent.verticalCenter
|
||||
imgUrl: "qrc:/icons/search.svg"
|
||||
anchors.right: menu.left
|
||||
onClicked:
|
||||
{
|
||||
stackView.push("qrc:/Contacts.qml",
|
||||
{'searching': true} )
|
||||
}
|
||||
}
|
||||
MouseArea
|
||||
{
|
||||
id: menu
|
||||
height: parent.height
|
||||
width: parent.height
|
||||
anchors.right: parent.right
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue