##// END OF EJS Templates
Drop of product in variables
Drop of product in variables

File last commit:

r846:3f7ba55eb4d2
r870:e6294435151a
Show More
VisualizationDragWidget.h
29 lines | 800 B | text/x-c | CLexer
/ gui / include / Visualization / VisualizationDragWidget.h
Fixes for review
r846 #ifndef SCIQLOP_VISUALIZATIONDRAGWIDGET_H
#define SCIQLOP_VISUALIZATIONDRAGWIDGET_H
New visualization classes for the drag&drop
r838
#include <Common/spimpl.h>
Format changes
r844 #include <QMimeData>
#include <QWidget>
New visualization classes for the drag&drop
r838
Format changes
r844 class VisualizationDragWidget : public QWidget {
New visualization classes for the drag&drop
r838 Q_OBJECT
public:
Format changes
r844 VisualizationDragWidget(QWidget *parent = nullptr);
New visualization classes for the drag&drop
r838
Format changes
r844 virtual QMimeData *mimeData() const = 0;
New visualization classes for the drag&drop
r838 virtual bool isDragAllowed() const = 0;
protected:
virtual void mousePressEvent(QMouseEvent *event) override;
virtual void mouseMoveEvent(QMouseEvent *event) override;
private:
class VisualizationDragWidgetPrivate;
spimpl::unique_impl_ptr<VisualizationDragWidgetPrivate> impl;
signals:
Format changes
r844 void dragDetected(VisualizationDragWidget *dragWidget, const QPoint &dragPosition);
New visualization classes for the drag&drop
r838 };
Fixes for review
r846 #endif // SCIQLOP_VISUALIZATIONDRAGWIDGET_H