eric7.EricWidgets.EricErrorMessageFilterInputDialog
Module implementing a specialized QInputDialog that shows more input text.
Global Attributes
Classes
Functions
| getFilter |
Function to get an error message filter string. |
getFilter
getFilter(parent, title, label, text, minWidth=0)
Function to get an error message filter string.
- parent (QWidget)
-
reference to the parent widget
- title (str)
-
title of the input dialog
- label (str)
-
label text to be shown above the input widget
- text (str)
-
initial text to be placed in the line edit widget
- minWidth (int (optional))
-
minimum width of the dialog (defaults to 0)
- Return:
-
tuple containing the entered text and a flag indicating success
- Return Type:
-
tuple[bool, str]