mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-16 15:45:49 +01:00
11 lines
307 B
Python
11 lines
307 B
Python
from typing import Optional
|
|
|
|
from PyQt6.QtWidgets import QPlainTextEdit, QWidget
|
|
|
|
|
|
class TextDisplayBox(QPlainTextEdit):
|
|
"""TextDisplayBox is a read-only textbox"""
|
|
|
|
def __init__(self, parent: Optional[QWidget], *args) -> None:
|
|
super().__init__(parent, *args)
|
|
self.setReadOnly(True)
|