##// END OF EJS Templates
More GUI tests refactoring, this will allow more complex tests and ease sync graph tests...
More GUI tests refactoring, this will allow more complex tests and ease sync graph tests Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1347:17e0dafec10c
r1370:c3077e0c31af
Show More
TimeWidget.h
47 lines | 1.0 KiB | text/x-c | CLexer
Add the TimeWidget
r134 #ifndef SCIQLOP_TIMEWIDGET_H
#define SCIQLOP_TIMEWIDGET_H
#include <QWidget>
Made core module a git submodule, ready to start switching to new...
r1347 #include <Data/DateTimeRange.h>
add TimeWidget connection
r192
Drag of the time widget on a graph
r879 #include <Common/spimpl.h>
Add the TimeWidget
r134 namespace Ui {
class TimeWidget;
} // Ui
class TimeWidget : public QWidget {
Q_OBJECT
public:
explicit TimeWidget(QWidget *parent = 0);
virtual ~TimeWidget();
Renamed SqpRange to DateTimeRange, introduced VariableController2 to...
r1346 void setTimeRange(DateTimeRange time);
DateTimeRange timeRange() const;
Drop of variable, graph and zones on the time widget
r878
add TimeWidget connection
r192 signals:
/// Signal emitted when the time parameters has beed updated
Renamed SqpRange to DateTimeRange, introduced VariableController2 to...
r1346 void timeUpdated(DateTimeRange time);
add TimeWidget connection
r192
public slots:
/// slot called when time parameters update has ben requested
void onTimeUpdateRequested();
Drop of variable, graph and zones on the time widget
r878 protected:
void dragEnterEvent(QDragEnterEvent *event) override;
void dragLeaveEvent(QDragLeaveEvent *event) override;
void dropEvent(QDropEvent *event) override;
Drag of the time widget on a graph
r879 void mousePressEvent(QMouseEvent *event) override;
void mouseMoveEvent(QMouseEvent *event) override;
add TimeWidget connection
r192
Add the TimeWidget
r134 private:
Ui::TimeWidget *ui;
Drag of the time widget on a graph
r879
class TimeWidgetPrivate;
spimpl::unique_impl_ptr<TimeWidgetPrivate> impl;
Add the TimeWidget
r134 };
#endif // SCIQLOP_ SQPSIDEPANE_H