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 Offline Help

QGIS Offline Help

Through a long series of events I found myself teaching QGIS in a classroom again. It's been a while. I used to just "hold" classes and sometime during the pandemic I jsut stopped. Occasionally I'll get a call for 3 or 4 people that want training but generally I've...

The online training website that I hardly talk about

The online training website that I hardly talk about

I had mentioned it some but it's probably been coming up on 6 months since I even mentioned training. Right before I decided to attempt to die in 2025 I had started building a training website at training.northrivergeographic.com. Basically it's my Intro to QGIS class...

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...