19#include <QAbstractListModel>
25#include <QStandardItemModel>
68 connect(
this, SIGNAL(itemChanged(QTreeWidgetItem *,
int)), SLOT(
onItemChanged(QTreeWidgetItem *,
int)));
73 void selectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected)
override;
98 void setData(
const double execDuration,
const Mantid::Types::Core::DateAndTime execDate);
144 void closeEvent(QCloseEvent *ce)
override;
148 void doUnroll(
const std::vector<int> &unrollIndicies);
149 void doRoll(
int index);
151 void copytoClipboard();
152 void writeToScriptFile();
153 void unrollAll(
int state);
164 std::string getScriptVersionMode();
178 std::shared_ptr<Mantid::API::HistoryView>
m_view;
190 void setAlgProperties(
const std::vector<Mantid::Kernel::PropertyHistory_sptr> &histProp);
205 std::vector<Mantid::Kernel::PropertyHistory_sptr>
m_Histprop;
#define EXPORT_OPT_MANTIDQT_COMMON
std::map< DeltaEMode::Type, std::string > index
std::vector< history_type > history
history information
QLineEdit * getosNameEdit() const
QLineEdit * getosVersionEdit() const
void fillEnvHistoryGroupBox(const Mantid::Kernel::EnvironmentHistory &envHist)
QLineEdit * getfrmworkVersionEdit() const
QLineEdit * m_osVersionEdit
QLineEdit * m_frmwkVersnEdit
QLabel * m_frmworkVersionLabel
~AlgEnvHistoryGrpBox() override
QLabel * m_osVersionLabel
QLineEdit * m_execDurationEdit
QLineEdit * m_execDateTimeEdit
QString m_algexecDuration
QLabel * m_execDurationlabel
QLineEdit * getAlgExecDateCtrl() const
void setData(const double execDuration, const Mantid::Types::Core::DateAndTime execDate)
~AlgExecSummaryGrpBox() override
QLineEdit * getAlgExecDurationCtrl() const
AlgHistoryItem(const QStringList &names, Mantid::API::AlgorithmHistory_const_sptr algHistory, AlgHistoryItem *parent=nullptr)
QTreeWidget * m_histpropTree
void popupMenu(const QPoint &pos)
void setAlgProperties(const std::vector< Mantid::Kernel::PropertyHistory_sptr > &histProp)
const Mantid::Kernel::PropertyHistories & getAlgProperties()
void copySelectedItemText()
void displayAlgHistoryProperties()
Populates the Algorithm History display with property names, values, directions and whether their val...
QString m_selectedItemText
std::vector< Mantid::Kernel::PropertyHistory_sptr > m_Histprop
void treeSelectionChanged()
void itemChecked(QTreeWidgetItem *item, int index)
QString concatVersionwithName(const std::string &name, const int version)
void uncheckAllChildren(QTreeWidgetItem *item, int index)
static const int UNROLL_COLUMN_INDEX
void updateAlgorithmHistoryWindow(Mantid::API::AlgorithmHistory_const_sptr algHistory)
void populateNestedHistory(AlgHistoryItem *parentWidget, const Mantid::API::AlgorithmHistory_sptr &history)
void itemUnchecked(QTreeWidgetItem *item, int index)
void rollAlgorithmHistory(int index)
void onItemChanged(QTreeWidgetItem *item, int index)
void populateAlgHistoryTreeWidget(const Mantid::API::WorkspaceHistory &wsHist)
void unrollAlgorithmHistory(const std::vector< int > &indicies)
AlgHistoryTreeWidget(QWidget *w)
Constructor.
void selectionChanged(const QItemSelection &selected, const QItemSelection &deselected) override
void getItemIndex(QTreeWidgetItem *item, int &index)
QCheckBox * m_unrollAllHistoryCheckbox
AlgEnvHistoryGrpBox * m_envHistGrpBox
AlgExecSummaryGrpBox * m_execSumGrpBox
QPushButton * m_scriptButtonFile
const Mantid::API::WorkspaceHistory & m_algHist
QLabel * m_scriptVersionLabel
std::shared_ptr< Mantid::API::HistoryView > m_view
void updateAlgorithmHistoryWindow(QString algName)
AlgHistoryProperties * m_histPropWindow
QComboBox * m_scriptComboMode
AlgHistoryTreeWidget * m_Historytree
QFileDialog * createScriptDialog(const QString &algName)
QPushButton * m_scriptButtonClipboard
HistoryItem(AlgorithmHistory_const_sptr algHist)
This class stores information about the Workspace History used by algorithms on a workspace and the e...
This class stores information about the Environment of the computer used by the framework.
std::shared_ptr< const AlgorithmHistory > AlgorithmHistory_const_sptr
std::shared_ptr< AlgorithmHistory > AlgorithmHistory_sptr
std::vector< PropertyHistory_sptr > PropertyHistories
Helper class which provides the Collimation Length for SANS instruments.