I'm following Qt Tutorials and got a simple question
Posted
by nzer0
on Stack Overflow
See other posts from Stack Overflow
or by nzer0
Published on 2010-05-12T13:36:15Z
Indexed on
2010/05/12
14:04 UTC
Read the original article
Hit count: 173
If I want to create my own class MyWidget which inherits from QWidget
Tutorial tells me to write constructor like this...
MyWidget::MyWidget(QWidget *parent)
: QWidget(parent){....}
I'm wondering what is the role of : QWidget(parent)
Does it mean explicit call for QWidget's constructor?
© Stack Overflow or respective owner