| 124 | } |
| 125 | |
| 126 | int Viewport::get_total_height() |
| 127 | { |
| 128 | int h = 0; |
| 129 | std::vector<Trace*> traces; |
| 130 | _view.get_traces(_type, traces); |
| 131 | |
| 132 | for(auto t : traces) { |
| 133 | h += (int)(t->get_totalHeight()); |
| 134 | } |
| 135 | h += 2 * View::SignalMargin; |
| 136 | |
| 137 | return h; |
| 138 | } |
| 139 | |
| 140 | QPoint Viewport::get_mouse_point() |
| 141 | { |
nothing calls this directly
no test coverage detected