Mantid
Loading...
Searching...
No Matches
QtBasicNavigation.h
Go to the documentation of this file.
1// Mantid Repository : https://github.com/mantidproject/mantid
2//
3// Copyright © 2018 ISIS Rutherford Appleton Laboratory UKRI,
4// NScD Oak Ridge National Laboratory, European Spallation Source,
5// Institut Laue - Langevin & CSNS, Institute of High Energy Physics, CAS
6// SPDX - License - Identifier: GPL - 3.0 +
11#pragma once
12#include <QModelIndex>
13
14namespace MantidQt {
15namespace MantidWidgets {
16namespace Batch {
17
18QModelIndex below(QModelIndex const &index);
19QModelIndex above(QModelIndex const &index);
20QModelIndex leftOf(QModelIndex const &index);
21QModelIndex rightOf(QModelIndex const &index);
22QModelIndex firstCellOnRowOf(QModelIndex const &index);
23QModelIndex lastChildRowOf(QModelIndex const &index, QAbstractItemModel const &model);
24bool hasCellOnTheLeft(QModelIndex const &index);
25bool hasCellOnTheRight(QModelIndex const &index);
26bool hasRowAbove(QModelIndex const &index);
27bool hasRowBelow(QModelIndex const &index);
28bool areOnSameRow(QModelIndex const &a, QModelIndex const &b);
29} // namespace Batch
30} // namespace MantidWidgets
31} // namespace MantidQt
std::map< DeltaEMode::Type, std::string > index
Definition: DeltaEMode.cpp:19
bool hasCellOnTheLeft(QModelIndex const &index)
bool hasRowAbove(QModelIndex const &index)
QModelIndex lastChildRowOf(QModelIndex const &index, QAbstractItemModel const &model)
QModelIndex leftOf(QModelIndex const &index)
QModelIndex rightOf(QModelIndex const &index)
QModelIndex firstCellOnRowOf(QModelIndex const &index)
bool hasRowBelow(QModelIndex const &index)
QModelIndex above(QModelIndex const &index)
bool hasCellOnTheRight(QModelIndex const &index)
QModelIndex below(QModelIndex const &index)
bool areOnSameRow(QModelIndex const &a, QModelIndex const &b)
The AlgorithmProgressDialogPresenter keeps track of the running algorithms and displays a progress ba...