Exemplo n.º 1
0
void SurfaceDialog::accept()
{
	if (boxType->currentIndex())
		acceptParametricSurface();
	else
		acceptFunction();
}
Exemplo n.º 2
0
void FunctionDialog::accept() {
  switch (boxType->currentIndex()) {
  case 0:
    acceptFunction();
    break;

  case 1:
    acceptParametric();
    break;

  case 2:
    acceptPolar();
    break;
  }
  close();
}