|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Dialog for viewing or editing a packet comment. More...
#include <packet_comment_dialog.h>
Public Member Functions | |
| PacketCommentDialog (bool isEdit, QWidget *parent=0, QString comment=QString()) | |
| Constructs a new PacketCommentDialog object. | |
| ~PacketCommentDialog () | |
| Destroys the PacketCommentDialog object. | |
| QString | text () |
| Retrieves the text of the packet comment. | |
Public Member Functions inherited from GeometryStateDialog | |
| GeometryStateDialog (QWidget *parent, Qt::WindowFlags f=Qt::Window) | |
| Constructs a new GeometryStateDialog with the specified parent and window flags. | |
| ~GeometryStateDialog () | |
| Save the geometry and splitter state and then destroy the GeometryStateDialog. | |
| void | setWindowModality (Qt::WindowModality windowModality) |
| Sets the window modality for the dialog. On non-macOS platforms, this also sets the parent to ensure modal dialogs are always on top of their parent. | |
Additional Inherited Members | |
Protected Member Functions inherited from GeometryStateDialog | |
| 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. | |
Dialog for viewing or editing a packet comment.
|
explicit |
Constructs a new PacketCommentDialog object.
| isEdit | True if the dialog is used to edit an existing comment, false otherwise. |
| parent | The parent widget. |
| comment | The initial comment text. |
| QString PacketCommentDialog::text | ( | ) |
Retrieves the text of the packet comment.