BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
The SLD editor QWidget. More...
Public Member Functions | |
SLDEditor (QWidget *parent=nullptr) | |
The constructor. More... | |
~SLDEditor () | |
The destructor. More... | |
QSize | minimumSizeHint () const override |
void | setModels (ApplicationModels *models) |
QSize | sizeHint () const override |
Private Attributes | |
SLDEditorActions * | m_editorActions {nullptr} |
SLDEditorToolBar * | m_toolBar {nullptr} |
SLDViewWidget * | m_viewWidget {nullptr} |
The SLD editor QWidget.
Definition at line 28 of file sldeditor.h.
gui2::SLDEditor::SLDEditor | ( | QWidget * | parent = nullptr | ) |
The constructor.
Definition at line 28 of file sldeditor.cpp.
References gui2::GraphicsScene::graphCanvas(), m_toolBar, m_viewWidget, gui2::SLDEditorToolBar::resetViewport(), and ModelView::GraphCanvas::setViewportToContent().
|
default |
The destructor.
|
override |
Definition at line 64 of file sldeditor.cpp.
References gui2::StyleUtils::DockMinimumSizeHint().
void gui2::SLDEditor::setModels | ( | ApplicationModels * | models | ) |
Definition at line 53 of file sldeditor.cpp.
References m_editorActions, m_viewWidget, gui2::SLDEditorActions::setModel(), gui2::SLDViewWidget::setModels(), and gui2::ApplicationModels::sldViewModel().
|
override |
Definition at line 59 of file sldeditor.cpp.
References gui2::StyleUtils::DockSizeHint().
|
private |
Definition at line 41 of file sldeditor.h.
Referenced by setModels().
|
private |
Definition at line 43 of file sldeditor.h.
Referenced by SLDEditor().
|
private |
Definition at line 42 of file sldeditor.h.
Referenced by SLDEditor(), and setModels().