mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 04:59:54 +02:00
basic ugly feed/places toggle button
This commit is contained in:
parent
e593077b4b
commit
188e525efc
1 changed files with 19 additions and 2 deletions
|
@ -193,7 +193,24 @@ Window {
|
||||||
helperText: "Go to: place, @user, /path, network address"
|
helperText: "Go to: place, @user, /path, network address"
|
||||||
onTextChanged: filterChoicesByText()
|
onTextChanged: filterChoicesByText()
|
||||||
}
|
}
|
||||||
|
Rectangle {
|
||||||
|
color: "red";
|
||||||
|
height: addressLine.height;
|
||||||
|
width: addressLine.height;
|
||||||
|
anchors {
|
||||||
|
left: addressLine.right;
|
||||||
|
bottom: addressLine.bottom;
|
||||||
|
}
|
||||||
|
MouseArea {
|
||||||
|
anchors.fill: parent
|
||||||
|
acceptedButtons: Qt.LeftButton
|
||||||
|
onClicked: {
|
||||||
|
console.log('fixme hrs toggle');
|
||||||
|
useFeed = !useFeed;
|
||||||
|
filterChoicesByText();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -299,7 +316,7 @@ Window {
|
||||||
return {
|
return {
|
||||||
place_name: name,
|
place_name: name,
|
||||||
path: data.path || "",
|
path: data.path || "",
|
||||||
created_at: data.create_at || "8/3/2016",
|
created_at: data.create_at || "",
|
||||||
thumbnail_url: data.thumbnail_url || "",
|
thumbnail_url: data.thumbnail_url || "",
|
||||||
|
|
||||||
tags: tags,
|
tags: tags,
|
||||||
|
|
Loading…
Reference in a new issue