Commit e2d2a8f4d4694b6a4744a31efd55f21bae1af194
- Diff rendering mode:
- inline
- side by side
src/bm/bmmisc.cpp
(1 / 1)
|   | |||
| 189 | 189 | const int rhDispSizeMax = 20; // ### could be set at runtime | |
| 190 | 190 | const int rhDispSize = qMin(rhDispSizeMax, resultHistories ? resultHistories->size() : -1); | |
| 191 | 191 | const qreal rhHeaderHeight = 100; | |
| 192 | const qreal height_rh_tot = resultHistories ? (rhHeaderHeight + rhDispSizeMax * height_rh) : 0; | ||
| 192 | const qreal height_rh_tot = resultHistories ? (rhHeaderHeight + rhDispSize * height_rh) : 0; | ||
| 193 | 193 | const qreal height = height_main + height_rh_tot; | |
| 194 | 194 | QGraphicsScene scene_far(0, 0, width, height); // Background scene (rendered first) | |
| 195 | 195 | QGraphicsScene scene_mid_aa(0, 0, width, height); // Middle scene (antialiased) |

