BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
The FitActivityPanel class is a main widget to run the fitting. Occupies bottom right corner of JobView, contains stack of FitSuiteWidgets for every JobItem which is suitable for fitting.
Definition at line 33 of file FitActivityPanel.h.
Public Slots | |
void | setItem (JobItem *item) |
Signals | |
void | showLog (FitLog *log) |
Public Member Functions | |
FitActivityPanel (QWidget *parent=nullptr) | |
QSize | minimumSizeHint () const override |
void | setRealTimeWidget (JobRealTimeWidget *realTimeWidget) |
QSize | sizeHint () const override |
Private Member Functions | |
FitSessionWidget * | currentFitSuiteWidget () |
bool | isValidJobItem (JobItem *item) |
Private Attributes | |
QWidget * | m_blankWidget |
FitSessionManager * | m_fitSessionManager |
FitSessionWidget * | m_fitSessionWidget |
QLabel * | m_nofitLabel |
JobRealTimeWidget * | m_realTimeWidget |
QStackedWidget * | m_stack |
FitActivityPanel::FitActivityPanel | ( | QWidget * | parent = nullptr | ) |
Definition at line 29 of file FitActivityPanel.cpp.
References GUI::Constants::JobFitPanelName, m_blankWidget, m_fitSessionWidget, m_nofitLabel, and m_stack.
|
private |
Definition at line 96 of file FitActivityPanel.cpp.
References m_fitSessionWidget.
|
private |
Definition at line 91 of file FitActivityPanel.cpp.
References JobItem::isValidForFitting().
Referenced by setItem().
|
override |
Definition at line 67 of file FitActivityPanel.cpp.
|
slot |
Definition at line 72 of file FitActivityPanel.cpp.
References FitSessionController::fitLog(), isValidJobItem(), m_blankWidget, m_fitSessionManager, m_fitSessionWidget, m_nofitLabel, m_realTimeWidget, m_stack, JobRealTimeWidget::parameterTuningWidget(), FitSessionManager::sessionController(), FitSessionWidget::setItem(), FitSessionWidget::setModelTuningWidget(), FitSessionWidget::setSessionController(), and showLog().
Referenced by JobView::onSelectionChanged().
void FitActivityPanel::setRealTimeWidget | ( | JobRealTimeWidget * | realTimeWidget | ) |
Definition at line 55 of file FitActivityPanel.cpp.
References m_realTimeWidget.
Referenced by JobView::createSubWindows().
|
signal |
Referenced by JobView::connectJobRelated(), and setItem().
|
override |
Definition at line 61 of file FitActivityPanel.cpp.
References GUI::Constants::FIT_ACTIVITY_PANEL_HEIGHT, and GUI::Constants::REALTIME_WIDGET_WIDTH_HINT.
|
private |
Definition at line 54 of file FitActivityPanel.h.
Referenced by FitActivityPanel(), and setItem().
|
private |
Definition at line 58 of file FitActivityPanel.h.
Referenced by setItem().
|
private |
Definition at line 55 of file FitActivityPanel.h.
Referenced by FitActivityPanel(), currentFitSuiteWidget(), and setItem().
|
private |
Definition at line 56 of file FitActivityPanel.h.
Referenced by FitActivityPanel(), and setItem().
|
private |
Definition at line 57 of file FitActivityPanel.h.
Referenced by setItem(), and setRealTimeWidget().
|
private |
Definition at line 53 of file FitActivityPanel.h.
Referenced by FitActivityPanel(), and setItem().