Skip to content

Commit

Permalink
add formattazione condizionale cenni
Browse files Browse the repository at this point in the history
  • Loading branch information
pigreco committed Sep 17, 2023
1 parent ad8b425 commit 4f65aaf
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Binary file added docs/blog/posts/variabili/img_13.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions docs/blog/posts/variabili/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ Le variabili sono una nuova funzionalità introdotta in **QGIS 2.12 Lyon** (2015
- [etichette](#etichette)
- [print layout](#print-layout)
- [Variabile speciale value](#variabile-speciale-value)
- [Formattazione condizionale](#formattazione-condizionale)
- [RIFERIMENTI](#riferimenti)
- [RINGRAZIAMENTI](#ringraziamenti)

<!-- /TOC -->

Expand Down Expand Up @@ -169,10 +171,26 @@ ovvero, per qualsiasi valore inserito nel widget minore o uguale a 14, la dimens

Non fate caso all'anteprima, segnerà sempre `NULL` e nell'Help ci sarà sempre scritto `non impostato`.

## Formattazione condizionale

nella stessa versione di QGIS 2.12 Lyon, Nathan Woodrow introduce la possibilità di realizzare la formattazione consizionale nelle tabelle degli attributi, un po' come in Excel.

In questo contesto esiste una varianile `@value` che rappresente sempre il valore corrente dell'attributi usato.

[![](./img_13.png)](./img_13.png)

Da punto di vista del codice, sembrerebbero due variabile che non hanno nulla a che fare l'una con l'altra, infatti l'una è stata implementata da Nyall, l'altra da Nathan; unica cosa in comune è che sono state rilascite nella stessa versione di QGIS.

# RIFERIMENTI

- [Changelog 2.12 - Le variabili](https://www.qgis.org/en/site/forusers/visualchangelog212/index.html?highlight=changelog#feature-variables-in-expressions)
- [Formattazione condizionale by Nathan Woodrow](https://woostuff.wordpress.com/2015/08/20/mixing-a-bit-of-excel-into-qgis-conditional-formatted-table-cells/)
- [DOC QGIS Variabili](https://docs.qgis.org/3.28/it/docs/user_manual/expressions/functions_list.html?highlight=variable#variables)
- [Variabile @value](https://www.youtube.com/live/h-mpUkwDdOQ?t=3104&si=7GxR8qlDUGDFzXcv)
- <https://mermaid-js.github.io/mermaid/#/flowchart>

# RINGRAZIAMENTI

- **Gabriel De Luca**, [qui](https://t.me/c/1176908051/44129) suo messaggio;
- Andrea Giudiceandrea, [qui](https://lists.osgeo.org/pipermail/qgis-it-user/2023-September/010427.html) i suoi contributi.

0 comments on commit 4f65aaf

Please sign in to comment.