menu Impostazioni anche nella home; Sea state spostato in alto nel dettaglio (sotto la card porto vicino)
This commit is contained in:
@@ -6,6 +6,13 @@ import "../js/comuni.js" as Comuni
|
||||
Page {
|
||||
id: page
|
||||
|
||||
PullDownMenu {
|
||||
MenuItem {
|
||||
text: qsTr("Settings")
|
||||
onClicked: page.openSettings()
|
||||
}
|
||||
}
|
||||
|
||||
// Campi di ricerca FUORI dall'header della lista: gli id dichiarati nel
|
||||
// componente header hanno scope chiuso e le funzioni del Page non li
|
||||
// vedono (ReferenceError "filter is not defined").
|
||||
@@ -174,6 +181,11 @@ Page {
|
||||
page.openDetail([name, qsTr("Italy"), lat, lon, cost, flag], -1, true)
|
||||
}
|
||||
|
||||
function openSettings() {
|
||||
console.log("[tide] openSettings")
|
||||
pageStack.push(Qt.resolvedUrl("SettingsPage.qml"))
|
||||
}
|
||||
|
||||
// --- Ricerca online (geocoding Photon) per città estere / non trovate ---
|
||||
function geoFound(name, lat, lon, src) {
|
||||
console.log("[tide] geoFound:", name, lat, lon, src)
|
||||
|
||||
Reference in New Issue
Block a user