BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Property editor to modify property of the object currently selected on the graphics scene. More...
Public Slots | |
void | selectionChanged (const QItemSelection &selected, const QItemSelection &) |
Public Member Functions | |
SamplePropertyWidget (QItemSelectionModel *selection_model, QWidget *parent=nullptr) | |
QSize | minimumSizeHint () const |
void | setSelectionModel (QItemSelectionModel *selection_model) |
QSize | sizeHint () const |
Private Attributes | |
ComponentEditor * | m_propertyEditor |
QItemSelectionModel * | m_selection_model |
Property editor to modify property of the object currently selected on the graphics scene.
Located in the bottom right corner of SampleView.
Definition at line 27 of file SamplePropertyWidget.h.
SamplePropertyWidget::SamplePropertyWidget | ( | QItemSelectionModel * | selection_model, |
QWidget * | parent = nullptr |
||
) |
Definition at line 23 of file SamplePropertyWidget.cpp.
References m_propertyEditor, and setSelectionModel().
QSize SamplePropertyWidget::minimumSizeHint | ( | ) | const |
Definition at line 47 of file SamplePropertyWidget.cpp.
|
slot |
Definition at line 72 of file SamplePropertyWidget.cpp.
References m_propertyEditor, and ComponentEditor::setItem().
Referenced by setSelectionModel().
void SamplePropertyWidget::setSelectionModel | ( | QItemSelectionModel * | selection_model | ) |
Definition at line 52 of file SamplePropertyWidget.cpp.
References m_selection_model, and selectionChanged().
Referenced by SamplePropertyWidget().
QSize SamplePropertyWidget::sizeHint | ( | ) | const |
Definition at line 42 of file SamplePropertyWidget.cpp.
|
private |
Definition at line 42 of file SamplePropertyWidget.h.
Referenced by SamplePropertyWidget(), and selectionChanged().
|
private |
Definition at line 41 of file SamplePropertyWidget.h.
Referenced by setSelectionModel().