BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ModelView::UndoStack::UndoStackImpl Struct Reference

Public Member Functions

 UndoStackImpl ()
 
QUndoStack * undoStack ()
 

Public Attributes

std::unique_ptr< QUndoStack > m_undoStack
 

Detailed Description

Definition at line 21 of file undostack.cpp.

Constructor & Destructor Documentation

◆ UndoStackImpl()

ModelView::UndoStack::UndoStackImpl::UndoStackImpl ( )
inline

Definition at line 23 of file undostack.cpp.

23 : m_undoStack(std::make_unique<QUndoStack>()) {}
std::unique_ptr< QUndoStack > m_undoStack
Definition: undostack.cpp:22

Member Function Documentation

◆ undoStack()

QUndoStack* ModelView::UndoStack::UndoStackImpl::undoStack ( )
inline

Definition at line 24 of file undostack.cpp.

24 { return m_undoStack.get(); }

References ModelView::UndoStack::UndoStackImpl::m_undoStack.

Member Data Documentation

◆ m_undoStack

std::unique_ptr<QUndoStack> ModelView::UndoStack::UndoStackImpl::m_undoStack

Definition at line 22 of file undostack.cpp.

Referenced by ModelView::UndoStack::UndoStackImpl::undoStack().


The documentation for this struct was generated from the following file: