Qt Training: Fundamentals of Qt - Objects in Qt, part 1/3 - Qt objects, UI elements

preview_player
Показать описание
Fundamentals of Qt - Objects in Qt, part 1/3 - Qt objects and UI elements - First steps
2010
Presented by: Mirko Boehm

Agenda and learning objectives:

Qt's object model
The object tree
Creating objects
Qt's widget model
The object tree and widget model
Demo: a walk though a selection of Qt widgets
An introduction to container widgets
Рекомендации по теме
Комментарии
Автор

Super introduction to Qt objects. Qt sounds amazing coming from a c# background. I love the idea of composition capability being inherited to all objects; what a smart design choice; no more having to create custom properties to achieve this for it is built right in. I can't wait to get started. It sounds so flexibly. Thanks for introducing me to this. Great Job!

lonniebest
Автор

This video is excellent! Very clear and easy to understand.

doug
Автор

Very good video. I would however mention that you do not need to set parents for widgets in constructor for widgets which are inside layouts. The parent is set automatically when widget is put into layout.

vladimirkraus
Автор

Great first video in your playlist, I'm going to go through the entire set if this is how you teach.

I do have one concern with your code though. Is there a memory leak issue introduced due to the way that QHBoxLayout and QVBoxLayout was created in the code? Shouldn't they both be parented to the "window" QWidget?

rodrigoreichert