##// END OF EJS Templates
Creates iterator for QCPColorMap...
Creates iterator for QCPColorMap Iterators will be used to call the method of computing the thresholds on the data of a QCPColorMap

File last commit:

r885:dd73a5040007
r1017:d684e1205d9a
Show More
DragDropScroller.h
32 lines | 795 B | text/x-c | CLexer
Moves the class DragDropScroller in its own file
r885 #ifndef SCIQLOP_DRAGDROPSCROLLER_H
#define SCIQLOP_DRAGDROPSCROLLER_H
#include <Common/spimpl.h>
#include <QScrollArea>
/**
* @brief Event filter class which manage the scroll of QScrollArea during a drag&drop operation.
* @note A QScrollArea inside an other QScrollArea is not fully supported.
*/
class DragDropScroller : public QObject {
Q_OBJECT
public:
DragDropScroller(QObject *parent = nullptr);
void addScrollArea(QScrollArea *scrollArea);
void removeScrollArea(QScrollArea *scrollArea);
protected:
bool eventFilter(QObject *obj, QEvent *event);
private:
class DragDropScrollerPrivate;
spimpl::unique_impl_ptr<DragDropScrollerPrivate> impl;
private slots:
void onTimer();
};
#endif // SCIQLOP_DRAGDROPSCROLLER_H