toolBar->addWidget(spacer);// 此种方式为文字显示在图标下面,如图所示toolBar->setToolButtonStyle(Qt::ToolButtonTextUnderIcon); toolBar->setIconSize(QSize(40,50)); toolBar->addAction(openAction);connect(openAction,SIGNAL(triggered()),this,SLOT(link())); QAction* svg =newQAction("首页",thi...