示例#1
0
void SurfaceDialog::accept()
{
	if (boxType->currentIndex())
		acceptParametricSurface();
	else
		acceptFunction();
}
示例#2
0
void FunctionDialog::accept() {
  switch (boxType->currentIndex()) {
  case 0:
    acceptFunction();
    break;

  case 1:
    acceptParametric();
    break;

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