|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Provides various actions for ProjectionsEditor. More...
Public Slots | |
| void | onDeleteAction () |
| void | onSaveAction () |
| Performs saving of projections in ascii file. More... | |
Signals | |
| void | propertyPanelRequest () |
| void | resetViewRequest () |
Public Member Functions | |
| ProjectionsEditorActions (QWidget *parent=0) | |
| void | setContext (SessionModel *model, const QModelIndex &shapeContainerIndex, IntensityDataItem *intensityItem) |
| void | setSelectionModel (QItemSelectionModel *selectionModel) |
| QList< QAction * > | topToolBarActions () |
Private Attributes | |
| QModelIndex | m_containerIndex |
| Index of container with projections. More... | |
| QAction * | m_deleteAction |
| IntensityDataItem * | m_intensityDataItem |
| SessionModel * | m_model |
| QWidget * | m_parent |
| QAction * | m_resetViewAction |
| QItemSelectionModel * | m_selectionModel |
| QAction * | m_togglePanelAction |
Provides various actions for ProjectionsEditor.
Definition at line 29 of file ProjectionsEditorActions.h.
| ProjectionsEditorActions::ProjectionsEditorActions | ( | QWidget * | parent = 0 | ) |
Definition at line 22 of file ProjectionsEditorActions.cpp.
References m_deleteAction, m_resetViewAction, m_togglePanelAction, onDeleteAction(), propertyPanelRequest(), and resetViewRequest().
|
slot |
Definition at line 69 of file ProjectionsEditorActions.cpp.
References ASSERT, m_model, m_selectionModel, and SessionModel::removeRows().
Referenced by ProjectionsEditorActions(), and ProjectionsEditor::setup_connections().
|
slot |
Performs saving of projections in ascii file.
Definition at line 82 of file ProjectionsEditorActions.cpp.
References m_intensityDataItem, m_parent, and SaveProjectionsAssistant::saveProjections().
Referenced by ProjectionsToolBar::setup_extratools_group().
|
signal |
Referenced by ProjectionsEditorActions(), and ProjectionsEditor::setup_connections().
|
signal |
| void ProjectionsEditorActions::setContext | ( | SessionModel * | model, |
| const QModelIndex & | shapeContainerIndex, | ||
| IntensityDataItem * | intensityItem | ||
| ) |
Definition at line 51 of file ProjectionsEditorActions.cpp.
References m_containerIndex, m_intensityDataItem, and m_model.
Referenced by ProjectionsEditor::setContext().
| void ProjectionsEditorActions::setSelectionModel | ( | QItemSelectionModel * | selectionModel | ) |
Definition at line 59 of file ProjectionsEditorActions.cpp.
References m_selectionModel.
Referenced by ProjectionsEditor::setContext().
| QList< QAction * > ProjectionsEditorActions::topToolBarActions | ( | ) |
Definition at line 64 of file ProjectionsEditorActions.cpp.
References m_resetViewAction, and m_togglePanelAction.
Referenced by ProjectionsEditor::topToolBarActions().
|
private |
Index of container with projections.
Definition at line 55 of file ProjectionsEditorActions.h.
Referenced by setContext().
|
private |
Definition at line 53 of file ProjectionsEditorActions.h.
Referenced by ProjectionsEditorActions().
|
private |
Definition at line 56 of file ProjectionsEditorActions.h.
Referenced by onSaveAction(), and setContext().
|
private |
Definition at line 54 of file ProjectionsEditorActions.h.
Referenced by onDeleteAction(), and setContext().
|
private |
Definition at line 58 of file ProjectionsEditorActions.h.
Referenced by onSaveAction().
|
private |
Definition at line 51 of file ProjectionsEditorActions.h.
Referenced by ProjectionsEditorActions(), and topToolBarActions().
|
private |
Definition at line 57 of file ProjectionsEditorActions.h.
Referenced by onDeleteAction(), and setSelectionModel().
|
private |
Definition at line 52 of file ProjectionsEditorActions.h.
Referenced by ProjectionsEditorActions(), and topToolBarActions().