Fundamentals of Qt - Objects in Qt, part 1/3 - Qt objects and UI elements - First steps

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

 

 

Download

9 comments

May 25, 2012

Picture of viniciustinti viniciustinti

Lab Rat

Great video. What about creating one like “how to think in Qt?”. I mean, sync and async programming model.

June 7, 2012

Picture of tumnus tumnus

Lab Rat

Great start, but not clear. The layouts are not given a parent. Why? You say all QWidget’s apart from the top level need a parent for memory management yet this is not so in your example and you give no explanation. Does your example code leak memory then? Or is it tidied up some other way. Perhaps children are reference counted? Important fundamental questions not covered :-(

July 12, 2012

Picture of sirius sirius

Lab Rat

QBoxLayout::addLayout(QLayout * layout, int stretch = 0) and QWidget::setLayout (QLayout * layout) will take care of parenting.

Take a look at this thread [qt-project.org] as well as the documentation [qt-project.org]

October 2, 2012

Picture of astodolski astodolski

Ant Farmer

There is no accessible content available. Has this and other videos been removed?

November 8, 2012

Picture of Deleted Member # 84f Deleted Member # 84f

Lab Rat

“Great start, but not clear. The layouts are not given a parent. Why? You say all QWidget’s apart from the top level need a parent for memory management yet this is not so in your example and you give no explanation. Does your example code leak memory then? Or is it tidied up some other way. Perhaps children are reference counted? Important fundamental questions not covered”

He also said that QLayouts aren’t QWidgets!

December 7, 2012

Picture of abhinit abhinit

Lab Rat

how can i downlod complete qt tutorial video.plese help me.

December 26, 2012

Picture of amandegar amandegar

Lab Rat

Short but useful introduction about Qt… Thank Mirko

March 17, 2013

Picture of franrok franrok

Lab Rat

Video not available! Could you reupload this content, please? Thanks

August 2, 2013

Picture of scobert scobert

Lab Rat

Exceptionally clear tutorial. Thanks Mirko!

Write a comment

Sorry, you must be logged in to post a comment.