Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028 #ifndef TIMERANGEPARAMETERWIDGET_H
00029 #define TIMERANGEPARAMETERWIDGET_H
00030
00031 #include <GeopsyCore.h>
00032
00033 #include "ui_TimeRangeParameterWidget.h"
00034 #include "GeopsyGuiDLLExport.h"
00035
00036 namespace GeopsyGui {
00037
00038 class GEOPSYGUI_EXPORT TimeRangeParameterWidget : public QWidget, private Ui::TimeRangeParameterWidget
00039 {
00040 Q_OBJECT;
00041 public:
00042 TimeRangeParameterWidget(QWidget* parent=0, Qt::WFlags fl=0);
00043
00044 void removeUseFirstOnly();
00045 void setPicks(SubSignalPool * subPool);
00046
00047 void getParameters(TimeRangeParameters & param) const;
00048 void setParameters(const TimeRangeParameters & param);
00049 public slots:
00050 void updateAllFields();
00051 void on_fromType_activated(int);
00052 void on_toType_activated(int);
00053 void setPicks(Signal * sig);
00054 signals:
00055 void parametersChanged();
00056 private:
00057 TimeRange _totalRange;
00058 Signal * _firstSignal;
00059 QStringList _pickNames;
00060 };
00061
00062 }
00063
00064 #endif // TIMERANGEPARAMETERWIDGET_H