Icone dell'originale e motore linkato con le librerie per aarch64

- icone: icona app dal grumpydove.png 512x512, sprite Eudora per cartelle,
  In/Out/Trash/Junk, account e allegato (BSD 3-Clause, CHM) con licenza e
  nota nel README; via la barra di rientro, ora l'icona e' indentata
- spike: cross_sysroot.py costruisce un sysroot aarch64 dai .deb senza root;
  stub_gui.c/stub_pgp.c sostituiscono Qt e gpg; il motore completo si linka
  con libetpan, gpgme, jansson, curl, gnutls, libxml2 e legge una Maildir
- 0.1.1
This commit is contained in:
Carlo Baratto committed 2026-11-11 11:00:34 +01:00
1 parent 781f015597
commit 102908a265
23 files changed
+475 -18

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 211 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

+22 -9
View File
@@ -28,6 +28,18 @@ Page {
{ cartella: box, titolo: nome });
}
// Le icone vengono dagli sprite dell'originale (icons/ di GrumpyDove,
// BSD 3-Clause, © Computer History Museum): cartella, In, Out, Trash,
// Junk, account.
function iconaDi(tipo) {
if (tipo === "account") return "../images/icona-account.png";
if (tipo === "in") return "../images/icona-in.png";
if (tipo === "out") return "../images/icona-out.png";
if (tipo === "trash") return "../images/icona-trash.png";
if (tipo === "junk") return "../images/icona-junk.png";
return "../images/icona-cartella.png";
}
SilicaListView {
id: lista
anchors.fill: parent
@@ -55,21 +67,22 @@ Page {
height: Math.max(Theme.itemSizeMedium, etichetta.implicitHeight + Theme.paddingLarge)
onClicked: page.apriCartella(model.nome, model.mailbox)
// Rientro per profondita': la gerarchia si vede, non si spiega.
Rectangle {
id: barra
// Rientro per profondita': la gerarchia si vede dall'icona.
Image {
id: icona
x: Theme.horizontalPageMargin + model.livello * Theme.paddingLarge
width: Theme.paddingSmall / 3
height: parent.height - Theme.paddingMedium
width: Theme.iconSizeSmall
height: width
anchors.verticalCenter: parent.verticalCenter
color: model.tipo === "account" ? Theme.highlightColor : "transparent"
visible: model.tipo !== "account"
source: page.iconaDi(model.tipo)
// pixel art dell'originale: niente sfumature inventate
smooth: false
}
Column {
id: etichetta
anchors.left: parent.left
anchors.leftMargin: Theme.horizontalPageMargin + model.livello * Theme.paddingLarge
anchors.left: icona.right
anchors.leftMargin: Theme.paddingMedium
anchors.right: conteggio.left
anchors.rightMargin: Theme.paddingMedium
anchors.verticalCenter: parent.verticalCenter
+20 -5
View File
@@ -113,12 +113,27 @@ Page {
truncationMode: TruncationMode.Fade
color: riga.highlighted ? Theme.highlightColor : Theme.primaryColor
}
Label {
Row {
width: parent.width
text: model.allegato ? model.oggetto + " \u2022" : model.oggetto
font.pixelSize: Theme.fontSizeSmall
truncationMode: TruncationMode.Fade
color: Theme.secondaryColor
spacing: Theme.paddingSmall
Label {
width: parent.width - (model.allegato
? Theme.iconSizeExtraSmall + Theme.paddingSmall : 0)
text: model.oggetto
font.pixelSize: Theme.fontSizeSmall
truncationMode: TruncationMode.Fade
color: Theme.secondaryColor
}
Image {
visible: model.allegato
width: Theme.iconSizeExtraSmall
height: width
anchors.verticalCenter: parent.verticalCenter
// graffetta degli sprite originali (BSD 3-Clause, CHM)
source: "../images/icona-allegato.png"
smooth: false
}
}
}