15 #ifndef BORNAGAIN_GUI_VIEW_SAMPLEDESIGNER_LAYERORIENTEDSAMPLEEDITOR_H
16 #define BORNAGAIN_GUI_VIEW_SAMPLEDESIGNER_LAYERORIENTEDSAMPLEEDITOR_H
Defines class SampleItem.
Sample editor with layer oriented presentation of a sample.
void onUnitActionToggled()
QAction * m_asAngstromAction
void setCurrentSample(MultiLayerItem *sampleItem)
QScrollArea * m_scrollArea
MultiLayerForm * m_currentMultiLayerWidget
~LayerOrientedSampleEditor() override
void aboutToRemoveItem(SampleItem item)
QAction * m_showInlineEditButtonsAction
QMap< MultiLayerItem *, SampleEditorController * > m_editControllers
void requestCreateNewSample()
LayerOrientedSampleEditor(QWidget *parent, ProjectDocument *document)
void onShowInlineEditButtonsToggled(bool checked)
MultiLayerItem * m_currentMultiLayerItem
void updateActionEnabling()
void requestViewInRealSpace(SampleItem itemToShow)
ProjectDocument * m_document
QWidget * createEmptyWidget()
Create empty widget with a button for sample creation.
Project document class handles all data related to the opened project (sample, job,...
Class to modify a sample from the layer oriented sample editor.
This can hold any item which belongs to a sample.
Base class for a GUI data item.