15 #ifndef BORNAGAIN_GUI2_IMPORTDATAVIEW_DATAVIEWMODEL_H
16 #define BORNAGAIN_GUI2_IMPORTDATAVIEW_DATAVIEWMODEL_H
18 #include "darefl_export.h"
27 class ExperimentalDataModel;
37 Qt::ItemFlags flags(
const QModelIndex& index)
const override;
38 QMimeData* mimeData(
const QModelIndexList& index_list)
const override;
39 Qt::DropActions supportedDragActions()
const override;
40 Qt::DropActions supportedDropActions()
const override;
41 bool canDropMimeData(
const QMimeData* data, Qt::DropAction action,
int row,
int column,
42 const QModelIndex& parent)
const override;
43 bool dropMimeData(
const QMimeData* data, Qt::DropAction action,
int row,
int column,
44 const QModelIndex& parent)
override;
View model to show top level items of SessionModel in Qt trees and tables.
View model for ExperimentalDataModel with drag-and-drop support.
The model to store imported reflectometry data.
materialitems.h Collection of materials to populate MaterialModel.
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.