| 635 | } |
| 636 | |
| 637 | void ProjectExplorer::showAllColumns() { |
| 638 | for (int i = 0; i < m_treeView->model()->columnCount(); i++) { |
| 639 | m_treeView->showColumn(i); |
| 640 | m_treeView->header()->resizeSection(0, 0); |
| 641 | m_treeView->header()->resizeSections(QHeaderView::ResizeToContents); |
| 642 | } |
| 643 | showAllColumnsAction->setEnabled(false); |
| 644 | |
| 645 | for (auto* action : std::as_const(list_showColumnActions)) { |
| 646 | action->setEnabled(true); |
| 647 | action->setChecked(true); |
| 648 | } |
| 649 | } |
| 650 | |
| 651 | /*! |
| 652 | toggles the menu for the filter/search options |
nothing calls this directly
no test coverage detected