That was very helpful. I typically go back and put layouts in but your approach of doing the layouts as you go makes a lot more sense and things get repositioned the way you want them right now I keep fighting making the wrong selections for size policy and things start looking weird on my Android versus the desktop
Thank you for your tutorials. They are very useful and easily understandable. However, I have two questions: what are vertical and horizontal stretch (size policy)? When I drop the "horizontal layout" into the form layout (as you do at the end of the video), a very small "red box" appears, but I can't put anything into it. How can I use it?
Thanks for the video. Question: How to manage to margin/padding spacing between widgets? I mean if i put a QFrame inside MainWindow and then apply Horizontal Layout, there is some space between MainWindow (left top side) and QFrame (left top side).
How do you deal with adding widgets to the window layouts at runtime? I am writing a program where user can click a button to add a "row" of widgets. The number of "rows" added is unknown, it's done as the user wishes at runtime. I have the centralWidget, on that I place a QVBoxLayout that houses the "row" widgets. The "row" widgets are built in code as a class so they can be created at runtime. They can be added to the QVBoxLayout no problem using QVBoxLayout::addWidget() but after you add multiple rows, the space for the widgets is too small and they end up disappearing outside the bottom of the QVBoxLayout's boundary, and/or they end up overlapping each other inside the QVBoxLayout's area. How can I make the row widgets demand enough height to fit, and how can I make the QVBoxLayout's area grow as the user adds more "row" widgets? Edit: Actually, even if I could add the row widgets to a widget that supports having a scroll bar would probably work for me. I'll have a look for that too.
Dear chief, i am developing embedded device based on QT,, I have created a sql table and able to read the data.. but i wanted to display the data dynamically with creating pushbuttons for the same. Is there any way for this . plz help me..
Videos are good... but there are these TreeHouse Ads which are really irritating. As after skipping the ad, the video won't load and I have to start the video all over again for being able to see it.
Hey everyone! Is somebody here who knows - how to disable a moving an application made with layouts? I want always have it on center of the desktop :) Here is an unifinished project if somebody is interested of this topic: github.com/Programtica/PrimeNumbers
Thank you for saying 'que-tee' instead of 'cute'. Now please stop saying 'goo-eee' and say 'jee-yoo-eye' instead. Also, there is no need to say 'right?' after almost sentence. We can't answer you.
wOw JUST WOW...EVEN IN 2024 NOT any other videos are as much useful as these videos.. even after 8 years this playlist rocks
After struggling looking through the internet for a good free QT course. You have come to save the day. Much much thanks!
This course is essential for a beginner like me . Thanks a lot for this useful and educational course .
Also this part, well explained. All practiced on MX Linux, thank you
This video helped me out. Thanks!
Thank You. Really Helped
Thanks man! i'm starting to learn QT
Thank you so much!
Amazing explanation..You are equivalent to God
thank god indian coders exist
Cant thank u enough!
Had a problem with auto resize of widgets. Now I know it.
You saved my day :)
That was very helpful. I typically go back and put layouts in but your approach of doing the layouts as you go makes a lot more sense and things get repositioned the way you want them right now I keep fighting making the wrong selections for size policy and things start looking weird on my Android versus the desktop
You could discuss on size policy enum and stretch too which are very much pertinent to this tutorial. BTE Good tutoral. Thank you.
Thank you this is really very good tutorial , all the best
Thank you! I'm tracing your Qt Playlist. That's awesome. Thank you for create this tutorials.
Thanks
please do videos on unit testing and gui testing of widget application
Thank you for your tutorials. They are very useful and easily understandable. However, I have two questions: what are vertical and horizontal stretch (size policy)? When I drop the "horizontal layout" into the form layout (as you do at the end of the video), a very small "red box" appears, but I can't put anything into it. How can I use it?
true
I guess it doesn't fit into another layout, you have to drop it at the end of some of the other layout sides
Thanks a lot
Thank you for tutorials.
Thanks for this tutorial!
exactly what I wanted to know!
شكرا لك
Merci
Thank you :)
Great Video!!! Thanks
yesterday set speed to 1.5
today even didn't recognize it
ikr
even i set it to 2
Actualy, this is a normal situation even for good tutorials....
Great advice. Thanx
thank you, useful tutorial
your article is great, but i try it on android, in different phones it doesn't adjust size automatically please help me !
First Thanks.
Could you please Inventory & Accounts management project tutorial please...
Thanks for the video.
Question: How to manage to margin/padding spacing between widgets?
I mean if i put a QFrame inside MainWindow and then apply Horizontal Layout, there is some space between MainWindow (left top side) and QFrame (left top side).
I found a code solution:
self.gridLayout.setContentsMargins(0,0,0,0)
self.gridLayout.setSpacing(0)
How can i do this in QtDesigner?
What's the purpose of a central layout?
thank you, right ? :)
how to do it using code?
How do you deal with adding widgets to the window layouts at runtime? I am writing a program where user can click a button to add a "row" of widgets. The number of "rows" added is unknown, it's done as the user wishes at runtime.
I have the centralWidget, on that I place a QVBoxLayout that houses the "row" widgets. The "row" widgets are built in code as a class so they can be created at runtime. They can be added to the QVBoxLayout no problem using QVBoxLayout::addWidget() but after you add multiple rows, the space for the widgets is too small and they end up disappearing outside the bottom of the QVBoxLayout's boundary, and/or they end up overlapping each other inside the QVBoxLayout's area.
How can I make the row widgets demand enough height to fit, and how can I make the QVBoxLayout's area grow as the user adds more "row" widgets?
Edit: Actually, even if I could add the row widgets to a widget that supports having a scroll bar would probably work for me. I'll have a look for that too.
Dear chief, i am developing embedded device based on QT,, I have created a sql table and able to read the data.. but i wanted to display the data dynamically with creating pushbuttons for the same. Is there any way for this . plz help me..
How do i resize a button (make it bigger or any size i want) inside a layout(eg grid layout)
Did you find the solution?
how to regroup the different elements of Qt ?
we are still learn Qt c++, pls update
i have problem with convert of QT5 to py (Unknown Qt widget: QKeySequenceEdit) can you help me
09:45
Very good tutorial, but horrible sound. Disturbing bass rumble is very annoying.
Every time he says, "right?" you have to take a shot. Otherwise, good video.
Thanks for drawing my attention to that Christopher; now I can't un-hear it.
Videos are good... but there are these TreeHouse Ads which are really irritating. As after skipping the ad, the video won't load and I have to start the video all over again for being able to see it.
Hey everyone!
Is somebody here who knows - how to disable a moving an application made with layouts? I want always have it on center of the desktop :)
Here is an unifinished project if somebody is interested of this topic: github.com/Programtica/PrimeNumbers
This guy sounds exactly like the indian voice on ownage pranks
1337
Thank you for saying 'que-tee' instead of 'cute'. Now please stop saying 'goo-eee' and say 'jee-yoo-eye' instead. Also, there is no need to say 'right?' after almost sentence. We can't answer you.
He cant helb it, rite? He iz indian you know, rite??
Not everyone has to speak the queen's English. I bet there's a good chance that you don't speak that either.
Thank you! I'm tracing your Qt Playlist. That's awesome. Thank you for create this tutorials.
Thanks
Very good, thx
Thank you! I'm tracing your Qt Playlist. That's awesome. Thank you for create this tutorials.