[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] QKeySequenceEdit widget support for pyuic
From:       Hans-Peter Jansen <hpj () urpla ! net>
Date:       2019-09-11 15:02:49
Message-ID: 1822220.BXM7RqUUog () xrated
[Download RAW message or body]

Hi Phil,

attached is a small patch, that adds support for the QKeySequenceEdit widget 
in pyuic.

It would be nice, if you consider applying it to PyQt5.

Cheers,
Pete
["add-qkeysequenceedit-to-uic.patch" (add-qkeysequenceedit-to-uic.patch)]

Index: b/pyuic/uic/Compiler/qtproxies.py
===================================================================
--- a/pyuic/uic/Compiler/qtproxies.py
+++ b/pyuic/uic/Compiler/qtproxies.py
@@ -456,6 +456,7 @@ class QtWidgets(ProxyNamespace):
 
     class QPushButton(QAbstractButton): pass
     class QCommandLinkButton(QPushButton): pass
+    class QKeySequenceEdit(QWidget): pass
 
     # Add all remaining classes.
     for _class in _qwidgets:

[Attachment #4 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic