| 147 | } |
| 148 | |
| 149 | ExpandingWidgetModel::ExpansionType ExpandingWidgetModel::isPartiallyExpanded(const QModelIndex& index) const |
| 150 | { |
| 151 | const auto expansionIt = m_partiallyExpanded.find(firstColumn(index)); |
| 152 | if (expansionIt != m_partiallyExpanded.end()) { |
| 153 | return *expansionIt; |
| 154 | } else { |
| 155 | return NotExpanded; |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | void ExpandingWidgetModel::partiallyUnExpand(const QModelIndex& idx_) |
| 160 | { |