##// END OF EJS Templates
Handles rendering of plottables (1)...
Handles rendering of plottables (1) As for the axes properties, we create a helper used to set rendering properties of the plottables depending on the type of the data series used to create these plottables. Rendering properties will be, for example: - the color of each component for a scalar or a vector - the color scale management for a spectrogram

File last commit:

r891:dd73a5040007
r918:8264fa4b2aa2
Show More
DragDropScroller.h
32 lines | 795 B | text/x-c | CLexer
#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