##// END OF EJS Templates
Fixes for review
Fixes for review

File last commit:

r849:3f7ba55eb4d2
r849:3f7ba55eb4d2
Show More
VisualizationDragWidget.h
29 lines | 800 B | text/x-c | CLexer
/ gui / include / Visualization / VisualizationDragWidget.h
Fixes for review
r849 #ifndef SCIQLOP_VISUALIZATIONDRAGWIDGET_H
#define SCIQLOP_VISUALIZATIONDRAGWIDGET_H
New visualization classes for the drag&drop
r841
#include <Common/spimpl.h>
Format changes
r847 #include <QMimeData>
#include <QWidget>
New visualization classes for the drag&drop
r841
Format changes
r847 class VisualizationDragWidget : public QWidget {
New visualization classes for the drag&drop
r841 Q_OBJECT
public:
Format changes
r847 VisualizationDragWidget(QWidget *parent = nullptr);
New visualization classes for the drag&drop
r841
Format changes
r847 virtual QMimeData *mimeData() const = 0;
New visualization classes for the drag&drop
r841 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
r847 void dragDetected(VisualizationDragWidget *dragWidget, const QPoint &dragPosition);
New visualization classes for the drag&drop
r841 };
Fixes for review
r849 #endif // SCIQLOP_VISUALIZATIONDRAGWIDGET_H