##// END OF EJS Templates
Spectrogram segfault should be fixed now, added ability to provide Spectrogram min sampling time to avoid computation when possible...
Spectrogram segfault should be fixed now, added ability to provide Spectrogram min sampling time to avoid computation when possible Spectrogram visu is still broken... Signed-off-by: Alexis Jeandet <alexis.jeandet@member.fsf.org>

File last commit:

r1462:66c20669d3a7
r1467:da44adcd99e4
Show More
TimeWidget.h
64 lines | 1.3 KiB | text/x-c | CLexer
Add the TimeWidget
r134 #ifndef SCIQLOP_TIMEWIDGET_H
#define SCIQLOP_TIMEWIDGET_H
#include <QWidget>
Refactored main toolbar to make it suck less :)...
r1462 #include <QWidgetAction>
Add the TimeWidget
r134
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>
Refactored main toolbar to make it suck less :)...
r1462 namespace Ui
{
Add the TimeWidget
r134 class TimeWidget;
} // Ui
Refactored main toolbar to make it suck less :)...
r1462
class TimeWidget : public QWidget
{
Add the TimeWidget
r134 Q_OBJECT
public:
Refactored main toolbar to make it suck less :)...
r1462 explicit TimeWidget(QWidget* parent = 0);
Add the TimeWidget
r134 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:
Refactored main toolbar to make it suck less :)...
r1462 void dragEnterEvent(QDragEnterEvent* event) override;
void dragLeaveEvent(QDragLeaveEvent* event) override;
void dropEvent(QDropEvent* event) override;
Drop of variable, graph and zones on the time widget
r878
Refactored main toolbar to make it suck less :)...
r1462 void mousePressEvent(QMouseEvent* event) override;
void mouseMoveEvent(QMouseEvent* event) override;
add TimeWidget connection
r192
Add the TimeWidget
r134 private:
Refactored main toolbar to make it suck less :)...
r1462 Ui::TimeWidget* ui;
Drag of the time widget on a graph
r879
class TimeWidgetPrivate;
spimpl::unique_impl_ptr<TimeWidgetPrivate> impl;
Add the TimeWidget
r134 };
Refactored main toolbar to make it suck less :)...
r1462 class TimeWidgetAction : public QWidgetAction
{
Q_OBJECT
TimeWidget* timeWidget;
public:
explicit TimeWidgetAction(QWidget* parent = 0) : QWidgetAction(parent)
{
timeWidget = new TimeWidget();
this->setDefaultWidget(timeWidget);
}
};
Add the TimeWidget
r134 #endif // SCIQLOP_ SQPSIDEPANE_H