mirror of
https://github.com/barkeser2002/CoomerDL.git
synced 2026-09-25 14:16:12 +03:00
14 lines
382 B
Python
14 lines
382 B
Python
from PySide6.QtWidgets import QWidget, QVBoxLayout, QTextEdit
|
|
|
|
|
|
class LogPanel(QWidget):
|
|
def __init__(self, parent=None):
|
|
super().__init__(parent)
|
|
|
|
root = QVBoxLayout(self)
|
|
root.setContentsMargins(0, 0, 0, 0)
|
|
root.setSpacing(10)
|
|
|
|
self.log_text = QTextEdit()
|
|
self.log_text.setReadOnly(True)
|
|
root.addWidget(self.log_text, 1) |