19 #include <QItemSelectionModel>
20 #include <QModelIndexList>
24 , m_resetViewAction(new QAction(this))
25 , m_togglePanelAction(new QAction(this))
26 , m_deleteAction(new QAction(
"Remove selected", this))
28 , m_intensityDataItem(nullptr)
29 , m_selectionModel(nullptr)
36 "x,y,z axes range will be set to default");
75 while (!indexes.empty()) {
Defines class ProjectionsEditorActions.
Defines class SaveProjectionsAssistant.
Defines class SessionModel.
void setContext(SessionModel *model, const QModelIndex &shapeContainerIndex, IntensityDataItem *intensityItem)
void setSelectionModel(QItemSelectionModel *selectionModel)
void propertyPanelRequest()
QList< QAction * > topToolbarActions()
IntensityDataItem * m_intensityDataItem
QAction * m_togglePanelAction
QModelIndex m_containerIndex
Index of container with projections.
ProjectionsEditorActions(QWidget *parent=nullptr)
void onSaveAction()
Performs saving of projections in ascii file.
QItemSelectionModel * m_selectionModel
QAction * m_resetViewAction
Assistant class which save all projections of IndensityDataItem into ASCII file.
void saveProjections(QWidget *parent, IntensityDataItem *intensityItem)
Calls file open dialog and writes projection data as ASCII.
Base class for a GUI data collection. A collection is e.g. all real data (RealDataModel)....
bool removeRows(int row, int count, const QModelIndex &parent) override