Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
time_shift_dialog.h
Go to the documentation of this file.
1
10#ifndef TIME_SHIFT_DIALOG_H
11#define TIME_SHIFT_DIALOG_H
12
13#include <config.h>
14
15#include "cfile.h"
16
18
19#include <QDialog>
20#include <QPushButton>
21
22namespace Ui {
23class TimeShiftDialog;
24}
25
26class TimeShiftDialog : public QDialog
27{
28 Q_OBJECT
29
30public:
31 explicit TimeShiftDialog(QWidget *parent = 0, capture_file *cf = NULL);
33
34public slots:
35 void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
36
37signals:
38 void timeShifted();
39
40private:
41 Ui::TimeShiftDialog *ts_ui_;
42 capture_file *cap_file_;
43 QPushButton *apply_button_;
44 QString syntax_err_;
45
46 void enableWidgets();
47 void checkFrameNumber(SyntaxLineEdit &frame_le);
48 void checkDateTime(SyntaxLineEdit &time_le);
49
50private slots:
51 void on_shiftAllButton_toggled(bool checked);
52 void on_setOneButton_toggled(bool checked);
53 void on_unshiftAllButton_toggled(bool checked);
54 void on_setTwoCheckBox_toggled(bool checked);
55 void on_shiftAllTimeLineEdit_textChanged(const QString &sa_text);
56 void on_setOneTimeLineEdit_textChanged(const QString &so_text);
57 void on_setOneFrameLineEdit_textChanged(const QString &frame_text);
58 void on_setTwoFrameLineEdit_textChanged(const QString &frame_text);
59 void on_setTwoTimeLineEdit_textChanged(const QString &st_text);
60 void applyTimeShift();
61 void on_buttonBox_helpRequested();
62};
63
64#endif // TIME_SHIFT_DIALOG_H
Definition syntax_line_edit.h:23
Definition time_shift_dialog.h:27
Definition cfile.h:67