| 112 | bool testGridDetailMode() const { return gridDetailMode; } |
| 113 | int testGridDetailIndex() const { return gridDetailIndex; } |
| 114 | void testSelectMultiple(const std::vector<int>& indices) |
| 115 | { |
| 116 | selectedIndices.clear(); |
| 117 | for (int i : indices) |
| 118 | selectedIndices.insert(i); |
| 119 | if (!indices.empty()) |
| 120 | { |
| 121 | selectedIndex = indices.back(); |
| 122 | lastClickedIndex = indices.back(); |
| 123 | } |
| 124 | } |
| 125 | void testClearSelection() |
| 126 | { |
| 127 | selectedIndices.clear(); |