BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Prototype of real space widget to present sample structure in 3D view. More...
Public Member Functions | |
RealSpaceWidget (SampleModel *sampleModel=nullptr, QItemSelectionModel *selectionModel=nullptr, QWidget *parent=nullptr) | |
Protected Member Functions | |
void | hideEvent (QHideEvent *) override |
void | showEvent (QShowEvent *) override |
Private Attributes | |
RealSpaceActions * | m_actions |
RealSpaceCanvas * | m_canvas |
SampleModel * | m_sampleModel |
QItemSelectionModel * | m_selectionModel |
RealSpaceToolBar * | m_toolBar |
Prototype of real space widget to present sample structure in 3D view.
Definition at line 29 of file RealSpaceWidget.h.
RealSpaceWidget::RealSpaceWidget | ( | SampleModel * | sampleModel = nullptr , |
QItemSelectionModel * | selectionModel = nullptr , |
||
QWidget * | parent = nullptr |
||
) |
Definition at line 22 of file RealSpaceWidget.cpp.
References RealSpaceToolBar::changeLayerSizeAction(), RealSpaceToolBar::defaultViewAction(), RealSpaceToolBar::lockViewAction(), m_canvas, m_toolBar, RealSpaceCanvas::onChangeLayerSizeAction(), RealSpaceCanvas::onDefaultViewAction(), RealSpaceCanvas::onLockViewAction(), RealSpaceCanvas::onSavePictureAction(), RealSpaceCanvas::onSideViewAction(), RealSpaceCanvas::onTopViewAction(), RealSpaceToolBar::savePictureAction(), RealSpaceToolBar::sideViewAction(), and RealSpaceToolBar::topViewAction().
|
overrideprotected |
Definition at line 70 of file RealSpaceWidget.cpp.
References m_canvas, and RealSpaceCanvas::setModel().
|
overrideprotected |
Definition at line 65 of file RealSpaceWidget.cpp.
References m_canvas, m_sampleModel, m_selectionModel, and RealSpaceCanvas::setModel().
|
private |
Definition at line 41 of file RealSpaceWidget.h.
|
private |
Definition at line 43 of file RealSpaceWidget.h.
Referenced by RealSpaceWidget(), hideEvent(), and showEvent().
|
private |
Definition at line 44 of file RealSpaceWidget.h.
Referenced by showEvent().
|
private |
Definition at line 45 of file RealSpaceWidget.h.
Referenced by showEvent().
|
private |
Definition at line 42 of file RealSpaceWidget.h.
Referenced by RealSpaceWidget().