| 51 | } |
| 52 | |
| 53 | void Plot3DWidget::showGoToDialog() |
| 54 | { |
| 55 | Plot2DGoToDialog goto_dialog(this, canvas_->getMapper().getDim(DIM::X).getDimNameShort(), canvas_->getMapper().getDim(DIM::Y).getDimNameShort()); |
| 56 | auto va = canvas()->getVisibleArea().getAreaXY(); |
| 57 | goto_dialog.setRange(va); |
| 58 | |
| 59 | auto all_area_xy = canvas_->getMapper().mapRange(canvas_->getDataRange()); |
| 60 | goto_dialog.setMinMaxOfRange(all_area_xy); |
| 61 | |
| 62 | goto_dialog.enableFeatureNumber(false); |
| 63 | if (goto_dialog.exec()) |
| 64 | { |
| 65 | canvas()->setVisibleArea(goto_dialog.getRange()); |
| 66 | } |
| 67 | } |
| 68 | |
| 69 | } //namespace |
nothing calls this directly
no test coverage detected