| 599 | } |
| 600 | |
| 601 | Plot1DCanvas::DrawModes Plot1DCanvas::getDrawMode() const |
| 602 | { |
| 603 | //no layers |
| 604 | if (layers_.empty()) |
| 605 | { |
| 606 | return DM_PEAKS; |
| 607 | } |
| 608 | return draw_modes_[getCurrentLayerIndex()]; |
| 609 | } |
| 610 | |
| 611 | void Plot1DCanvas::paintEvent(QPaintEvent* e) |
| 612 | { |
no test coverage detected