A custom line edit for interface toolbars, featuring regex validation and an integrated apply button.
More...
#include <interface_toolbar_lineedit.h>
|
|
void | editedTextApplied () |
| | Signal emitted when the edited text is valid and successfully applied.
|
| |
|
| | InterfaceToolbarLineEdit (QWidget *parent=0, QString validation_regex=QString(), bool is_required=false) |
| | Constructs a new InterfaceToolbarLineEdit.
|
| |
|
void | disableApplyButton () |
| | Disables the embedded apply button, preventing the user from triggering an apply action.
|
| |
|
|
void | resizeEvent (QResizeEvent *) |
| | Handles resize events to adjust the position and size of the embedded apply button.
|
| |
A custom line edit for interface toolbars, featuring regex validation and an integrated apply button.
◆ InterfaceToolbarLineEdit()
| InterfaceToolbarLineEdit::InterfaceToolbarLineEdit |
( |
QWidget * |
parent = 0, |
|
|
QString |
validation_regex = QString(), |
|
|
bool |
is_required = false |
|
) |
| |
|
explicit |
Constructs a new InterfaceToolbarLineEdit.
- Parameters
-
| parent | The parent widget, defaults to 0. |
| validation_regex | The regular expression used to validate the input text (defaults to an empty string). |
| is_required | True if the input cannot be left empty to be considered valid (defaults to false). |
The documentation for this class was generated from the following files:
- /builds/wireshark/wireshark/ui/qt/widgets/interface_toolbar_lineedit.h
- /builds/wireshark/wireshark/ui/qt/widgets/interface_toolbar_lineedit.cpp