|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Widget with InstrumentItem properties. More...
Public Member Functions | |
| InstrumentPropertyEditor (QWidget *parent=nullptr) | |
| ~InstrumentPropertyEditor () | |
| QSize | minimumSizeHint () const override |
| void | setModels (ApplicationModels *models) |
| QSize | sizeHint () const override |
Private Attributes | |
| ModelView::PropertyTreeView * | m_beamPropertyEditor {nullptr} |
Widget with InstrumentItem properties.
Used to modify q-scan parameters, located under QuickSimEditor.
Definition at line 32 of file instrumentpropertyeditor.h.
| gui2::InstrumentPropertyEditor::InstrumentPropertyEditor | ( | QWidget * | parent = nullptr | ) |
Definition at line 30 of file instrumentpropertyeditor.cpp.
References m_beamPropertyEditor.
|
default |
|
override |
Definition at line 60 of file instrumentpropertyeditor.cpp.
References gui2::StyleUtils::DockMinimumSizeHint().
| void gui2::InstrumentPropertyEditor::setModels | ( | ApplicationModels * | models | ) |
Definition at line 40 of file instrumentpropertyeditor.cpp.
References gui2::ApplicationModels::instrumentModel(), m_beamPropertyEditor, gui2::SpecularInstrumentItem::P_BEAM, ModelView::PropertyTreeView::setItem(), ModelView::ItemsTreeView::setViewModelDelegate(), ModelView::SessionModel::topItem(), and ModelView::ItemsTreeView::treeView().
|
override |
Definition at line 55 of file instrumentpropertyeditor.cpp.
References gui2::StyleUtils::DockSizeHint().
|
private |
Definition at line 45 of file instrumentpropertyeditor.h.
Referenced by InstrumentPropertyEditor(), and setModels().