##// END OF EJS Templates
Drop of variable, graph and zones on the time widget
Drop of variable, graph and zones on the time widget

File last commit:

r884:e439cb403ff9
r884:e439cb403ff9
Show More
TimeWidget.h
39 lines | 794 B | text/x-c | CLexer
#ifndef SCIQLOP_TIMEWIDGET_H
#define SCIQLOP_TIMEWIDGET_H
#include <QWidget>
#include <Data/SqpRange.h>
namespace Ui {
class TimeWidget;
} // Ui
class TimeWidget : public QWidget {
Q_OBJECT
public:
explicit TimeWidget(QWidget *parent = 0);
virtual ~TimeWidget();
void setTimeRange(SqpRange time);
signals:
/// Signal emitted when the time parameters has beed updated
void timeUpdated(SqpRange time);
public slots:
/// slot called when time parameters update has ben requested
void onTimeUpdateRequested();
protected:
void dragEnterEvent(QDragEnterEvent *event) override;
void dragLeaveEvent(QDragLeaveEvent *event) override;
void dropEvent(QDropEvent *event) override;
private:
Ui::TimeWidget *ui;
};
#endif // SCIQLOP_ SQPSIDEPANE_H