BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
gui2::SLDEditorActions Class Reference

Handles user actions applied to SLDEditor. More...

Inheritance diagram for gui2::SLDEditorActions:
[legend]
Collaboration diagram for gui2::SLDEditorActions:
[legend]

Classes

struct  SLDEditorActionsImpl
 

Public Member Functions

 SLDEditorActions (QObject *parent=nullptr)
 
 ~SLDEditorActions ()
 
void setModel (SLDElementModel *model)
 

Private Attributes

std::unique_ptr< SLDEditorActionsImplp_impl
 

Detailed Description

Handles user actions applied to SLDEditor.

Belongs to SLDEditor.

Definition at line 29 of file sldeditoractions.h.

Constructor & Destructor Documentation

◆ SLDEditorActions()

gui2::SLDEditorActions::SLDEditorActions ( QObject *  parent = nullptr)

Definition at line 30 of file sldeditoractions.cpp.

31  : QObject(parent), p_impl(std::make_unique<SLDEditorActionsImpl>())
32 {
33 }
std::unique_ptr< SLDEditorActionsImpl > p_impl

◆ ~SLDEditorActions()

gui2::SLDEditorActions::~SLDEditorActions ( )
default

Member Function Documentation

◆ setModel()

void gui2::SLDEditorActions::setModel ( SLDElementModel model)

Definition at line 35 of file sldeditoractions.cpp.

36 {
37  p_impl->sld_element_model = model;
38 }

References p_impl.

Referenced by gui2::SLDEditor::setModels().

Member Data Documentation

◆ p_impl

std::unique_ptr<SLDEditorActionsImpl> gui2::SLDEditorActions::p_impl
private

Definition at line 40 of file sldeditoractions.h.

Referenced by setModel().


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