55 lines
976 B
C++
55 lines
976 B
C++
![]() |
#include "setsystem.h"
|
||
|
#include "ui_setsystem.h"
|
||
|
|
||
|
setsystem::setsystem(QWidget *parent) :
|
||
|
QWidget(parent),
|
||
|
ui(new Ui::setsystem)
|
||
|
{
|
||
|
ui->setupUi(this);
|
||
|
|
||
|
m_shu=new shu;
|
||
|
m_zhong=new zhong;
|
||
|
m_yaomin=new yaomin;
|
||
|
m_lis=new lis;
|
||
|
ui->gridLayout_4->addWidget(m_shu);
|
||
|
ui->gridLayout_5->addWidget(m_zhong);
|
||
|
ui->gridLayout_9->addWidget(m_yaomin);
|
||
|
ui->gridLayout_2->addWidget(m_lis);
|
||
|
ui->widget_2->setFixedHeight(55);
|
||
|
ui->stackedWidget->setCurrentIndex(0);
|
||
|
}
|
||
|
|
||
|
setsystem::~setsystem()
|
||
|
{
|
||
|
delete ui;
|
||
|
}
|
||
|
|
||
|
|
||
|
void setsystem::on_pushButton_clicked()
|
||
|
{
|
||
|
this->hide();
|
||
|
emit xitong();
|
||
|
}
|
||
|
void setsystem::on_radioButton_clicked()
|
||
|
{
|
||
|
ui->stackedWidget->setCurrentIndex(0);
|
||
|
}
|
||
|
void setsystem::on_radioButton_2_clicked()
|
||
|
{
|
||
|
ui->stackedWidget->setCurrentIndex(1);
|
||
|
m_zhong->getshui();
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
void setsystem::on_radioButton_3_clicked()
|
||
|
{
|
||
|
ui->stackedWidget->setCurrentIndex(2);
|
||
|
}
|
||
|
|
||
|
void setsystem::on_radioButton_4_clicked()
|
||
|
{
|
||
|
ui->stackedWidget->setCurrentIndex(3);
|
||
|
}
|
||
|
|