QMainWindow child member initialisation calls its constructor inside the call of its constructor

前端 未结 0 1610
温柔的废话
温柔的废话 2021-01-01 15:54

I have just started learning qt framework and came across below code:

MainWindow::MainWindow(QWidget *parent)
: QMainWindow(parent)
, ui(new Ui::MainWindow)
{         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题