text_edit
text edit
AYTextEdit
Bases: StyleMixin, QTextEdit
AYON styled text edit widget.
Overrides Qt's stylesheet painting with AYONStyle custom rendering.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
*args | Positional arguments passed to QTextEdit. | () | |
**kwargs | Keyword arguments passed to QTextEdit. | {} |
Source code in client/ayon_ui_qt/components/text_edit.py
13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | |
__init__(*args, variant=Variants.Default, **kwargs)
Initialize AYTextEdit widget.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
*args | Positional arguments passed to QTextEdit. | () | |
variant | Variants | Text edit variant. | Default |
**kwargs | Keyword arguments passed to QTextEdit. | {} |
Source code in client/ayon_ui_qt/components/text_edit.py
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | |