| 35 | |
| 36 | namespace { |
| 37 | QString backgroundColor(bool isHighlighted) |
| 38 | { |
| 39 | if (isHighlighted) { |
| 40 | return QColor(251, 150, 242).name(); |
| 41 | } else { |
| 42 | return QColor(251, 250, 150).name(); |
| 43 | } |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | const int tooltipContextSize = 2; //How many lines around the use are shown in the tooltip |
no test coverage detected