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.size()) {
#define ASSERT(condition)
Defines class ProjectionsEditorActions.
Defines class SaveProjectionsAssistant.
Defines class SessionModel.
void setContext(SessionModel *model, const QModelIndex &shapeContainerIndex, IntensityDataItem *intensityItem)
void setSelectionModel(QItemSelectionModel *selectionModel)
void propertyPanelRequest()
ProjectionsEditorActions(QWidget *parent=0)
IntensityDataItem * m_intensityDataItem
QAction * m_togglePanelAction
QModelIndex m_containerIndex
Index of container with projections.
QList< QAction * > topToolBarActions()
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.
virtual bool removeRows(int row, int count, const QModelIndex &parent)