Mantid
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | Private Member Functions | Private Attributes | List of all members
AlgorithmHistoryWindow Class Reference

#include <AlgorithmHistoryWindow.h>

Inheritance diagram for AlgorithmHistoryWindow:

Public Slots

void copytoClipboard ()
 
void doRoll (int index)
 
void doUnroll (const std::vector< int > &unrollIndicies)
 
void unrollAll (int state)
 
void updateAll (const Mantid::API::AlgorithmHistory_const_sptr &algHistmakeory)
 
void writeToScriptFile ()
 

Signals

void updateAlgorithmHistoryWindow (QString algName)
 

Public Member Functions

 AlgorithmHistoryWindow (QWidget *parent, const QString &workspaceName)
 
 AlgorithmHistoryWindow (QWidget *parent, const std::shared_ptr< const Mantid::API::Workspace > &)
 
void closeEvent (QCloseEvent *ce) override
 
 ~AlgorithmHistoryWindow () override
 

Private Member Functions

AlgHistoryPropertiescreateAlgHistoryPropWindow ()
 
AlgEnvHistoryGrpBoxcreateEnvHistGrpBox (const Mantid::Kernel::EnvironmentHistory &envHistory)
 
AlgExecSummaryGrpBoxcreateExecSummaryGrpBox ()
 
QFileDialog * createScriptDialog (const QString &algName)
 
std::string getScriptVersionMode ()
 Used by the save script to clipboard/file buttons to select which versioning. More...
 
void updateAlgHistoryProperties (const Mantid::API::AlgorithmHistory_const_sptr &algHistory)
 
void updateExecSummaryGrpBox (const Mantid::API::AlgorithmHistory_const_sptr &algHistory)
 

Private Attributes

const Mantid::API::WorkspaceHistorym_algHist
 
AlgEnvHistoryGrpBoxm_envHistGrpBox
 
AlgExecSummaryGrpBoxm_execSumGrpBox
 
AlgHistoryTreeWidgetm_Historytree
 
AlgHistoryPropertiesm_histPropWindow
 
QPushButton * m_scriptButtonClipboard
 
QPushButton * m_scriptButtonFile
 
QComboBox * m_scriptComboMode
 
QLabel * m_scriptVersionLabel
 
QCheckBox * m_unrollAllHistoryCheckbox
 
std::shared_ptr< Mantid::API::HistoryViewm_view
 
QString m_wsName
 

Detailed Description

Definition at line 134 of file AlgorithmHistoryWindow.h.

Constructor & Destructor Documentation

◆ AlgorithmHistoryWindow() [1/2]

AlgorithmHistoryWindow::AlgorithmHistoryWindow ( QWidget *  parent,
const std::shared_ptr< const Mantid::API::Workspace > &  wsptr 
)

◆ AlgorithmHistoryWindow() [2/2]

AlgorithmHistoryWindow::AlgorithmHistoryWindow ( QWidget *  parent,
const QString &  workspaceName 
)

Definition at line 304 of file AlgorithmHistoryWindow.cpp.

◆ ~AlgorithmHistoryWindow()

AlgorithmHistoryWindow::~AlgorithmHistoryWindow ( )
override

Member Function Documentation

◆ closeEvent()

void AlgorithmHistoryWindow::closeEvent ( QCloseEvent *  ce)
override

Definition at line 330 of file AlgorithmHistoryWindow.cpp.

◆ copytoClipboard

void AlgorithmHistoryWindow::copytoClipboard ( )
slot

◆ createAlgHistoryPropWindow()

AlgHistoryProperties * AlgorithmHistoryWindow::createAlgHistoryPropWindow ( )
private

◆ createEnvHistGrpBox()

AlgEnvHistoryGrpBox * AlgorithmHistoryWindow::createEnvHistGrpBox ( const Mantid::Kernel::EnvironmentHistory envHistory)
private

◆ createExecSummaryGrpBox()

AlgExecSummaryGrpBox * AlgorithmHistoryWindow::createExecSummaryGrpBox ( )
private

◆ createScriptDialog()

QFileDialog * AlgorithmHistoryWindow::createScriptDialog ( const QString &  algName)
private

◆ doRoll

void AlgorithmHistoryWindow::doRoll ( int  index)
slot

Definition at line 490 of file AlgorithmHistoryWindow.cpp.

References index, and m_view.

Referenced by AlgorithmHistoryWindow().

◆ doUnroll

void AlgorithmHistoryWindow::doUnroll ( const std::vector< int > &  unrollIndicies)
slot

Definition at line 484 of file AlgorithmHistoryWindow.cpp.

References m_view.

Referenced by AlgorithmHistoryWindow().

◆ getScriptVersionMode()

std::string AlgorithmHistoryWindow::getScriptVersionMode ( )
private

Used by the save script to clipboard/file buttons to select which versioning.

Definition at line 388 of file AlgorithmHistoryWindow.cpp.

References m_scriptComboMode.

Referenced by copytoClipboard(), and writeToScriptFile().

◆ unrollAll

void AlgorithmHistoryWindow::unrollAll ( int  state)
slot

Definition at line 492 of file AlgorithmHistoryWindow.cpp.

References m_Historytree.

Referenced by AlgorithmHistoryWindow().

◆ updateAlgHistoryProperties()

void AlgorithmHistoryWindow::updateAlgHistoryProperties ( const Mantid::API::AlgorithmHistory_const_sptr algHistory)
private

◆ updateAlgorithmHistoryWindow

void AlgorithmHistoryWindow::updateAlgorithmHistoryWindow ( QString  algName)
signal

Referenced by AlgorithmHistoryWindow().

◆ updateAll

void AlgorithmHistoryWindow::updateAll ( const Mantid::API::AlgorithmHistory_const_sptr algHistmakeory)
slot

◆ updateExecSummaryGrpBox()

void AlgorithmHistoryWindow::updateExecSummaryGrpBox ( const Mantid::API::AlgorithmHistory_const_sptr algHistory)
private

Definition at line 463 of file AlgorithmHistoryWindow.cpp.

References m_execSumGrpBox, and AlgExecSummaryGrpBox::setData().

Referenced by updateAll().

◆ writeToScriptFile

void AlgorithmHistoryWindow::writeToScriptFile ( )
slot

Member Data Documentation

◆ m_algHist

const Mantid::API::WorkspaceHistory& AlgorithmHistoryWindow::m_algHist
private

◆ m_envHistGrpBox

AlgEnvHistoryGrpBox* AlgorithmHistoryWindow::m_envHistGrpBox
private

Definition at line 176 of file AlgorithmHistoryWindow.h.

Referenced by AlgorithmHistoryWindow(), and ~AlgorithmHistoryWindow().

◆ m_execSumGrpBox

AlgExecSummaryGrpBox* AlgorithmHistoryWindow::m_execSumGrpBox
private

◆ m_Historytree

AlgHistoryTreeWidget* AlgorithmHistoryWindow::m_Historytree
private

◆ m_histPropWindow

AlgHistoryProperties* AlgorithmHistoryWindow::m_histPropWindow
private

◆ m_scriptButtonClipboard

QPushButton* AlgorithmHistoryWindow::m_scriptButtonClipboard
private

Definition at line 172 of file AlgorithmHistoryWindow.h.

Referenced by AlgorithmHistoryWindow().

◆ m_scriptButtonFile

QPushButton* AlgorithmHistoryWindow::m_scriptButtonFile
private

Definition at line 171 of file AlgorithmHistoryWindow.h.

Referenced by AlgorithmHistoryWindow().

◆ m_scriptComboMode

QComboBox* AlgorithmHistoryWindow::m_scriptComboMode
private

Definition at line 169 of file AlgorithmHistoryWindow.h.

Referenced by AlgorithmHistoryWindow(), and getScriptVersionMode().

◆ m_scriptVersionLabel

QLabel* AlgorithmHistoryWindow::m_scriptVersionLabel
private

Definition at line 168 of file AlgorithmHistoryWindow.h.

Referenced by AlgorithmHistoryWindow().

◆ m_unrollAllHistoryCheckbox

QCheckBox* AlgorithmHistoryWindow::m_unrollAllHistoryCheckbox
private

Definition at line 170 of file AlgorithmHistoryWindow.h.

Referenced by AlgorithmHistoryWindow().

◆ m_view

std::shared_ptr<Mantid::API::HistoryView> AlgorithmHistoryWindow::m_view
private

Definition at line 178 of file AlgorithmHistoryWindow.h.

Referenced by copytoClipboard(), doRoll(), doUnroll(), and writeToScriptFile().

◆ m_wsName

QString AlgorithmHistoryWindow::m_wsName
private

Definition at line 177 of file AlgorithmHistoryWindow.h.


The documentation for this class was generated from the following files: