|
Mantid
|
#include <JobTreeView.h>
Public Member Functions | |
| void | appendAllUnselectedDescendants (QModelIndexList &selectedRows, QModelIndex const &index) const |
| void | appendAndEditAtChildRow () override |
| void | appendAndEditAtRowBelow () override |
| RowLocation | appendChildRowOf (RowLocation const &parent) override |
| RowLocation | appendChildRowOf (RowLocation const &parentLocation, std::vector< Cell > const &rowText) override |
| void | appendSubtreeAt (RowLocation const &parent, Subtree const &subtree) override |
| void | appendSubtreesAt (RowLocation const &parent, std::vector< Subtree > subtrees) override |
| Cell | cellAt (RowLocation location, int column) const override |
| std::vector< Cell > | cellsAt (RowLocation const &location) const override |
| void | clearSelection () override |
| void | collapseAll () override |
| int | currentColumn () const override |
| Cell | deadCell () const override |
| void | editAtRowAbove () override |
| void | expandAll () override |
| void | filterRowsBy (RowPredicate *predicate) override |
| void | filterRowsBy (std::unique_ptr< RowPredicate > predicate) override |
| QModelIndexList | findImplicitlySelected (QModelIndexList const &selectedRows) const |
| bool | hasFilter () const override |
| bool | hasNoSelectedDescendants (QModelIndex const &index) const |
| RowLocation | insertChildRowOf (RowLocation const &parent, int beforeRow) override |
| RowLocation | insertChildRowOf (RowLocation const &parent, int beforeRow, std::vector< Cell > const &rowText) override |
| void | insertSubtreeAt (RowLocation const &parent, int index, Subtree const &subtree) override |
| bool | isOnlyChildOfRoot (RowLocation const &location) const override |
| JobTreeView (QStringList const &columnHeadings, Cell const &defaultCellStyle, QWidget *parent=nullptr) | |
| QModelIndex | moveCursor (CursorAction cursorAction, Qt::KeyboardModifiers modifiers) override |
| void | removeAllRows () override |
| void | removeRowAt (RowLocation const &location) override |
| void | removeRows (std::vector< RowLocation > rowsToRemove) override |
| void | replaceRows (std::vector< RowLocation > replacementPoints, std::vector< Subtree > replacements) override |
| void | replaceSubtreeAt (RowLocation const &rootToRemove, Subtree const &toInsert) override |
| void | resetFilter () override |
| std::vector< RowLocation > | selectedRowLocations () const override |
| std::optional< std::vector< RowLocation > > | selectedSubtreeRoots () const override |
| std::optional< std::vector< Subtree > > | selectedSubtrees () const override |
| void | setCellAt (RowLocation location, int column, Cell const &cellText) override |
| void | setCellsAt (RowLocation const &location, std::vector< Cell > const &rowText) override |
| void | setHintsForColumn (int column, HintStrategy *hintStrategy) override |
| void | setHintsForColumn (int column, std::unique_ptr< HintStrategy > hintStrategy) override |
| void | subscribe (JobTreeViewSubscriber *subscriber) override |
Public Member Functions inherited from MantidQt::MantidWidgets::Batch::IJobTreeView | |
| virtual | ~IJobTreeView ()=default |
Protected Slots | |
| void | commitData (QWidget *) override |
| void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) override |
Protected Member Functions | |
| void | appendAndEditAtChildRowRequested () |
| void | appendAndEditAtRowBelowRequested () |
| void | copySelectedRequested () |
| void | cutSelectedRequested () |
| bool | edit (const QModelIndex &index, EditTrigger trigger, QEvent *event) override |
| void | editAtRowAboveRequested () |
| void | enableFiltering () |
| void | keyPressEvent (QKeyEvent *event) override |
| void | pasteSelectedRequested () |
| void | removeSelectedRequested () |
| void | setHeaderLabels (QStringList const &columnHeadings) |
Private Attributes | |
| QtStandardItemTreeModelAdapter | m_adaptedMainModel |
| FilteredTreeModel | m_filteredModel |
| bool | m_hasEditorOpen |
| QModelIndexForMainModel | m_lastEdited |
| QStandardItemModel | m_mainModel |
| JobTreeViewSubscriber * | m_notifyee |
Static Private Attributes | |
| static Cell const | g_deadCell = Cell("", "white", 0, "transparent", 0, false) |
Definition at line 29 of file JobTreeView.h.
| MantidQt::MantidWidgets::Batch::JobTreeView::JobTreeView | ( | QStringList const & | columnHeadings, |
| Cell const & | defaultCellStyle, | ||
| QWidget * | parent = nullptr |
||
| ) |
Definition at line 30 of file JobTreeView.cpp.
References enableFiltering(), m_filteredModel, m_mainModel, and setHeaderLabels().
| void MantidQt::MantidWidgets::Batch::JobTreeView::appendAllUnselectedDescendants | ( | QModelIndexList & | selectedRows, |
| QModelIndex const & | index | ||
| ) | const |
Definition at line 120 of file JobTreeView.cpp.
References appendAllUnselectedDescendants(), index, and m_filteredModel.
Referenced by appendAllUnselectedDescendants(), and findImplicitlySelected().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 422 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::appendEmptyChildRow(), editAt(), expanded(), fromFilteredModel(), m_adaptedMainModel, m_notifyee, mapToFilteredModel(), mapToMainModel(), MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifyRowInserted(), resetFilter(), and rowLocation().
|
protected |
Definition at line 164 of file JobTreeView.cpp.
References m_notifyee, and MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifyAppendAndEditAtChildRowRequested().
Referenced by keyPressEvent().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 430 of file JobTreeView.cpp.
References editAt(), findOrMakeCellBelow(), fromFilteredModel(), index, m_mainModel, m_notifyee, mapToMainModel(), MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifyRowInserted(), and rowLocation().
|
protected |
Definition at line 166 of file JobTreeView.cpp.
References m_notifyee, and MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifyAppendAndEditAtRowBelowRequested().
Referenced by keyPressEvent().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 365 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::appendEmptyChildRow(), MantidQt::MantidWidgets::Batch::RowLocationAdapter::atIndex(), m_adaptedMainModel, and rowLocation().
Referenced by removeAllRows().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 369 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::appendChildRow(), MantidQt::MantidWidgets::Batch::RowLocationAdapter::atIndex(), g_deadCell, MantidQt::MantidWidgets::Batch::RowLocationAdapter::indexAt(), m_adaptedMainModel, m_mainModel, MantidQt::MantidWidgets::Batch::paddedCellsToWidth(), and rowLocation().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 251 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::RowLocationAdapter::indexAt(), insertSubtreeAt(), m_mainModel, and rowLocation().
Referenced by appendSubtreesAt(), and replaceRows().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 246 of file JobTreeView.cpp.
References appendSubtreeAt().
|
private |
Definition at line 532 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::appendEmptySiblingRow(), MantidQt::MantidWidgets::Batch::RowLocationAdapter::atIndex(), expanded(), MantidQt::MantidWidgets::Batch::firstCellOnRowOf(), fromFilteredModel(), fromMainModel(), MantidQt::MantidWidgets::Batch::RowLocationAdapter::indexIfExistsAt(), m_adaptedMainModel, m_notifyee, mapToFilteredModel(), mapToMainModel(), MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifyRowInserted(), resetFilter(), rowLocation(), and MantidQt::MantidWidgets::Batch::StrictQModelIndex< Derived >::untyped().
Referenced by moveCursor().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 184 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::cellFromCellIndex(), MantidQt::MantidWidgets::Batch::RowLocationAdapter::indexAt(), m_adaptedMainModel, and rowLocation().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 209 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::cellsAtRow(), m_adaptedMainModel, and rowLocation().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 383 of file JobTreeView.cpp.
Referenced by removeAllRows().
|
private |
Definition at line 213 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::enumerateCellsInRow(), m_adaptedMainModel, and m_mainModel.
Referenced by setCellsAt().
|
private |
Definition at line 198 of file JobTreeView.cpp.
References closeEditorIfOpenAtCell(), MantidQt::MantidWidgets::Batch::Cell::isEditable(), and mapToFilteredModel().
Referenced by setCellAt().
|
private |
Definition at line 193 of file JobTreeView.cpp.
References isBeingEdited(), MantidQt::MantidWidgets::Batch::StrictQModelIndex< Derived >::isValid(), and MantidQt::MantidWidgets::Batch::StrictQModelIndex< Derived >::untyped().
Referenced by closeEditorIfCellIsUneditable().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 387 of file JobTreeView.cpp.
|
overrideprotectedslot |
Definition at line 43 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::cellFromCellIndex(), MantidQt::MantidWidgets::Batch::StrictQModelIndex< Derived >::column(), MantidQt::MantidWidgets::Batch::Cell::contentText(), editAt(), fromFilteredModel(), m_adaptedMainModel, m_hasEditorOpen, m_lastEdited, m_notifyee, MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifyCellTextChanged(), and rowLocation().
|
protected |
Definition at line 172 of file JobTreeView.cpp.
References m_notifyee, and MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifyCopyRowsRequested().
Referenced by keyPressEvent().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 566 of file JobTreeView.cpp.
|
protected |
Definition at line 174 of file JobTreeView.cpp.
References m_notifyee, and MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifyCutRowsRequested().
Referenced by keyPressEvent().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 88 of file JobTreeView.cpp.
References g_deadCell.
|
overrideprotected |
Definition at line 82 of file JobTreeView.cpp.
References fromFilteredModel(), index, m_hasEditorOpen, m_lastEdited, and mapToMainModel().
Referenced by editAt().
|
private |
Definition at line 375 of file JobTreeView.cpp.
References edit(), index, and isEditable().
Referenced by appendAndEditAtChildRow(), appendAndEditAtRowBelow(), commitData(), editAtRowAbove(), insertChildRowOf(), and insertChildRowOf().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 446 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::above(), editAt(), fromFilteredModel(), and MantidQt::MantidWidgets::Batch::hasRowAbove().
|
protected |
Definition at line 168 of file JobTreeView.cpp.
References m_notifyee, and MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifyEditAtRowAboveRequested().
Referenced by keyPressEvent().
|
protected |
Definition at line 451 of file JobTreeView.cpp.
References m_filteredModel, and m_mainModel.
Referenced by JobTreeView().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 385 of file JobTreeView.cpp.
Referenced by filterRowsBy(), and filterRowsBy().
|
private |
Definition at line 389 of file JobTreeView.cpp.
References index, m_filteredModel, and MantidQt::MantidWidgets::Batch::StrictQModelIndex< Derived >::untyped().
Referenced by appendAndEditAtChildRow(), applyNavigationResult(), insertChildRowOf(), and insertChildRowOf().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 70 of file JobTreeView.cpp.
References expandAll(), m_filteredModel, and MantidQt::MantidWidgets::Batch::FilteredTreeModel::setPredicate().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 65 of file JobTreeView.cpp.
References expandAll(), m_filteredModel, and MantidQt::MantidWidgets::Batch::FilteredTreeModel::setPredicate().
| QModelIndexList MantidQt::MantidWidgets::Batch::JobTreeView::findImplicitlySelected | ( | QModelIndexList const & | selectedRows | ) | const |
Definition at line 137 of file JobTreeView.cpp.
References appendAllUnselectedDescendants(), and hasNoSelectedDescendants().
Referenced by selectedRowLocations().
|
private |
Definition at line 403 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::appendEmptySiblingRow(), MantidQt::MantidWidgets::Batch::below(), fromFilteredModel(), MantidQt::MantidWidgets::Batch::hasRowBelow(), index, m_adaptedMainModel, mapToFilteredModel(), mapToMainModel(), and resetFilter().
Referenced by appendAndEditAtRowBelow().
|
private |
Definition at line 503 of file JobTreeView.cpp.
References m_filteredModel.
Referenced by appendAndEditAtChildRow(), appendAndEditAtRowBelow(), applyNavigationResult(), commitData(), edit(), editAtRowAbove(), findOrMakeCellBelow(), isBeingEdited(), and rowRemovalWouldBeIneffective().
|
private |
Definition at line 499 of file JobTreeView.cpp.
References m_mainModel.
Referenced by applyNavigationResult(), and replaceSubtreeAt().
|
private |
Definition at line 284 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::StrictQModelIndex< Derived >::isValid(), and m_lastEdited.
Referenced by isBeingEdited(), and rowRemovalWouldBeIneffective().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 80 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::FilteredTreeModel::isReset(), and m_filteredModel.
| bool MantidQt::MantidWidgets::Batch::JobTreeView::hasNoSelectedDescendants | ( | QModelIndex const & | index | ) | const |
Definition at line 109 of file JobTreeView.cpp.
References hasNoSelectedDescendants(), index, and m_filteredModel.
Referenced by findImplicitlySelected(), and hasNoSelectedDescendants().
|
private |
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 347 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::RowLocationAdapter::atIndex(), editAt(), expanded(), MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::insertEmptyChildRow(), m_adaptedMainModel, mapToFilteredModel(), and rowLocation().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 353 of file JobTreeView.cpp.
References assertOrThrow(), MantidQt::MantidWidgets::Batch::RowLocationAdapter::atIndex(), editAt(), expanded(), g_deadCell, MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::insertChildRow(), m_adaptedMainModel, m_mainModel, mapToFilteredModel(), MantidQt::MantidWidgets::Batch::paddedCellsToWidth(), and rowLocation().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 241 of file JobTreeView.cpp.
References index, m_adaptedMainModel, and rowLocation().
Referenced by appendSubtreeAt(), and replaceSubtreeAt().
|
private |
Definition at line 189 of file JobTreeView.cpp.
References fromFilteredModel(), and hasEditorOpen().
Referenced by closeEditorIfOpenAtCell().
|
private |
Definition at line 507 of file JobTreeView.cpp.
References index.
Referenced by editAt(), moveNextUntilEditable(), and movePreviousUntilEditable().
|
private |
Definition at line 301 of file JobTreeView.cpp.
References index, and m_mainModel.
Referenced by isOnlyChildOfRoot().
|
private |
Definition at line 310 of file JobTreeView.cpp.
References index, and isOnlyChild().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 306 of file JobTreeView.cpp.
References index, isOnlyChildOfRoot(), and rowLocation().
Referenced by isOnlyChildOfRoot(), removeAllRows(), and removeRowAt().
|
overrideprotected |
Definition at line 457 of file JobTreeView.cpp.
References appendAndEditAtChildRowRequested(), appendAndEditAtRowBelowRequested(), copySelectedRequested(), cutSelectedRequested(), editAtRowAboveRequested(), pasteSelectedRequested(), and removeSelectedRequested().
|
private |
Definition at line 418 of file JobTreeView.cpp.
References m_filteredModel, and MantidQt::MantidWidgets::Batch::StrictQModelIndex< Derived >::untyped().
Referenced by appendAndEditAtChildRow(), applyNavigationResult(), closeEditorIfCellIsUneditable(), findOrMakeCellBelow(), insertChildRowOf(), insertChildRowOf(), and removeRowAt().
|
private |
Definition at line 414 of file JobTreeView.cpp.
References m_filteredModel, and MantidQt::MantidWidgets::Batch::StrictQModelIndex< Derived >::untyped().
Referenced by appendAndEditAtChildRow(), appendAndEditAtRowBelow(), applyNavigationResult(), edit(), findOrMakeCellBelow(), and rowRemovalWouldBeIneffective().
|
override |
Definition at line 523 of file JobTreeView.cpp.
References applyNavigationResult(), moveNextUntilEditable(), and movePreviousUntilEditable().
|
private |
Definition at line 509 of file JobTreeView.cpp.
References isEditable(), MantidQt::MantidWidgets::Batch::QtTreeCursorNavigation::moveCursorNext(), and navigation().
Referenced by moveCursor().
|
private |
Definition at line 516 of file JobTreeView.cpp.
References isEditable(), MantidQt::MantidWidgets::Batch::QtTreeCursorNavigation::moveCursorPrevious(), and navigation().
Referenced by moveCursor().
|
private |
Definition at line 398 of file JobTreeView.cpp.
References m_filteredModel.
Referenced by moveNextUntilEditable(), and movePreviousUntilEditable().
|
protected |
Definition at line 176 of file JobTreeView.cpp.
References m_notifyee, and MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifyPasteRowsRequested().
Referenced by keyPressEvent().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 338 of file JobTreeView.cpp.
References appendChildRowOf(), clearSelection(), isOnlyChildOfRoot(), and removeRowAt().
Referenced by removeRowAt().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 314 of file JobTreeView.cpp.
References assertOrThrow(), MantidQt::MantidWidgets::Batch::RowLocationAdapter::indexAt(), isOnlyChildOfRoot(), m_adaptedMainModel, mapToFilteredModel(), removeAllRows(), MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::removeRowFrom(), resetFilter(), rowLocation(), rowRemovalWouldBeIneffective(), and siblingIfExistsElseParent().
Referenced by removeAllRows(), removeRows(), replaceRows(), and replaceSubtreeAt().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 178 of file JobTreeView.cpp.
References removeRowAt().
|
protected |
Definition at line 170 of file JobTreeView.cpp.
References m_notifyee, MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifyRemoveRowsRequested(), and selectedRowLocations().
Referenced by keyPressEvent().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 256 of file JobTreeView.cpp.
References appendSubtreeAt(), assertOrThrow(), removeRowAt(), and replaceSubtreeAt().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 227 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::below(), fromMainModel(), MantidQt::MantidWidgets::Batch::RowLocationAdapter::indexAt(), insertSubtreeAt(), MantidQt::MantidWidgets::Batch::RowLocation::parent(), removeRowAt(), rowLocation(), and MantidQt::MantidWidgets::Batch::RowLocation::rowRelativeToParent().
Referenced by replaceRows().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 75 of file JobTreeView.cpp.
References m_filteredModel, m_notifyee, MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifyFilterReset(), and MantidQt::MantidWidgets::Batch::FilteredTreeModel::resetPredicate().
Referenced by appendAndEditAtChildRow(), applyNavigationResult(), findOrMakeCellBelow(), and removeRowAt().
|
private |
Definition at line 400 of file JobTreeView.cpp.
References m_mainModel.
Referenced by appendAndEditAtChildRow(), appendAndEditAtRowBelow(), appendChildRowOf(), appendChildRowOf(), appendSubtreeAt(), applyNavigationResult(), cellAt(), cellsAt(), commitData(), insertChildRowOf(), insertChildRowOf(), insertSubtreeAt(), isOnlyChildOfRoot(), removeRowAt(), replaceSubtreeAt(), setCellAt(), and setCellsAt().
|
private |
Definition at line 286 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::areOnSameRow(), fromFilteredModel(), hasEditorOpen(), mapToMainModel(), and MantidQt::MantidWidgets::Batch::StrictQModelIndex< Derived >::untyped().
Referenced by removeRowAt().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 150 of file JobTreeView.cpp.
References findImplicitlySelected(), and index.
Referenced by removeSelectedRequested(), selectedSubtreeRoots(), and selectedSubtrees().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 104 of file JobTreeView.cpp.
References selectedRowLocations().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 90 of file JobTreeView.cpp.
References selectedRowLocations().
|
overrideprotectedslot |
Definition at line 58 of file JobTreeView.cpp.
References m_notifyee, and MantidQt::MantidWidgets::Batch::JobTreeViewSubscriber::notifySelectionChanged().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 203 of file JobTreeView.cpp.
References closeEditorIfCellIsUneditable(), MantidQt::MantidWidgets::Batch::RowLocationAdapter::indexAt(), m_adaptedMainModel, rowLocation(), and MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::setCellAtCellIndex().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 221 of file JobTreeView.cpp.
References closeAnyOpenEditorsOnUneditableCells(), MantidQt::MantidWidgets::Batch::RowLocationAdapter::indexAt(), m_adaptedMainModel, rowLocation(), and MantidQt::MantidWidgets::Batch::QtStandardItemTreeModelAdapter::setCellsAtRow().
|
protected |
Definition at line 275 of file JobTreeView.cpp.
References m_mainModel.
Referenced by JobTreeView().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 133 of file JobTreeView.cpp.
References setHintsForColumn().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 129 of file JobTreeView.cpp.
Referenced by setHintsForColumn().
|
private |
Definition at line 291 of file JobTreeView.cpp.
References MantidQt::MantidWidgets::Batch::above(), MantidQt::MantidWidgets::Batch::below(), MantidQt::MantidWidgets::Batch::hasRowAbove(), MantidQt::MantidWidgets::Batch::hasRowBelow(), and index.
Referenced by removeRowAt().
|
overridevirtual |
Implements MantidQt::MantidWidgets::Batch::IJobTreeView.
Definition at line 282 of file JobTreeView.cpp.
References m_notifyee.
Referenced by MantidQt::MantidWidgets::Batch::JobTreeViewSignalAdapter::JobTreeViewSignalAdapter().
|
staticprivate |
Definition at line 108 of file JobTreeView.h.
Referenced by appendChildRowOf(), deadCell(), and insertChildRowOf().
|
private |
Definition at line 144 of file JobTreeView.h.
Referenced by appendAndEditAtChildRow(), appendChildRowOf(), appendChildRowOf(), applyNavigationResult(), cellAt(), cellsAt(), closeAnyOpenEditorsOnUneditableCells(), commitData(), findOrMakeCellBelow(), insertChildRowOf(), insertChildRowOf(), insertSubtreeAt(), removeRowAt(), setCellAt(), and setCellsAt().
|
private |
Definition at line 146 of file JobTreeView.h.
Referenced by appendAllUnselectedDescendants(), enableFiltering(), expanded(), filterRowsBy(), filterRowsBy(), fromFilteredModel(), hasFilter(), hasNoSelectedDescendants(), JobTreeView(), mapToFilteredModel(), mapToMainModel(), navigation(), and resetFilter().
|
private |
Definition at line 148 of file JobTreeView.h.
Referenced by commitData(), and edit().
|
private |
Definition at line 147 of file JobTreeView.h.
Referenced by commitData(), edit(), and hasEditorOpen().
|
private |
Definition at line 143 of file JobTreeView.h.
Referenced by appendAndEditAtRowBelow(), appendChildRowOf(), appendSubtreeAt(), closeAnyOpenEditorsOnUneditableCells(), enableFiltering(), fromMainModel(), insertChildRowOf(), isOnlyChild(), JobTreeView(), rowLocation(), and setHeaderLabels().
|
private |
Definition at line 142 of file JobTreeView.h.
Referenced by appendAndEditAtChildRow(), appendAndEditAtChildRowRequested(), appendAndEditAtRowBelow(), appendAndEditAtRowBelowRequested(), applyNavigationResult(), commitData(), copySelectedRequested(), cutSelectedRequested(), editAtRowAboveRequested(), pasteSelectedRequested(), removeSelectedRequested(), resetFilter(), selectionChanged(), and subscribe().