QPushButton *btn = new QPushButton(this);//这个this参数是指你当前的widget
QPushButton *btn = new QPushButton(this);btn->show();
new QPushButton(theWidget);
QPushButton *button = new QPushButton("&Download", this);