I'm following Qt Tutorials and got a simple question
- by nzer0
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?