 This video we're going to build a square footage calculator. It's fairly straightforward We just have column a grid with labels and spin boxes and as we change the values the square footage is automatically calculated All right, I'm gonna do this very very quickly drop into design view go to that add some controls I want a column and Admittedly, I'm going a little faster than I can talk here. So I'm a slow little bit down Gonna add a label grab a grid and I'm gonna zoom out here. There we go So our column let's add a 10 spacing Grid let's add a 10 spacing and I want two columns two rows Let's go ahead and grab some labels Drag drop drag drop and some spin boxes and First thing we're gonna have to look for that little white line drop it and Down at the very end look for that white line drop it Very very easy All right, let's scale this a little bit and I want to grab this label and let's stylize him Whipping through a lot of this because to be brutally honest. We have done a lot of this before All right, so with zoom way in I did misspell it height Let's actually Change the IDs. I'm gonna call this SB width. Let's call this SB height and let's change this to zero sqft Now we need to make some connections. So I'm gonna select our SB width select our SB height Drop in here, and we're just gonna simply make a function to you guessed it calculate it So I'm gonna say function calc and let's say very numb equal SB width I want the value not value not validator and Take our label here last, but certainly not least we go down here, and we just need to modify this on clicked Very very simple. We're just gonna change that to our function. We just created calc You may be wondering why I'm doing these in connections rather than inland like I normally do just showing different ways that you can Do it save and run and let's test this out Oh Something's wrong. We didn't oh, yes, we did not do this correctly. What did we not do here? This is on clicked we want on value modified Save run. Let's try that again Ta-da works What's up everybody? This is Brian. I hope you enjoyed this video It's part of a larger series out on you to me calm called QML for beginners the QML for beginners course assumes You know absolutely zero QML. You're just starting off and it's designed specifically for Qt 5 I will re-record the entire series when Qt 6 comes out and just know that it's over a hundred videos and 13 and a half hours of video on-demand. I'll put a link below so you can get a highly discounted rate and Before you dive in just understand it covers a lot more than what I can put into this list everything from what's QML to? Animations to C++ integration JavaScript and on and on and on but one of the requirements up front is you have to know Qt Core You should have some C++ under your belt and be very familiar with Qt 5 in case you have none of that I do have some courses for Qt Core beginners intermediate and advanced out on you to me as well Hope to see you there