Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
PyQt
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Main components== [[Image:Python and Qt 2.svg|160px|thumb|Alternative PyQt logo]] PyQt4 contains the following Python modules. * The ''QtCore'' module contains the core non-GUI classes, including the event loop and Qt's signal and slot mechanism. It also includes platform independent abstractions for [[Unicode]], threads, mapped files, [[shared memory]], [[regular expressions]], and user and application settings. * The ''QtGui'' module contains the majority of the GUI classes. These include a number of table, tree and list classes based on the [[model–view–controller]] design pattern. Also provided is a sophisticated [[2D computer graphics|2D]] canvas widget capable of storing thousands of items including ordinary widgets. * The ''QtNetwork'' module contains classes for writing [[User Datagram Protocol|UDP]] and [[Transmission Control Protocol|TCP]] clients and servers. It includes classes that implement [[FTP]] and [[HTTP]] clients and support [[Domain Name System|DNS]] lookups. Network events are integrated with the event loop making it very easy to develop networked applications. * The ''QtOpenGL'' module contains classes that enable the use of [[OpenGL]] in rendering [[3D computer graphics|3D]] graphics in PyQt applications. * The ''QtSql'' module contains classes that integrate with open-source and proprietary SQL databases. It includes editable data models for database tables that can be used with GUI classes. It also includes an implementation of [[SQLite]]. * The ''QtSvg'' module contains classes for displaying the contents of SVG files. It supports the static features of SVG 1.2 Tiny. * The ''QtXml'' module implements [[Simple API for XML|SAX]] and [[Document Object Model|DOM]] interfaces to Qt's XML parser. * The ''QtMultimedia'' module implements low-level multimedia functionality. Application developers would normally use the [[Phonon (KDE)|phonon]] module. * The ''QtDesigner'' module contains classes that allow Qt Designer to be extended using PyQt. * The ''Qt'' module consolidates the classes contained in all of the modules described above into a single module. This has the advantage that you don't have to worry about which underlying module contains a particular class. It has the disadvantage that it loads the whole of the Qt framework, thereby increasing the memory footprint of an application. Whether you use this consolidated module, or the individual component modules is down to personal taste. * The ''uic'' module implements support for handling the XML files created by Qt Designer that describe the whole or part of a graphical user interface. It includes classes that load an XML file and render it directly, and classes that generate Python code from an XML file for later execution.<ref name="riverbankcomputing-2010">{{cite web|url=http://www.riverbankcomputing.co.uk/software/pyqt/intro |title=Riverbank | Software | PyQt | What is PyQt? |publisher=Riverbankcomputing.co.uk |access-date=2010-04-15}}</ref> PyQt5 contains the following Python modules: * QtQml Module * QtQuick Module * QtCore Module * QtGui Module * QtPrintSupport Module * QtWidgets Module * QGLContext Module * QGLFormat Module * QGLWidget Module * QtWebKit Module * QtWebKitWidgets Module
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)