Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2014-06-04 21:19:49
Size: 10459
Editor: DavidBoddie
Comment: Added a namespace prefix to the most relevant links.
Revision 5 as of 2014-11-16 23:50:53
Size: 10713
Editor: bugreporter
Comment: Adding link to PyQt5 example: QML callback functions.
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

<<TableOfContents()>>
Line 6: Line 8:
''Note: PyQt 3 examples have not been transferred from the old !PyQt Wiki.''
Line 20: Line 23:
Line 23: Line 25:
 * [[PyQt/Using GStreamer with PyQt|Using GStreamer with PyQt]]: How to use the GStreamer bindings for Python with !PyQt (see [[Multimedia_Resources]] for more multimedia links).  * [[PyQt/Using GStreamer with PyQt|Using GStreamer with PyQt]]: How to use the GStreamer bindings for Python with !PyQt (see [[PyQt/Multimedia_Resources|Multimedia Resources]] for more multimedia links).
Line 25: Line 27:
== Infrastructure ==
=== Infrastructure ===
Line 40: Line 41:
== Painting ==
=== Painting ===
Line 55: Line 55:
== Widgets ==
=== Widgets ===
Line 73: Line 72:
== Item Views ==
=== Item Views ===
Line 86: Line 84:
== WebKit ==
=== WebKit ===
Line 93: Line 90:
== Multimedia ==
=== Multimedia ===
Line 97: Line 93:
== Drag and Drop ==
=== Drag and Drop ===
Line 101: Line 96:
== Databases ==
=== Databases ===
Line 105: Line 99:
== Qt Designer and uic == === Qt Designer and uic ===
 * [[PyQt/Previewing a form|Previewing a form]]: How to load and display a form created in Qt Designer.
Line 107: Line 102:
 * [[PyQt/Previewing a form|Previewing a form]]: How to load and display a form created in Qt Designer. == PyQt 5 ==
 * [[PyQt/QML callback function|QML callback function]]: How to pass and execute callback functions with QML.

This page contains links to some useful code snippets. Longer, more detailed code examples can be found via the Overviews_and_Guides page.

Put any code snippet for PyKDE and PyQt that you find useful here. If the code is longer than one screen at normal point size, it might be better if you provide a rationale and a link, or just put it on a separate page.

PyQt 3

Note: PyQt 3 examples have not been transferred from the old PyQt Wiki.

PyQt 4

Infrastructure

Painting

Widgets

Item Views

WebKit

Multimedia

Drag and Drop

Databases

  • Removing a database: How to remove a database and optionally reload it again without getting warnings from Qt.

Qt Designer and uic

PyQt 5

PyQt/SampleCode (last edited 2019-08-06 22:59:05 by DavidBoddie)

Unable to edit the page? See the FrontPage for instructions.