Esempio n. 1
0
void MainWindow::on_actionLanguage_triggered()
{
    Languages* ar = new Languages();
    this->setCentralWidget(ar);
    ar->show();
    ar->setMainWindow(this);
}
Esempio n. 2
0
void Feats::on_btnNext_clicked()
{
    _main->newChar->setAgile(ui->spinStr->text().toInt());
    _main->newChar->setAlertness(ui->spinDex->text().toInt());
    _main->newChar->setAthletic(ui->spinCon->text().toInt());
    _main->newChar->setCleave(ui->spinInt->text().toInt());
    _main->newChar->setDiehard(ui->spinWiz->text().toInt());
    _main->newChar->setDodge(ui->spinCha->text().toInt());

    Languages* a = new Languages();
    _main->setCentralWidget(a);
    a->show();
    a->setMainWindow(_main);
}