| 333 | } |
| 334 | |
| 335 | bool ExpandingWidgetModel::isExpanded(const QModelIndex& idx_) const |
| 336 | { |
| 337 | Q_ASSERT(idx_.model() == this); |
| 338 | |
| 339 | QModelIndex idx(firstColumn(idx_)); |
| 340 | return m_expandState.contains(idx) && m_expandState[idx] == Expanded; |
| 341 | } |
| 342 | |
| 343 | void ExpandingWidgetModel::setExpanded(const QModelIndex& idx_, bool expanded) |
| 344 | { |
no test coverage detected