10 #ifndef TCP_STREAM_DIALOG_H 11 #define TCP_STREAM_DIALOG_H 19 #include <epan/dissectors/packet-tcp.h> 21 #include "ui/tap-tcp-stream.h" 23 #include "geometry_state_dialog.h" 27 #include <QRubberBand> 43 void goToPacket(
int packet_num);
50 void showEvent(QShowEvent *event);
51 void keyPressEvent(QKeyEvent *event);
52 void mousePressEvent(QMouseEvent *event);
53 void mouseReleaseEvent(QMouseEvent *event);
58 QMap<double, struct segment *> time_stamp_map_;
61 QMap<double, struct segment *> sequence_num_map_;
63 bool seq_origin_zero_;
80 QTransform y_axis_xfrm_;
82 QRubberBand *rubber_band_;
90 graph_update_timer_(NULL),
92 void triggerUpdate(
int timeout,
bool reset_axes =
false);
93 void clearPendingUpdate();
95 bool hasPendingUpdate() {
return graph_update_timer_ != NULL; }
98 QTimer *graph_update_timer_;
101 friend class GraphUpdater;
102 GraphUpdater graph_updater_;
106 int num_sack_ranges_;
108 double ma_window_size_;
111 void fillGraph(
bool reset_axes =
true,
bool set_focus =
true);
112 void showWidgetsForGraphType();
113 void zoomAxes(
bool in);
114 void zoomXAxis(
bool in);
115 void zoomYAxis(
bool in);
116 void panAxes(
int x_pixels,
int y_pixels);
120 void fillThroughput();
121 void fillRoundTripTime();
122 void fillWindowScale();
123 QString streamDescription();
124 bool compareHeaders(
struct segment *seg);
125 void toggleTracerStyle(
bool force_default =
false);
126 QRectF getZoomRanges(QRect zoom_rect);
129 void graphClicked(QMouseEvent *event);
131 void mouseMoved(QMouseEvent *event);
132 void mouseReleased(QMouseEvent *event);
133 void transformYRange(
const QCPRange &y_range1);
134 void on_buttonBox_accepted();
135 void on_graphTypeComboBox_currentIndexChanged(
int index);
136 void on_resetButton_clicked();
137 void on_streamNumberSpinBox_valueChanged(
int new_stream);
138 void on_streamNumberSpinBox_editingFinished();
139 void on_maWindowSizeSpinBox_valueChanged(
double new_ma_size);
140 void on_maWindowSizeSpinBox_editingFinished();
141 void on_selectSACKsCheckBox_stateChanged(
int state);
142 void on_otherDirectionButton_clicked();
143 void on_dragRadioButton_toggled(
bool checked);
144 void on_zoomRadioButton_toggled(
bool checked);
145 void on_bySeqNumberCheckBox_stateChanged(
int state);
146 void on_showSegLengthCheckBox_stateChanged(
int state);
147 void on_showThroughputCheckBox_stateChanged(
int state);
148 void on_showGoodputCheckBox_stateChanged(
int state);
149 void on_showRcvWinCheckBox_stateChanged(
int state);
150 void on_showBytesOutCheckBox_stateChanged(
int state);
151 void on_actionZoomIn_triggered();
152 void on_actionZoomInX_triggered();
153 void on_actionZoomInY_triggered();
154 void on_actionZoomOut_triggered();
155 void on_actionZoomOutX_triggered();
156 void on_actionZoomOutY_triggered();
157 void on_actionReset_triggered();
158 void on_actionMoveRight10_triggered();
159 void on_actionMoveLeft10_triggered();
160 void on_actionMoveUp10_triggered();
161 void on_actionMoveDown10_triggered();
162 void on_actionMoveRight1_triggered();
163 void on_actionMoveLeft1_triggered();
164 void on_actionMoveUp1_triggered();
165 void on_actionMoveDown1_triggered();
166 void on_actionNextStream_triggered();
167 void on_actionPreviousStream_triggered();
168 void on_actionSwitchDirection_triggered();
169 void on_actionGoToPacket_triggered();
170 void on_actionDragZoom_triggered();
171 void on_actionToggleSequenceNumbers_triggered();
172 void on_actionToggleTimeOrigin_triggered();
173 void on_actionRoundTripTime_triggered();
174 void on_actionThroughput_triggered();
175 void on_actionStevens_triggered();
176 void on_actionTcptrace_triggered();
177 void on_actionWindowScaling_triggered();
178 void on_buttonBox_helpRequested();
181 #endif // TCP_STREAM_DIALOG_H Definition: ui_tcp_stream_dialog.h:562
Definition: geometry_state_dialog.h:15
Definition: ui_about_dialog.h:291
Definition: tap-tcp-stream.h:54
A plottable representing a graph in a plot.
Definition: qcustomplot.h:2492
Item that sticks to QCPGraph data points.
Definition: qcustomplot.h:3635
Manages a single axis inside a QCustomPlot.
Definition: qcustomplot.h:982
Definition: tap-tcp-stream.h:29
A layout element displaying a plot title text.
Definition: qcustomplot.h:2295
SelectablePart
Definition: qcustomplot.h:1082
Represents the range an axis is encompassing.
Definition: qcustomplot.h:478
Definition: tcp_stream_dialog.h:34