コード例 #1
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(KBMClicked()), this, SIGNAL(KBMClicked()));
    connect(m_firstWidget, SIGNAL(TIONClicked()), this, SIGNAL(TIONClicked()));
    connect(m_firstWidget, SIGNAL(doClicked(int)), this, SIGNAL(doClick(int)));
}
コード例 #2
0
ファイル: mainbottomwidget.cpp プロジェクト: BlackNib/Qt360
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()));
}