#include "form7.h" #include "ui_form7.h" Form7::Form7(QWidget *parent) : QWidget(parent), ui(new Ui::Form7) { ui->setupUi(this); this->setWindowTitle("合并案例"); this->setWindowIcon(QIcon(":/icons/images/logo.png")); } Form7::~Form7() { delete ui; } void Form7::on_btn1_clicked() { ui->stackedWidget->setCurrentIndex(0); } void Form7::on_btn2_clicked() { ui->stackedWidget->setCurrentIndex(1); } void Form7::on_btn3_clicked() { ui->stackedWidget->setCurrentIndex(2); } void Form7::on_btn5_clicked() { ui->stackedWidget->setCurrentIndex(3); } void Form7::on_btn6_clicked() { ui->stackedWidget->setCurrentIndex(4); } void Form7::on_btn7_clicked() { ui->stackedWidget->setCurrentIndex(5); } void Form7::on_btn4_clicked() { ui->stackedWidget->setCurrentIndex(6); } void Form7::on_btn8_clicked() { ui->stackedWidget->setCurrentIndex(7); }