Advance Wayland and KDE package bring-up

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
2026-04-14 10:51:06 +01:00
parent 51f3c21121
commit cf12defd28
15214 changed files with 20594243 additions and 269 deletions
@@ -0,0 +1,36 @@
# SPDX-FileCopyrightText: 2024 Manuel Alcaraz Zambrano <manuelalcarazzam@gmail.com>
# SPDX-License-Identifier: BSD-2-Clause
import sys
from KWidgetsAddons import KPasswordDialog
from PySide6 import QtWidgets
class KPasswordDialogDemo(QtWidgets.QWidget):
def __init__(self):
super().__init__()
self.text = QtWidgets.QLabel("KPasswordDialog example")
self.button = QtWidgets.QPushButton("Change password")
self.button.clicked.connect(self.open_dialog)
self.layout = QtWidgets.QVBoxLayout(self)
self.layout.addWidget(self.text)
self.layout.addWidget(self.button)
def open_dialog(self):
self.dialog = KPasswordDialog(self)
self.dialog.setPrompt("Enter a password")
self.dialog.gotPassword.connect(lambda password: self.text.setText(f"Your password is: {password}"))
self.dialog.show()
if __name__ == "__main__":
app = QtWidgets.QApplication([])
widget = KPasswordDialogDemo()
widget.show()
sys.exit(app.exec())