This repository has been archived on 2022-12-22. You can view files and clone it, but cannot push or open issues/pull-requests.
|
from PySide6 import QtCore, QtWidgets
|
|
|
|
class Window(QtWidgets.QWidget):
|
|
def __init__(self):
|
|
super().__init__()
|
|
self.text = QtWidgets.QLabel("Hello World", alignment=QtCore.Qt.AlignCenter)
|
|
self.layout = QtWidgets.QVBoxLayout(self)
|
|
self.layout.addWidget(self.text)
|