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 US User Group

QGIS US User Group

I've been too busy to write anything as of late. I have a lot to talk about - just not much time to do it. So FOSS4GNA happened on Sept 9-11 2024. Probably the biggest thing for me during the conference was we had two BOFs on QGIS. Granted - I think it was supposed to...

QGIS and LIDAR

So this will be my last "New Class" announcement for a bit. Back in the spring of 2024, I taught a 4 hour QGIS and LIDAR class at the TNGIC meeting (State of TN GIS meeting). I ran through it and shelved it and now I'm fixing the problem spots and smoothing down the...

NENA 911 Database in QGIS

NENA 911 Database in QGIS

I work with two counties in TN with the TN NG911 standard. Flash back 10 years ago and I hadn't really grasped how complicated address is. Do I like it? Mostly Yes. Occasionally I get questions from outside TN and I demo the two counties and how that works. A while...