Dans 'config_affichage.qml', ajout de la saisie manuelle du n° de MMSI

This commit is contained in:
2026-09-30 14:21:53 +02:00
parent 53e47729fb
commit 215499369b
8 changed files with 102 additions and 24 deletions
+26 -14
View File
@@ -11,6 +11,7 @@
import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Effects
import qt.koriolan.shipheart 1.0
import"fonctions.js" as Fonctions
@@ -123,7 +124,7 @@ Shipheart_page {
width: shipheart_largeur_page
height: affichage_hauteur_utile
color: "transparent"
border.color: couleur_gris_moyen
//border.color: couleur_gris_moyen
ListModel {
id: modele_liste_points
@@ -132,6 +133,7 @@ border.color: couleur_gris_moyen
//==========================
// Image de la silhouette :
Image {
id: image_silhouette
anchors.fill: parent
source: (fichier !== "")
@@ -193,21 +195,31 @@ border.color: couleur_gris_moyen
verticalCenter: parent.verticalCenter
}
}
/* ColorOverlay {
anchors.fill: icone_point
source: icone_point
color: couleur_green_yellow
}
*/
MultiEffect {
anchors.fill: icone_point
source: icone_point
visible: model.halo
shadowEnabled: true
shadowColor: couleur_blanc
shadowBlur: 1.0 // Entre 0 et 1. Plus il est haut, plus l'étalement est progressif. Plus il est bas, plus la transition est abrupte.
shadowScale: 2.0 // Distance d'étalement du halo
shadowHorizontalOffset: 0
shadowVerticalOffset: 0
shadowOpacity: 1.0
}
/* Plus valable sur Qt6 :
Glow {
anchors.fill: icone_point
radius: 30
samples: 61
anchors.fill: icone_point
radius: 30
samples: 61
// spread: 0.9
color: couleur_blanc
source: icone_point
visible: model.halo
}
color: couleur_blanc
source: icone_point
visible: model.halo
}
*/
//-----------------------------------------------------
// Nom :