A generic interactive console dialog used primarily by funnel plugins (e.g., Lua).
More...
#include <io_console_dialog.h>
|
| void | loadGeometry (int width=0, int height=0, const QString &dialog_name=QString()) |
| | Loads the geometry and splitter state for the dialog.
|
| |
| void | loadSplitterState (QSplitter *splitter=nullptr) |
| | Loads the state of a splitter for the dialog.
|
| |
A generic interactive console dialog used primarily by funnel plugins (e.g., Lua).
◆ IOConsoleDialog()
Constructs a new IOConsoleDialog.
- Parameters
-
| parent | The parent widget. |
| title | The title of the console window. |
| eval_cb | The callback function used to evaluate text input from the user. |
| open_cb | The callback function executed when the console is successfully opened. |
| close_cb | The callback function executed when the console is closed. |
| callback_data | User data passed to the callback functions. |
◆ appendOutputText()
| void IOConsoleDialog::appendOutputText |
( |
const QString & |
text | ) |
|
Appends text to the console's output area.
- Parameters
-
| text | The text string to append. |
◆ setHintText()
| void IOConsoleDialog::setHintText |
( |
const QString & |
text | ) |
|
Sets the hint text displayed near the input area.
- Parameters
-
| text | The hint text string. |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/io_console_dialog.h
- /builds/wireshark/wireshark/ui/qt/io_console_dialog.cpp