void Circle::on_pushButton_clicked() { Calculate* w = new Calculate; w->setAttribute(Qt::WA_DeleteOnClose); w->show(); this->close(); }
void Rectangle::on_bBack_clicked() { Calculate* w = new Calculate; w->setAttribute(Qt::WA_DeleteOnClose); w->show(); this->close(); }