Examples¶
A collection of examples are provided with Qt for Python to help new users to understand different use cases of the module.
You can find all these examples inside the pyside-setup repository on the examples directory.
Qml (Essentials)¶
Extending QML - Adding Types Example
Extending QML (advanced) - BirthdayParty Base Project
Extending QML (advanced) - Inheritance and Coercion
Extending QML (advanced) - Default Properties
Extending QML (advanced) - Grouped Properties
Extending QML (advanced) - Attached Properties
Extending QML (advanced) - Property Value Source
Extending QML - Binding Example
Extending QML - Creating a New Type
Extending QML - Connecting to C++ Methods and Signals
Extending QML - Adding Property Bindings
Extending QML - Using Custom Property Types
Extending QML - Using List Property Types
Extending QML - Plugins Example
QAbstractListModel in QML
Extending QML - Extension Objects Example
Extending QML - Methods Example
Extending QML - Object and List Property Types Example
found in the qml/signals
directory.
found in the qml/signals
directory.
found in the qml/signals
directory.
found in the qml/signals
directory.
found in the qml/signals
directory.
found in the qml/signals
directory.
Text Properties Example
Using Model Example
Quick (Essentials)¶
Object List Model Example
OpenGL under QML Squircle
Scene Graph Painted Item Example
QQuickRenderControl OpenGL Example
Scene Graph - Custom Geometry
String List Model Example
Qt Quick Examples - Window and Screen
Quickcontrols (Essentials)¶
Qt Quick Controls 2 - Gallery
Qt Quick Controls - Contact List
Qt Quick Controls - Filesystem Explorer
Widgets (Essentials)¶
Widgets Gallery Example
Address Book Example
Address Book Example
found in the widgets/graphicsview
directory.
Animated Tiles Example
Application Chooser Example
found in the widgets/mainwindows
directory.
Basic Drawing Example
found in the widgets/itemviews
directory.
Basic Layouts Example
Blur Picker Effect Example
Border Layout Example
Cannon Example
Character Map Example
Classwizard Example
found in the widgets/graphicsview
directory.
Concentric Circles Examples
found in the widgets/graphicsview
directory.
Digital Clock Example
Dir View Example
Dock Widget Example
found in the widgets/graphicsview
directory.
found in the widgets/draganddrop
directory.
Drop Site Example
Dynamic Layouts Example
Easing Example
Editable Tree Model Example
found in the widgets/graphicsview
directory.
found in the widgets/dialogs
directory.
found in the widgets/itemviews
directory.
Flow Layout Example
GNU gettext Example
found in the widgets
directory.
JSON Model Example
License Wizard Example
found in the widgets/effects
directory.
Qt Linguist Example
found in the widgets/mainwindows
directory.
Model View Tutorial Examples
found in the widgets/richtext
directory.
Painter Example
Plot Example
QRegularExpression Example
Screenshot Example
Simple RHI Widget Example
SpinBox Delegate Example
found in the widgets/dialogs
directory.
Star Delegate Example
States Example
Syntax Highlighter Example
found in the widgets/desktop
directory.
Tab Dialog Example
Tetrix
TextEdit Example
TextObject Example
found in the widgets
directory.
found in the widgets/dialogs
directory.
Designer (Essentials)¶
Task Menu Extension Example
Uitools (Essentials)¶
found in the uitools
directory.
Corelib (Essentials)¶
MIME Type Browser Example
Settings Editor Example
found in the corelib/ipc
directory.
Mandelbrot Threads Example
Async (Essentials)¶
Async “Eratosthenes” Example
Async “Minimal” Example
Network (Essentials)¶
found in the network
directory.
Downloader Example
found in the network
directory.
found in the network
directory.
Google Suggest Example
Loopback Example
found in the network
directory.
Sql (Essentials)¶
SQL Books Example
Dbus (Essentials)¶
found in the dbus
directory.
found in the dbus
directory.
Xml (Essentials)¶
DOM Bookmarks Example
Gui (Essentials)¶
Analog Clock Window Example
RHI Window Example
Opengl (Essentials)¶
Context Info Example
Hello GL2 Example
Texture Example
Threaded QOpenGLWidget Example
Samplebinding (Essentials)¶
Sample Bindings Example
Scriptableapplication (Essentials)¶
Scriptable Application Example
Widgetbinding (Essentials)¶
WigglyWidget Example
Qt Demos (Add-ons)¶
Media Player Example
Demos (Add-ons)¶
RESTful API client
Document Viewer Example
Httpserver (Add-ons)¶
Simple HTTP Server Example
Graphs (Add-ons)¶
Widget Graph Gallery
HelloGraphs Example
Minimal Surface Example
Datavisualization (Add-ons)¶
Graph Gallery
Surface Graph Gallery
Bars 3D Example
Surface Example
Surface Example
Surface Example
Charts (Add-ons)¶
Area Chart Example
Audio Example
Bar Chart Example
Callout Example
Chart Themes Example
Donut Chart Breakdown Example
Dynamic Spline Example
Legend Example
Line and Bar Chart Example
Line Chart Example
Logarithmic Axis Example
Memory Usag Example
Model Data Example
Nested Donuts Example
Percent Bar Chart Example
Pie Chart Example
Selected Point Configuration Example
Light Markers and Points Selection Example
QML Polar Chart Example
Temperature Records Example
Multimedia (Add-ons)¶
Audio Output Example
Audio Source Example
Camera Example
Player Example
Screen Capture Example
Webenginequick (Add-ons)¶
Nano Browser Example
Webenginewidgets (Add-ons)¶
found in the webenginewidgets
directory.
WebEngine Notifications Example
Simple Browser
Qt Widgets Nano Browser Example
Axcontainer (Add-ons)¶
Ax Viewer Example
Bluetooth (Add-ons)¶
Bluetooth Scanner Example
Bluetooth Low Energy Heart Rate Game
Bluetooth Low Energy Heart Rate Server
Bluetooth Low Energy Scanner Example
External (Add-ons)¶
Networkx viewer Example
OpenCV Face Detection Example
Pandas Simple Example
Scikit Image Example
Matplotlib Widget 3D Example
Matplotlib Widget Gaussian Example
Location (Add-ons)¶
Map Viewer Example
Networkauth (Add-ons)¶
Reddit Example
Pdf (Add-ons)¶
PDF Viewer Example
Pdfwidgets (Add-ons)¶
PDF Viewer Example
Quick3D (Add-ons)¶
Custom Geometry Example
Introduction Example Qt Quick 3D
Procedural Texture Example
Remoteobjects (Add-ons)¶
found in the remoteobjects
directory.
Spatialaudio (Add-ons)¶
Spatial Audio Panning Example
Speech (Add-ons)¶
Hello Speak
3D (Add-ons)¶
Simple Qt 3D Example
Serialbus (Add-ons)¶
CAN Bus example
Modbus Client example
Serialport (Add-ons)¶
Terminal Example
Statemachine (Add-ons)¶
Move Blocks Example
found in the statemachine
directory.
found in the statemachine
directory.
Traffic Light Example
Webchannel (Add-ons)¶
WebChannel Standalone Example
Coap (M2M)¶
Simple CoAP Client Example
Mqtt (M2M)¶
Simple MQTT Client Example
Opcua (M2M)¶
Qt OPC UA Viewer Example
Webview¶
Minibrowser Example