QGIS 3.30: Text Widget

May 10, 2023 | QGIS

The fun continues as I walk though the change log for qgis 3.30. I’m running a bit behind – So lets talk widgets. QGIS introduces new widgets to help in data entry.

Lets talk about the Text Widget. The TN911 project is starting to get some complicated menus and one thing I’ve wondered about is “checking the data” before it goes in. I have checks in the database but what if I wanted some human eyes on the data. The new text widget allows for expressions to display data from fields. As you can see from the pic below the text widget has a place to place expressions.

Lets make a completely ridiculous test menu for data entry with 4 tabs – so I can’t see “everything at once”.

I’m going to use the new expression “current_value (‘field’)” to display my data under the text widget that I’ve named “Current Value”. I’m also using the new spacer widget which makes a space. The spacer widget is nice – but that’s as much “space” on the blog as I’m giving it.

My final formula will be for the “Current Value” text widget: [% concat(current_value( ‘col1’), ‘ ‘, current_value (‘col2’), ‘ ‘, current_value (‘col3’), ‘ ‘, current_value (‘col4’)) %]

…and I know that’s a bit of a silly example BUT I can see me incorporating this into the data collection portion of the 911 project just to see “how” the address looks. Maybe I need to run some calculations to give the user a hint on data input.

You may also like

QGIS Fun: Chickamauga Mound

QGIS Fun: Chickamauga Mound

I've been trying to stop once a week and do something fun with QGIS. Post Heart Incident I do a lot of walking. I've been re-exploring some places I used to go in town to exercise and one is the TN River Walk. I realized the other day I needed to do some OpenStreetMap...

The Trail Map – Part 1

The Trail Map – Part 1

A few posts ago I babbled about cartography. I've never had the patience for Cartography mainly because two things usually happen...well three things: the map can't be bigger than 8x11 the map must have everything on it Make the map however you want except we will...

My So called Life as a Map Maker

My So called Life as a Map Maker

I can sum it up: It's not much of one. Way back in my younger days I was infatuated with ArcPlot (which was the plotting portion of ArcINFO). From there I moved to Arcview, ArcMap, and eventually here to QGIS. All of my work typically revolves around Data. I usually...