예제 #1
0
void MainWindow::on_actionFeats_triggered()
{
    Feats* ar = new Feats();
    this->setCentralWidget(ar);
    ar->show();
    ar->setMainWindow(this);
}
예제 #2
0
void Languages::on_btnBack_clicked()
{
    if(ui->tableWidget_5->item(0,1)->checkState()==2){
        _main->newChar->setAbyssal(true);
    }
    if(ui->tableWidget_5->item(1,1)->checkState()==2){
        _main->newChar->setCommon(true);
    }
    if(ui->tableWidget_5->item(2,1)->checkState()==2){
        _main->newChar->setGiant(true);
    }
    if(ui->tableWidget_5->item(3,1)->checkState()==2){
        _main->newChar->setOrc(true);
    }

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