15 #ifndef BORNAGAIN_GUI_VIEW_INSTRUMENT_INSTRUMENTLISTVIEW_H
16 #define BORNAGAIN_GUI_VIEW_INSTRUMENT_INSTRUMENTLISTVIEW_H
34 Qt::WindowFlags f = Qt::WindowFlags());
Abstract base class for instrument-specific item classes.
List model for instruments.
Instrument selector on the left side of InstrumentView.
QSize minimumSizeHint() const override
void ensureItemSelected()
QAction * m_separatorAction2
QAction * m_newSpecularAction
ProjectDocument * m_document
QAction * m_newOffspecAction
InstrumentListModel * m_model
void onCopy()
Makes a copy of the currently selected instrument.
InstrumentItem * currentInstrument() const
QAction * m_newGisasAction
void instrumentSelected(InstrumentItem *instrument)
QAction * m_separatorAction1
QAction * m_newDepthProbeAction
QSize sizeHint() const override
QList< QAction * > toolbarActions() const
InstrumentListView(ProjectDocument *document, QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
void onItemSelectionChanged()
void updateFunctionalityNarrowing()
Show/hide UI elements according to settings in current project.
void onRemove()
Removes currently selected instrument.
QAction * m_loadFromLibraryAction
QAction * m_storeInLibraryAction
Project document class handles all data related to the opened project (sample, job,...