##// END OF EJS Templates
Updates access to y-axis properties of the data series (2)...
Updates access to y-axis properties of the data series (2) Uses iterators instead of y-axis at() method to get access to the data Adds access in data series iterator

File last commit:

r873:5662e2f354c4
r989:958f5923ee65
Show More
VisualizationDragWidget.h
30 lines | 882 B | text/x-c | CLexer
#ifndef SCIQLOP_VISUALIZATIONDRAGWIDGET_H
#define SCIQLOP_VISUALIZATIONDRAGWIDGET_H
#include <Common/spimpl.h>
#include <QMimeData>
#include <QWidget>
class VisualizationDragWidget : public QWidget {
Q_OBJECT
public:
VisualizationDragWidget(QWidget *parent = nullptr);
virtual QMimeData *mimeData() const = 0;
virtual bool isDragAllowed() const = 0;
virtual void highlightForMerge(bool highlighted) { Q_UNUSED(highlighted); };
protected:
virtual void mousePressEvent(QMouseEvent *event) override;
virtual void mouseMoveEvent(QMouseEvent *event) override;
private:
class VisualizationDragWidgetPrivate;
spimpl::unique_impl_ptr<VisualizationDragWidgetPrivate> impl;
signals:
void dragDetected(VisualizationDragWidget *dragWidget, const QPoint &dragPosition);
};
#endif // SCIQLOP_VISUALIZATIONDRAGWIDGET_H