BornAgain
1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
|
The JobPropertiesWidget class holds component editor for JobItem. Part of JobSelectorWidget, resides at lower left corner of JobView.
Definition at line 29 of file JobPropertiesWidget.h.
Public Member Functions | |
JobPropertiesWidget (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags()) | |
~JobPropertiesWidget () override | |
QSize | minimumSizeHint () const override |
void | setItem (JobItem *item) |
QSize | sizeHint () const override |
Private Slots | |
void | onCommentsEdited () |
Private Member Functions | |
void | notifyJobPropertyChange () |
Private Attributes | |
QTextEdit * | m_commentsEditor |
JobItem * | m_item |
JobPropertiesTableModel * | m_propertiesModel |
QTreeView * | m_propertiesView |
QTabWidget * | m_tabWidget |
|
explicit |
Definition at line 39 of file JobPropertiesWidget.cpp.
References GUI::Constants::JobPropertiesWidgetName, m_commentsEditor, m_propertiesModel, m_propertiesView, m_tabWidget, and onCommentsEdited().
|
override |
Definition at line 69 of file JobPropertiesWidget.cpp.
References m_item.
|
override |
Definition at line 80 of file JobPropertiesWidget.cpp.
References GUI::Util::Style::PropertyPanelWidth().
|
private |
Definition at line 107 of file JobPropertiesWidget.cpp.
References JobItem::getComments(), JobItem::jobCommentsChanged(), m_commentsEditor, and m_item.
Referenced by setItem().
|
privateslot |
Definition at line 122 of file JobPropertiesWidget.cpp.
References m_commentsEditor, m_item, and JobItem::setComments().
Referenced by JobPropertiesWidget().
void JobPropertiesWidget::setItem | ( | JobItem * | item | ) |
Definition at line 85 of file JobPropertiesWidget.cpp.
References JobItem::getComments(), JobItem::isFailed(), m_commentsEditor, m_item, m_propertiesModel, m_tabWidget, notifyJobPropertyChange(), and JobPropertiesTableModel::setItem().
Referenced by JobSelectorWidget::onSelectedJobsChanged().
|
override |
Definition at line 75 of file JobPropertiesWidget.cpp.
References GUI::Util::Style::PropertyPanelWidth().
|
private |
Definition at line 49 of file JobPropertiesWidget.h.
Referenced by JobPropertiesWidget(), notifyJobPropertyChange(), onCommentsEdited(), and setItem().
|
private |
Definition at line 50 of file JobPropertiesWidget.h.
Referenced by ~JobPropertiesWidget(), notifyJobPropertyChange(), onCommentsEdited(), and setItem().
|
private |
Definition at line 48 of file JobPropertiesWidget.h.
Referenced by JobPropertiesWidget(), and setItem().
|
private |
Definition at line 47 of file JobPropertiesWidget.h.
Referenced by JobPropertiesWidget().
|
private |
Definition at line 46 of file JobPropertiesWidget.h.
Referenced by JobPropertiesWidget(), and setItem().