mirror of
https://github.com/pythonguis/pythonguis-examples.git
synced 2025-01-27 17:02:56 +08:00
19 lines
319 B
Python
19 lines
319 B
Python
|
import sys
|
||
|
|
||
|
from password import PasswordEdit
|
||
|
from PyQt6.QtWidgets import QApplication, QMainWindow
|
||
|
|
||
|
|
||
|
class Window(QMainWindow):
|
||
|
def __init__(self):
|
||
|
super().__init__()
|
||
|
|
||
|
password = PasswordEdit()
|
||
|
self.setCentralWidget(password)
|
||
|
|
||
|
|
||
|
app = QApplication(sys.argv)
|
||
|
w = Window()
|
||
|
w.show()
|
||
|
app.exec()
|