|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Resides at the bottom of SampleView and displays a Python script. More...
Signals | |
| void | widgetHeightRequest (int) |
Public Member Functions | |
| ScriptPanel (QWidget *parent=nullptr) | |
| QSize | minimumSizeHint () const |
| void | setInstrumentModel (InstrumentModel *instrumentModel) |
| void | setSampleModel (SampleModel *sampleModel) |
| QSize | sizeHint () const |
Protected Slots | |
| void | onExpandButtonClicked () |
| void | setContentVisible (bool editor_status, bool dock_notify=false) |
Protected Member Functions | |
| bool | isContentVisible () |
| void | resizeEvent (QResizeEvent *event) |
Protected Attributes | |
| int | m_cached_height |
| QStackedWidget * | m_stackedWidget |
| InfoPanelToolBar * | m_toolBar |
Private Attributes | |
| PySampleWidget * | m_pySampleWidget |
Resides at the bottom of SampleView and displays a Python script.
Definition at line 26 of file ScriptPanel.h.
|
explicit |
Definition at line 21 of file ScriptPanel.cpp.
References m_pySampleWidget, InfoPanel::m_stackedWidget, InfoPanel::m_toolBar, and InfoPanel::setContentVisible().
|
protectedinherited |
Definition at line 92 of file InfoPanel.cpp.
References InfoPanel::m_stackedWidget.
Referenced by InfoPanel::onExpandButtonClicked(), and InfoPanel::resizeEvent().
|
inherited |
Definition at line 61 of file InfoPanel.cpp.
|
protectedslotinherited |
Definition at line 66 of file InfoPanel.cpp.
References InfoPanel::isContentVisible(), and InfoPanel::setContentVisible().
Referenced by InfoPanel::InfoPanel().
|
protectedinherited |
Definition at line 100 of file InfoPanel.cpp.
References InfoPanel::isContentVisible(), and InfoPanel::setContentVisible().
|
protectedslotinherited |
Definition at line 71 of file InfoPanel.cpp.
References InfoPanel::m_cached_height, InfoPanel::m_stackedWidget, InfoPanel::m_toolBar, InfoPanelToolBar::setExpandStatus(), and InfoPanel::widgetHeightRequest().
Referenced by JobMessagePanel::JobMessagePanel(), ScriptPanel(), InfoPanel::onExpandButtonClicked(), and InfoPanel::resizeEvent().
| void ScriptPanel::setInstrumentModel | ( | InstrumentModel * | instrumentModel | ) |
Definition at line 38 of file ScriptPanel.cpp.
References m_pySampleWidget, and PySampleWidget::setInstrumentModel().
Referenced by SampleView::createSubWindows().
| void ScriptPanel::setSampleModel | ( | SampleModel * | sampleModel | ) |
Definition at line 33 of file ScriptPanel.cpp.
References m_pySampleWidget, and PySampleWidget::setSampleModel().
Referenced by SampleView::createSubWindows().
|
inherited |
Definition at line 47 of file InfoPanel.cpp.
References InfoPanel::m_stackedWidget, and InfoPanel::m_toolBar.
|
signalinherited |
Referenced by JobView::createSubWindows(), SampleView::createSubWindows(), and InfoPanel::setContentVisible().
|
protectedinherited |
Definition at line 50 of file InfoPanel.h.
Referenced by InfoPanel::setContentVisible().
|
private |
Definition at line 36 of file ScriptPanel.h.
Referenced by ScriptPanel(), setInstrumentModel(), and setSampleModel().
|
protectedinherited |
Definition at line 49 of file InfoPanel.h.
Referenced by InfoPanel::InfoPanel(), JobMessagePanel::JobMessagePanel(), ScriptPanel(), InfoPanel::isContentVisible(), InfoPanel::setContentVisible(), and InfoPanel::sizeHint().
|
protectedinherited |
Definition at line 48 of file InfoPanel.h.
Referenced by InfoPanel::InfoPanel(), ScriptPanel(), InfoPanel::setContentVisible(), and InfoPanel::sizeHint().