Wie implementieren Sie eine einfache Schaltfläche in PyQt
Will ich implementieren Sie eine einfache Schaltfläche in PyQt, die druckt "Hallo Welt", wenn auf Sie geklickt wird. Wie kann ich das tun?
Ich bin ein echter newbie in PyQt.
Versuchen Sie, Lesen Sie einige tutorials
InformationsquelleAutor Abid Rahman K | 2012-01-06
Du musst angemeldet sein, um einen Kommentar abzugeben.
Wenn Sie neu zu PyQt4, es gibt einige nützliche tutorials auf der PyQt Wiki, um Ihnen den Einstieg.
Aber in der Zwischenzeit, hier ist Ihr "Hello World" - Beispiel:
Wenn ich das bekomme ich:
Failed to load platform plugin "xcb". Available platforms are "linuxfb" and "minimal". Do you know why? I am running from with the latest stable Python, IPython, Qt5 and snapshot from PyQt4
Klingt wie Sie Ihre installation defekt ist. Auf welcher Plattform sind Sie, und wie hast du die Komponenten installiert?
InformationsquelleAutor ekhumoro