BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Definition at line 27 of file InstrumentView.h.
Public Member Functions | |
InstrumentView (QWidget *parent, ProjectDocument *document) | |
Protected Member Functions | |
void | hideEvent (QHideEvent *) override |
void | showEvent (QShowEvent *) override |
Private Member Functions | |
void | createWidgetsForCurrentInstrument () |
void | onInstrumentChangedByEditor () |
void | onInstrumentChangedFromExternal (const InstrumentItem *instrument) |
void | onInstrumentdescriptionEdited (const QString &t) |
void | onInstrumentNameEdited (const QString &newName) |
void | updateSingleInstrumentMode () |
Private Attributes | |
ProjectDocument * | m_document |
InstrumentListView * | m_instrumentListView |
QScrollArea * | m_scrollArea |
InstrumentView::InstrumentView | ( | QWidget * | parent, |
ProjectDocument * | document | ||
) |
Definition at line 33 of file InstrumentView.cpp.
References createWidgetsForCurrentInstrument(), InstrumentListView::instrumentSelected(), m_document, m_instrumentListView, m_scrollArea, ProjectDocument::singleInstrumentModeChanged(), InstrumentListView::toolbarActions(), and updateSingleInstrumentMode().
|
private |
Definition at line 87 of file InstrumentView.cpp.
References InstrumentListView::currentInstrument(), DepthProbeInstrumentEditor::dataChanged(), GISASInstrumentEditor::dataChanged(), OffspecInstrumentEditor::dataChanged(), SpecularInstrumentEditor::dataChanged(), GroupBoxCollapser::installIntoGroupBox(), ProjectDocument::instrumentsEditController(), m_document, m_instrumentListView, m_scrollArea, onInstrumentChangedByEditor(), onInstrumentdescriptionEdited(), and onInstrumentNameEdited().
Referenced by InstrumentView(), and onInstrumentChangedFromExternal().
|
overrideprotected |
Definition at line 79 of file InstrumentView.cpp.
References InstrumentsEditController::instrumentChanged(), ProjectDocument::instrumentsEditController(), m_document, and onInstrumentChangedFromExternal().
|
private |
Definition at line 169 of file InstrumentView.cpp.
References InstrumentListView::currentInstrument(), ProjectDocument::instrumentsEditController(), m_document, m_instrumentListView, and InstrumentsEditController::notifyInstrumentChanged().
Referenced by createWidgetsForCurrentInstrument(), and onInstrumentdescriptionEdited().
|
private |
Definition at line 175 of file InstrumentView.cpp.
References createWidgetsForCurrentInstrument(), InstrumentListView::currentInstrument(), and m_instrumentListView.
Referenced by hideEvent(), and showEvent().
|
private |
Definition at line 160 of file InstrumentView.cpp.
References InstrumentListView::currentInstrument(), m_instrumentListView, onInstrumentChangedByEditor(), and InstrumentItem::setDescription().
Referenced by createWidgetsForCurrentInstrument().
|
private |
Definition at line 153 of file InstrumentView.cpp.
References InstrumentListView::currentInstrument(), ProjectDocument::instrumentsEditController(), m_document, m_instrumentListView, and InstrumentsEditController::setInstrumentName().
Referenced by createWidgetsForCurrentInstrument().
|
overrideprotected |
Definition at line 69 of file InstrumentView.cpp.
References InstrumentsEditController::instrumentChanged(), ProjectDocument::instrumentsEditController(), m_document, and onInstrumentChangedFromExternal().
|
private |
Definition at line 181 of file InstrumentView.cpp.
References m_document, m_instrumentListView, and ProjectDocument::singleInstrumentMode().
Referenced by InstrumentView().
|
private |
Definition at line 47 of file InstrumentView.h.
Referenced by InstrumentView(), createWidgetsForCurrentInstrument(), hideEvent(), onInstrumentChangedByEditor(), onInstrumentNameEdited(), showEvent(), and updateSingleInstrumentMode().
|
private |
Definition at line 46 of file InstrumentView.h.
Referenced by InstrumentView(), createWidgetsForCurrentInstrument(), onInstrumentChangedByEditor(), onInstrumentChangedFromExternal(), onInstrumentdescriptionEdited(), onInstrumentNameEdited(), and updateSingleInstrumentMode().
|
private |
Definition at line 48 of file InstrumentView.h.
Referenced by InstrumentView(), and createWidgetsForCurrentInstrument().