How to use Qt Layouts

preview_player
Показать описание
A tutorial on what Qt layouts are and their functionalities. Towards the end of the video, we go through a quick example of how to go from a GUI design to creating a responsive form.

___ Social Media ___

___ Equipment ___
Рекомендации по теме
Комментарии
Автор

Nice fundamental explanation. I remade the windows calculator and it looks nice actually. Now I'm off to hopefully create a half decent design for my application lol. It's already looking 20 years more modern than what I had a few hours ago

Rayer
Автор

Where's the rest of the video? You didn't even run it, which would have made it obvious that your window resize events don't affect your layouts, as you said your design would 12:25.

NickEnchev
Автор

Thank you! It was a clean explanation. Great video.

alihankayhan
Автор

For me, you skipped the most important part.
How do i fix layout to the main window, so if the window gets rezised by the user the layout resizes, too?
If i resize window, everything stays where it was :/

tehalexy
Автор

Thank you! It's amazing explanation, keep on, please.

image_amkerp
Автор

That all works great while you're in the designer .. but how do you attach that layout to a dialog or window so that it works when the dialog or window is resized by the user in real time?

jerryvelders
Автор

Are there some good resources on understanding the sizing options for these widgets? I want to know what Preferred, Minimum, Fixed etc. actually mean.

chaitanyakolluru
Автор

Hello, thank you for this work. I'm wondering this. Why didn't you try to create them by writing code?

herbirsey
Автор

Great video. Can you show us how to design the UI for a desktop app. I mean just the UI part. For example, you can get some desktop ui template online and then show us how to create that in QT. Meaning how to arrange different widgets and layouts and make an exact replica of the ui downloaded from web.Just like you did in this video but of a more complicated UI than the calculator with colors and text and everything.

jason_liam
Автор

Could you please cover MVC architecture 🙂🙏? There is not much info about it in YouTube ☹️

arpitagec
Автор

To programmatically add widgets to an existing GUI (opened via loadUi()), is using Layouts the only/preferred way?

And if your .ui doesn't already have a layout, it's just a Main Window with a QtWidget, can a layout itself be added to it after loadUi()?

bennguyen
Автор

Finally, a clean and detailed explanation, Thank you.

HermannWinter
Автор

Great explanation from basics to design strategy.

YouGenom
Автор

Is it necessary to use a Frame to contain everything? How do I make sure the most outer layout is filling the size of the window?

chah
Автор

hi thanks for a great video i have like created a layout but it still not resize when the main window resize
anything you can help me with

demonfury
Автор

very good video but what i wanna know is how i for a layout to take up the whole window and follow the strech that bit still seam unclear to me...
I hope i dont have to do that bit via code that would be annoying..

ZerqTM
Автор

Thank you! You have saved me a lot of worries about nesting layouts and placing elements inside them...

danwe
Автор

Please bro can you show how to take a design from qt design studio and use it inside of qt creator? I can't seem to figure it out.

asdasdaa
Автор

Perfect Man. Perfect. Absolutely correct recipe for layout

shubhendudwivedi
Автор

Nice but how do you get the text on the buttons to resize as well?

jeprad