 The second group box is much more complicated than the first one. So we have in it, first of all, the tap widget, which has three tabs, and each of the tabs have different content. And below it, we have a button for running the actual query. So the first thing I'm going to do is drag the tap widget over to this group box. And the tap widget can also be found under containers because it's for storing other widgets. So I'm taking it and dragging it over and dropping it onto the second group box. And then I'm again changing the layout to vertical of the group box. As a result, the tap is now expanded. And we need a tap with actually three tabs, not just two, as is the default here in QT Designer. So I'm doing a right click on the tabs at the top and picking the entry insert page to, and then it doesn't really matter whether it's after or before. And then we have a tap widget now with three tabs. As I said, it's important that we name objects correctly so that they match the code that we will later show. And this tap widget, I'm going to show that, but I'm not going to show it for many more. So this tab widget needs to be called query services TW for tap widget. And the individual tabs that you now see below it, that's why I'm showing it here, also need to be renamed. I'm doing that directly here in the hierarchy by double clicking the name there. And then the first one needs to be named Nominatum, tap, because it's the one that has the content for querying Nominatum. The second one should be named GeoNames, tap. And the third one should be named DirectInput, tap. So this is just to demonstrate how you would name the objects for the individual tabs according to what the labels you see in the image. We still also have to change the titles of the individual tabs to say OS Nominatum, GeoNames and DirectInput. For that, we have to go into the property editor. So I have the first tab selected right now. And now I'm scrolling down in the property list to the green area, which are the properties that are specific for this tab widget. And there it currently says tab one for the current tab text. And that's what I'm going to change to OS Nominatum. And I'm doing the same thing for the second tab. This one should have the title GeoNames. And the third one, where the title should be DirectInput. Okay. Then in addition to this tab, we have the button at the bottom for actually running the query. I could directly at the button at the bottom, at the below the tab widget into the groupbox widget. But then it would expand horizontally to fill the entire window. If I just want it left aligned like this here, I'm first going to add a horizontal layout. So the layouts are right at the top of the list of widgets. So I'm taking that and dragging it to the area below the tab widget. It's directly below it so that it's still part of the groupbox. So now I've added the horizontal layout here. Now I'm going to add the push button widget which you can find under buttons. Dragging it over. It's actually in this case easier to drag it onto the horizontal layout we just created here in the hierarchy. And now we have the push button as part of the horizontal layout. And now we can to make it just a small button on the left and a horizontal spacer which is here in the QT widget list under spacers. And add that to the right of the button into the horizontal layout. We will aim, clue, carefully like this. And now you see that the spacer expands as much as the other widgets allow and as a result the push button shrinks to just take a bit of space to just show the label completely on the left. And we can now change the title of that button by double clicking it and then entering run query. And now we have the core structure of our second groupbox done but we still need to set up the content of the three different tabs. So I'm selecting the first step now, the one for OSM-Nominatum. And then looking at the actual tool we see that the content of this tab consists of two added fields, line added fields, two labels for them and one checkbox for enabling or disabling the country code input field. These are arranged in a grid layout. So we have a first column with just a checkbox, a second column with the labels, and a third column with the line added fields. So I'm going to start with the checkbox under buttons here. So I'm dragging that one onto the empty area of the OSM-Nominatum tab. Right click into the empty area and pick a grid layout. And I'm going to double click the checkbox to clear out the text so there should be no texts for that checkbox. And then you would still have to change the object name using right click object name. The next thing is I'm going to add the label. Labels are very close to the bottom under display widgets and I'm pulling it to the right side so that you get a vertical bar. That means I'm going to add the label in the cell that is to the right of the cell containing the checkbox. And then let me also add the second label. This one should be below. And then I'm going to add the two line added fields by dragging them over and placing them again to the right. So that was the first one and the second one. And now you see that we already have the correct layout that we wanted. I double click the first label to change its text to say country code column and do the same thing with the second label to change the title to say limit. And in the second field I'm already going to enter the value 10 as a default value that will be always there even without the user having entered anything into the field. And then we are done with the first of our tabs and we can move on to the GeoNames tab. The GeoNames tab again uses a grid layout but it has a few more widgets. It has actually four line added fields. Let me start again by... Let me start with the label for GeoNames username. So I'm dragging it onto the empty area of the tab and changing the title to GeoNames username. Then I'm going to change the layout to a grid. Again doing right click, layout, layout in a grid. Let me first add all the labels. So I'm adding a second label below the first and a third and a fourth one and the second one I call country code and third one feature class and the fourth one limit. Now let's add the two checkboxes for the second and third row to the left of the labels. So I'm dragging the first checkbox over until the blue bar appears vertically to the left. So then I'm clearing the text again so that we have just the checkbox and I'm doing the same as the second checkbox and now it's time to add the four added fields. So this is again line added widgets. I'm dragging the first one to the right of the first label. The second one, now you see that it actually shows the cells as rent boxes. So the third one and the fourth one. So now we have exactly the layout we have in the actual tool and I'm again entering a default value of 10 for the last line added field for the limit. And that means we can move on to the third tab for directly adding entering feature information for a single feature. Again, same procedure, we're using a grid layout. I'm first going to add three labels. One below the yellow changing the layout to grid. The first label gets the title name. The second label the title attitude and the fourth label the title longitude. And now the corresponding three added fields. The first one to the right of the name label. Second one in the cell below and the third one again in the cell below. And that's it, we are done with the service group box and can move on now to the next group box for displaying the results.