| 
    BornAgain
    1.19.0
    
   Simulate and fit neutron and x-ray scattering at grazing incidence 
   | 
 
Tool widget for MaskEditor. More...
Signals | |
| void | itemContextMenuRequest (const QPoint &point) | 
Public Member Functions | |
| MaskEditorPropertyPanel (QWidget *parent=nullptr) | |
| QSize | minimumSizeHint () const | 
| void | resetContext () | 
| QItemSelectionModel * | selectionModel () | 
| void | setMaskContext (SessionModel *model, const QModelIndex &maskContainerIndex, IntensityDataItem *intensityItem) | 
| void | setPanelHidden (bool value) | 
| Show/Hide panel. When panel is hidden, all property editors are disabled.  More... | |
| QSize | sizeHint () const | 
Private Slots | |
| void | onCustomContextMenuRequested (const QPoint &point) | 
| void | onSelectionChanged (const QItemSelection &selected, const QItemSelection &) | 
Private Member Functions | |
| void | setup_MaskProperties (AccordionWidget *accordion) | 
| void | setup_MaskStack (AccordionWidget *accordion) | 
| void | setup_PlotProperties (AccordionWidget *accordion) | 
Private Attributes | |
| AccordionWidget * | m_accordion | 
| IntensityDataItem * | m_intensityDataItem | 
| QListView * | m_listView | 
| SessionModel * | m_maskModel | 
| ComponentEditor * | m_maskPropertyEditor | 
| ComponentEditor * | m_plotPropertyEditor | 
| QModelIndex | m_rootIndex | 
Tool widget for MaskEditor.
Definition at line 32 of file MaskEditorPropertyPanel.h.
| MaskEditorPropertyPanel::MaskEditorPropertyPanel | ( | QWidget * | parent = nullptr | ) | 
Definition at line 40 of file MaskEditorPropertyPanel.cpp.
References AccordionWidget::getContentPane(), ContentPane::headerClicked(), m_accordion, m_listView, onCustomContextMenuRequested(), setup_MaskProperties(), setup_MaskStack(), and setup_PlotProperties().
      
  | 
  signal | 
Referenced by onCustomContextMenuRequested(), and MaskEditor::setup_connections().
| QSize MaskEditorPropertyPanel::minimumSizeHint | ( | ) | const | 
Definition at line 75 of file MaskEditorPropertyPanel.cpp.
      
  | 
  privateslot | 
Definition at line 144 of file MaskEditorPropertyPanel.cpp.
References itemContextMenuRequest(), and m_listView.
Referenced by MaskEditorPropertyPanel().
      
  | 
  privateslot | 
Definition at line 135 of file MaskEditorPropertyPanel.cpp.
References SessionModel::itemForIndex(), m_maskModel, m_maskPropertyEditor, and ComponentEditor::setItem().
Referenced by setMaskContext().
| void MaskEditorPropertyPanel::resetContext | ( | ) | 
Definition at line 99 of file MaskEditorPropertyPanel.cpp.
References m_intensityDataItem, m_listView, m_maskModel, m_maskPropertyEditor, m_plotPropertyEditor, m_rootIndex, and ComponentEditor::setItem().
Referenced by MaskEditor::resetContext().
| QItemSelectionModel * MaskEditorPropertyPanel::selectionModel | ( | ) | 
Definition at line 109 of file MaskEditorPropertyPanel.cpp.
References ASSERT, and m_listView.
Referenced by MaskEditor::setMaskContext(), and setPanelHidden().
| void MaskEditorPropertyPanel::setMaskContext | ( | SessionModel * | model, | 
| const QModelIndex & | maskContainerIndex, | ||
| IntensityDataItem * | intensityItem | ||
| ) | 
Definition at line 80 of file MaskEditorPropertyPanel.cpp.
References m_intensityDataItem, m_listView, m_maskModel, m_plotPropertyEditor, m_rootIndex, onSelectionChanged(), and ComponentEditor::setItem().
Referenced by MaskEditor::setMaskContext().
| void MaskEditorPropertyPanel::setPanelHidden | ( | bool | value | ) | 
Show/Hide panel. When panel is hidden, all property editors are disabled.
Definition at line 116 of file MaskEditorPropertyPanel.cpp.
References SessionModel::itemForIndex(), m_intensityDataItem, m_maskModel, m_maskPropertyEditor, m_plotPropertyEditor, m_rootIndex, selectionModel(), and ComponentEditor::setItem().
Referenced by MaskEditor::MaskEditor(), and MaskEditor::onPropertyPanelRequest().
      
  | 
  private | 
Definition at line 179 of file MaskEditorPropertyPanel.cpp.
References AccordionWidget::addContentPane(), ContentPane::getContentFrame(), AccordionWidget::getContentPane(), m_maskPropertyEditor, ContentPane::setContainerFrameStyle(), ContentPane::setHeaderTooltip(), and ContentPane::setMaximumHeight().
Referenced by MaskEditorPropertyPanel().
      
  | 
  private | 
Definition at line 164 of file MaskEditorPropertyPanel.cpp.
References AccordionWidget::addContentPane(), ContentPane::getContentFrame(), AccordionWidget::getContentPane(), m_listView, ContentPane::setContainerFrameStyle(), ContentPane::setHeaderTooltip(), and ContentPane::setMaximumHeight().
Referenced by MaskEditorPropertyPanel().
      
  | 
  private | 
Definition at line 149 of file MaskEditorPropertyPanel.cpp.
References AccordionWidget::addContentPane(), ContentPane::getContentFrame(), AccordionWidget::getContentPane(), m_plotPropertyEditor, ContentPane::setContainerFrameStyle(), ContentPane::setHeaderTooltip(), and ContentPane::setMaximumHeight().
Referenced by MaskEditorPropertyPanel().
| QSize MaskEditorPropertyPanel::sizeHint | ( | ) | const | 
Definition at line 70 of file MaskEditorPropertyPanel.cpp.
      
  | 
  private | 
Definition at line 64 of file MaskEditorPropertyPanel.h.
Referenced by MaskEditorPropertyPanel().
      
  | 
  private | 
Definition at line 67 of file MaskEditorPropertyPanel.h.
Referenced by resetContext(), setMaskContext(), and setPanelHidden().
      
  | 
  private | 
Definition at line 61 of file MaskEditorPropertyPanel.h.
Referenced by MaskEditorPropertyPanel(), onCustomContextMenuRequested(), resetContext(), selectionModel(), setMaskContext(), and setup_MaskStack().
      
  | 
  private | 
Definition at line 65 of file MaskEditorPropertyPanel.h.
Referenced by onSelectionChanged(), resetContext(), setMaskContext(), and setPanelHidden().
      
  | 
  private | 
Definition at line 62 of file MaskEditorPropertyPanel.h.
Referenced by onSelectionChanged(), resetContext(), setPanelHidden(), and setup_MaskProperties().
      
  | 
  private | 
Definition at line 63 of file MaskEditorPropertyPanel.h.
Referenced by resetContext(), setMaskContext(), setPanelHidden(), and setup_PlotProperties().
      
  | 
  private | 
Definition at line 66 of file MaskEditorPropertyPanel.h.
Referenced by resetContext(), setMaskContext(), and setPanelHidden().