MCPcopy Index your code
hub / github.com/DreamSourceLab/DSView / get_view_rect

Method get_view_rect

DSView/pv/view/view.cpp:1195–1205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1193}
1194
1195QRect View::get_view_rect()
1196{
1197 if (_device_agent->get_work_mode() == DSO) {
1198 const auto &sigs = _session->get_signals();
1199 if(sigs.size() > 0) {
1200 return sigs[0]->get_view_rect();
1201 }
1202 }
1203
1204 return _viewcenter->rect();
1205}
1206
1207int View::get_view_width()
1208{

Callers 13

feed_in_dsoMethod · 0.45
calc_mathMethod · 0.45
signals_changedMethod · 0.45
get_view_widthMethod · 0.45
get_view_heightMethod · 0.45
paintCursorsMethod · 0.45
paintSignalsMethod · 0.45
paintProgressMethod · 0.45
mousePressEventMethod · 0.45
mouseMoveEventMethod · 0.45
mouseDoubleClickEventMethod · 0.45
paintMeasureMethod · 0.45

Calls 2

get_work_modeMethod · 0.80
sizeMethod · 0.80

Tested by

no test coverage detected