3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #ifndef IO_CONSOLE_DIALOG_H
11 #define IO_CONSOLE_DIALOG_H
13 #include <wireshark.h>
17 #include <QKeySequence>
18 #include <QPushButton>
19 #include <QSizePolicy>
21 #include "geometry_state_dialog.h"
22 #include <epan/funnel.h>
25 class IOConsoleDialog
;
28 class IOConsoleDialog
: public GeometryStateDialog
33 explicit IOConsoleDialog(QWidget
&parent
,
35 funnel_console_eval_cb_t eval_cb
,
36 funnel_console_open_cb_t open_cb
,
37 funnel_console_close_cb_t close_cb
,
40 void appendOutputText(const QString
&text
);
41 void setHintText(const QString
&text
);
46 void on_clearActivated(void);
47 void clearSuccessHint(void);
50 Ui::IOConsoleDialog
*ui
;
51 funnel_console_eval_cb_t eval_cb_
;
52 funnel_console_open_cb_t open_cb_
;
53 funnel_console_close_cb_t close_cb_
;
57 #endif // IO_CONSOLE_DIALOG_H