Hey everybody, this is Brian, and this is our sixth Qt video with C++. Today we're going to be going over some more GUI elements. So let's just go File, New, and we're going to say Qt C++ GUI Project, and say My GUI, and let's go Test. And for this tutorial, let's actually just select Qt Dialog instead of QMainWindow.  I don't want the UI elements like the toolbar and menu bar to really get in the way. I just want to focus on a very simple dialogue. I want to show you a few tricks. So over here on the left, these are your widgets. You can either scroll down and pick the one you want, or you can just start typing it in the name and it will auto-filter it. For example, here's Label. We want a line edit and a button. Actually, let's just grab a couple of buttons here. And you drag and drop and just place them wherever you want them on the form. Now this is all kind of haphazard and it looks really hokey. And I should back up and say I'm also assuming that you know what these are, a label just displays text, line it, it allows you to type it in, and buttons you push them. And you can actually, you know, double click the button and fill in the text. So we're going to say this dialogue just simply wants your name. Well, let's make this a little prettier. That's where layouts come in. Select the label and line edit, and then you have these layouts up here. That's what these buttons are. Go ahead and select the horizontal, or you can press just Ctrl H and it'll lay that out. And then select your buttons. And same thing, you notice how it lines them up, snaps them together. And select the form and, or I'm sorry, select the dialogue and you can see you can still do even further. So select the vertical layout. Now what that does is it lays them out nice and neat. The reason why you would do this is simple. Cute is cross-platform. The way it's rendered in Windows is different than it's rendered in Linux, in Unix, Solaris, I mean, I don't know, I don't know. So you use layouts. That way the code will automatically move and resize the widgets as needed per the operating system that it's being compiled and run on. Another little thing I should show you is a spacer. Say we want these buttons over to the right, just take a horizontal spacer and drop it in, and it automatically moves and pads it. Now you may be wondering how do these controls know how to do all this.  That's going to be kind of your homework is to play around the size policy and learn some of these things. But you can set like a minimum size, a maximum size, a base size, and the size policy. All right, now let's just resize this a little bit more. You've worked with edit widgets. You've worked with signals and slots. Let's actually just create a signal slot and we'll say cancel and we're going to do clicked show and we're going to say close and for the OK button clicked and we're going to say accept. That is how you would determine whether the dialogue is just closed or accepted. Then you have these other buttons like this one edit buddies. What are buddies? A lot of people don't really understand buddies and what they do. What a buddy does is allows one control to accept the input for another controls. Let's just say name label and select that to the line at it and what that does is if the label had focus, for example, if you had a underscore under the end, so control and it would automatically set the focus to this line at it. A lot of people don't really understand that. It's not very well used and the tab order, this discusses the tab order and you can just click these around and do what you want to do with them. Just double click it so it changes the order. So we want OK to be one. We want cancel be two and that to be three. Let's play around with this. Let's say we want that to be one, this to be two, that to be three. You can see how you can very quickly and graphically change the tab order. You can set all that programmatically too. Select the edit widgets or F3 and let's save our work and run it. Let's look at our beautiful little dialogue and all its glory. You notice how it's automatically set to the line at it. We hit tab, it goes to the button. Tab again, it goes to cancel. Tab again, it goes up here. And if you hit either one of these buttons, it'll close the form. This one just closes it. This one accepts and close. So that in a nutshell is widgets, tab orders and buddies. Now you should know you can do all this programmatically and if you look over in the object explorer here, let me actually expand this out a little bit. You can see how it's actually filled all these in for you. So you don't have to do it through code.  We'll go over those in other tutorials, but I wanted to show you how to very quickly and rapidly graphically build a GUI application. Another thing you should note is that you can right click on a control and go to go to slot. And that brings up the signal slots mechanism. So let's say we want to, when this thing is clicked, we want to do something and then you would just modify the code for whatever you want to do. Well, once again, this is Brian. Thank you for watching. I hope you found this video educational and entertaining.


In this video, I'm going to help you learn all the French works written by Joffrey Jossle in less than 60 seconds. In order to remember all the works of Jossle, just remember the word Crab. This word crab will help us remember all the four names. C stands for Complain Onto Pity, R stands for Lay Romance de la Rose. It is a story that begins with an allegorical dream in which the narrator receives advice from the god of love on gaining his lady's favor. Love being symbolized by a rose. A in the word Crab stands for the poem ABC and B stands for Book of Duchess. Book of Duchess is also known as the Death of Blanche. Jossle wrote this poem on the death of the wife of John of Gount. Hope this video was helpful. I will be back again with more such tips and tricks.


Hi everyone, I'm Joe for jasby'scasebreaks.com coming at you with the last filler box we got to do before we give away those final eight mosaic teams and pick your team number five. Six actually sold out before five, so five ends up being the second half of the case, which I have stacked up right over here. But first, the break. Big thanks to this group for making it happen. All 32 teams are in. Let's roll it. Let's randomize it. Names and teams, six and a one, seven times, one. The giveaway will be in a second dice roll at the end. Three, four, five, six, and once more, right? Yeah, seventh and final time. Seven times for the teams, one, two, three, four, five, six, and a one. Seventh and final time. Bills down to Ravens. All right, here's the first half of the list right here. We've got Detroit at Golden State, Warriors are cruising, 54-32, that's what's on the background. Here's the first half of the list. And here's the next half of the list right there. No trades and filler breaks. Let's just print and rip. David Montgomery, Jabril Pepper, it is Miles Garrett, Mike Evans, Javin Hawkins. Look at that. This was in that pack a little, packed in that pack a little weird. Not a huge name, though. No, those are rookie wrestlers, should just be vet. Just some comments here. All right, so nothing too crazy in that filler pack, but the crazy part is who's going to win those teams, those final teams in Picker Team Five. So let's gather all these names again, new dice, new list. And it's going to be the top, you can see right there, the top eight will get teams. So you've seen this before, we're just randomizing your names and lining you up with a team. So name on top gets the Jag, second name the Bear, so on and so forth. So top eight after, after eight, four and a four, eight the hard way. One, two, three, four, five, six, seven, and eighth in final time. So it's only the top eight. So from nine on down, it's going to be sad times. Adam very close, no cigar, but I appreciate you and everyone for giving this a shot. Thank you. Top eight, you're in the next break, Nico, Evan, Adam, Todd, Adam again, Terry, Stephen and Stephen. All right. So I don't feel so bad for Adam as close, but no cigar spot. He's got two spots there. So let's match you up with the team. So Stephen with the Jags, that's pretty good, Stephen. Top two spots for you. We'll put that little rooftop next to your name until you know you one team. So Stephen with the Jags and the Bears, Terry with the boys, Adam with the Chiefs, Todd with the Packers, Adam with the Colts, Evan with my Raiders, and Nico with the Giants. We'll see you in the next video for that mosaic football break, jaspyscasebreaks.com.


We grow up in cultures with narratives that tell us who we are by ways of simplification. And this is happening everywhere.  If you go elsewhere, you will come across the same narrative across Europe from the far right.  All extremist ideologies, what they have in common, is they simplify complexity. And they're based on identity politics, and all identity politics is based on exclusion. That's why I have a huge problem with all kinds of organized religions, because they're based on a distinction between us versus them, and the presumption that us is better than them, you know, sometimes expressed, sometimes not expressed. So I do agree that we intellectuals, or the left, the liberals have not done a very good job in terms of connecting with people's anxieties, and we must be critical of that. But at the same time, we have to see, we have to resist this tendency to simplify things, because as human beings, we are so complex, we are composed of multiple selves. We are made of water. Our main element is water. It's based on flow. What do I mean is, yes, I'm an Istanbulite. I'm at the same time a Londoner. I have connections to the Balkans. I have connections to the Middle East. There is in me so many elements from the Middle East. At the same time, I'm a European by choice. At the same time, I'm a world citizen. At the same time, I'm a global soul. So if I can have multiple, multiple belongings, there's a bigger chance that my multiple belongings will converge with yours. But if I am based, defined on the basis of a single, exclusivist identity politics, there's no way we can find common ground. We need to abolish that narrative that tells us, you can only be one thing. You can only, you know, simplify the narrative. And for that, we need intellectuals. We need to go back to humanism. We need to go back to the basics, but revolutionize it, radicalize it. We can have a more radical humanism. And I know I spoke, you know, I'm taking your time, but if I may add this, we need to also talk about certain subjects that we have abandoned for too long. And faith is one of them. I think faith is a subject that's too important to abandon to the religious. You know, and faith is not necessarily a religious concept. When you start writing a book, it's an act of faith. When you fall in love, it's an act of faith. When you move to a new city, it's an act of faith. There are so many moments in our lives that are acts of faith that have nothing to do with religion. And we also need doubt, because faith without doubt will turn into dogma. So we need the vaults, we need the dance, the dialectics of faith end up. These are also issues that we don't talk about. And if we don't talk about these things, people go to the far right, people go to the religious, because there is a need to talk about these issues. We are being pulled in two very opposite directions. And the second trend is gaining speed right now. Yes, on the one hand, we had high hopes about world citizens, global souls, internationalism, multiculturalism, which is not a favorable word anymore. And then the other one, the tribalism, isolationism, the illusion that sameness will bring safety. This is what we are being spoonfed right now.  It's an illusion. We are far too globalized to have this. Whether we have walls, actual physical walls or not, sameness will not bring us safety.


update. Good afternoon folks, Steve Rhodes coming to you live from the shores of Del Ray Beach, Florida. This is your 2 p.m. update and currently we have a bit of a mixed bag out here. You've got the Dow trading up 92 points and the S&P up 4 while the Nasdaq 122. The Russell's up 2. The semi is up 5. The tranny is up 71. Gold trading out at 18.05. That's down $5. You've got Silver off 25 pennies trading at 22.86 lights. We crude up 51 cents. She's trading out at 76.50. If we go take a look at the industry charts out here, give me a moment. We'll get over to that screen. We'll begin by taking a look at the Dow. That's in the upper left hand corner. It's a Dow today. We're going to close above 36.566. We're 36.491. 36.566. It would negate its TD9 count top. That TD9 count top was in place since the trading day of November the 8th. So that's a key level to be watching. If we do that, that would suggest to me that the rally will continue, rally will continue on through at least the middle of next week. If I look at the S&P 500, well on Monday it decided to negate its roadsman to indicator top. It's TD9 count tops. We have no kind of a topping signal as we speak just yet. Therefore, the S&P is suggesting it wants to move higher. The NDX 100 still has its roadsman to indicator top. That was from November 22nd. Price would need to close above that high. That high is 16.764.86 and negate that pattern. We have a topping signal still in the Dow, still in the NDX 100, most certainly still in the Russell. Of course, the Russell most recently produced a roadsman to indicator bottom as well as wave number seven letter G. That's courtesy of Basel Chapman and the Chapman Wave. If the Russell 2000 can close above 22.767, that would suggest to move up to the 24.04 level. Don't have that just yet. The semi is out here yesterday. Nice move on Monday. Yesterday generating a dark cloud cover candle. That was a confirmation yesterday of a roadsman to indicator top. The price would have to get below its oscillator and change line, currently printing at 39.6762. That's the level that price would need to close below in the semis to suggest that there is going to be a further move lower. The transport's out here. I don't really have a great signal on yet other than it looks like it wants to move higher, but I'm sort of tepid about that call. Spotball and 10X looks like it wants to pull back lower. 1638 is where most recently broke out from. If, in fact, the spot, Volotinix moves lower than the S&P 500 should continue to move higher. The XAU, we have to be cautious about that. Those of us that are in the mining equities, because today looks like it's going to confirm a TD9 count top. And that would suggest the XAU might pull back to 127.80. Folks, thanks much for being here. A wonderful Wednesday. I'll see you tomorrow on terrific Thursday at one o'clock sharp and have a great and safe day. Take care, folks.