コード例 #1
0
ファイル: mainwindow.cpp プロジェクト: artturi2511/qechoprint
void MainWindow::showResult(const EchoNestSong *song)
{
    ResultWindow * window = new ResultWindow(this, song);
    window->show();

    // Cleanup interface while user see result window
    restoreInitialState();
}
コード例 #2
0
ファイル: drumset.cpp プロジェクト: timcsy/pd2-Taiko
void DrumSet::changeTime()
{
    Time--;
    TimeText->setText(QString::number(Time));
    if(Time <= 0)
    {
        disconnect(textTimer, SIGNAL(timeout()), this, SLOT(changeTime()));
        callparent->hide();
        player->stop();
        delete player; player = 0;
        ResultWindow * rw = new ResultWindow(Score,callparent);
        rw->show();
    }
}
コード例 #3
0
void MainWindow::on_push_add_resource_2_clicked()
{
    ResultWindow *resWindow = new ResultWindow(this);
    resWindow->show();
}