void MainBottomWidget::initConnect()
{
    connect(m_examineAnimation, SIGNAL(finished()), this, SLOT(goExamineFinished()));//动画结束后执行..
    connect(m_returnAnimation, SIGNAL(finished()), this, SLOT(goMainFinished()));//返回主界面
    connect(m_firstWidget, SIGNAL(safeClicked()), this, SIGNAL(safeClicked()));
    connect(m_firstWidget, SIGNAL(KBMClicked()), this, SIGNAL(KBMClicked()));
    connect(m_firstWidget, SIGNAL(TIONClicked()), this, SIGNAL(TIONClicked()));
    connect(m_firstWidget, SIGNAL(doClicked(int)), this, SIGNAL(doClick(int)));
}
示例#2
0
void MainBottomWidget::initConnect()
{
    connect(m_examineAnimation, SIGNAL(finished()), this, SLOT(goExamineFinished()));
    connect(m_returnAnimation, SIGNAL(finished()), this, SLOT(goMainFinished()));
    connect(m_firstWidget, SIGNAL(safeClicked()), this, SIGNAL(safeClicked()));
    connect(m_firstWidget, SIGNAL(cleanClicked()), this, SIGNAL(cleanClicked()));
    connect(m_firstWidget, SIGNAL(youhuaClicked()), this, SIGNAL(youhuaClicked()));
    connect(m_firstWidget, SIGNAL(advtoolMoreClicked()), this, SIGNAL(advtoolMoreClicked()));
}
示例#3
0
void MainBottomFirstWidget::initConnect()
{
    connect(m_safeButton, SIGNAL(buttonClicked()), this, SIGNAL(safeClicked()));
    connect(m_cleanButton, SIGNAL(buttonClicked()), this, SIGNAL(cleanClicked()));
    connect(m_youhuaButton, SIGNAL(buttonClicked()), this, SIGNAL(youhuaClicked()));
    connect(m_advtoolMore, SIGNAL(buttonClicked()), this, SIGNAL(advtoolMoreClicked()));
}
示例#4
0
void MainWindow::initConnect()
{
    connect(m_topWidget, SIGNAL(goExamine()), m_bottomWidget, SLOT(goExamine()));//绑定top一键测评信号
    connect(m_topWidget, SIGNAL(goExamine()), this, SLOT(goSetinformation()));
    connect(m_topWidget, SIGNAL(reexamine()), m_bottomWidget, SLOT(clearInfo()));
    connect(m_topWidget, SIGNAL(reexamine()), this, SLOT(goSetinformation()));
    connect(m_topWidget, SIGNAL(goView()), m_bottomWidget, SLOT(goToview()));
    connect(m_topWidget, SIGNAL(goMain()), m_bottomWidget, SLOT(goMain()));//绑定top第二界面返回信号
    connect(m_topWidget, SIGNAL(closeWidget()), this, SLOT(closeWidget()));
    connect(m_topWidget, SIGNAL(showSkin()), this, SLOT(showSkin()));
    connect(m_safeWidget, SIGNAL(goToMain()), this, SLOT(goToMain()));
    connect(m_thionetWidget, SIGNAL(goToMain()), this, SLOT(goToMain()));
    connect(m_kbmWidget, SIGNAL(goToMain()), this, SLOT(goToMain()));
    connect(m_bottomWidget, SIGNAL(safeClicked()), this, SLOT(goToSafe()));
    connect(m_bottomWidget, SIGNAL(KBMClicked()), this, SLOT(goToKBM()));
    connect(m_bottomWidget, SIGNAL(TIONClicked()), this, SLOT(goToTion()));
    connect(m_upGroup, SIGNAL(finished()), this, SLOT(upAnimFinished()));
    connect(m_bottomWidget, SIGNAL(doClick(int)), this , SLOT(goToinfo(int)));
}