PyQt5 function module introduction
1. PyQt5 module
PyQt5 is composed of a series of Python modules with more than 620 classes and 6000 functions and methods. The main modules are as follows:
- QtCore contains core non-GUI functions. Mainly related to time, file, document
- Folders, various data, streams, URLs, mime files, processes, and threads are used together.
- QtGui includes window system, event processing, 2D image, basic drawing, font and text. The QtWidgets class contains a series of UI elements for creating desktop applications.
- QtMultimedia contains classes that handle multimedia and call camera APIs.
- The QtBluetooth module contains classes for finding and connecting to Bluetooth.
- QtNetwork contains classes for network programming, making TCP / IP and UDP development more convenient and reliable.
- QtPositioning contains positioning classes, which can use satellite, WiFi and even text.
- Engine contains classes to enter and manage Qt Cloud through the client.
- QtWebSockets contains classes of WebSocket protocol.
- QtWebKit includes a web browser based on WebKit2.
- QtWebKitWidgets contains the WebKit1 class based on QtWidgets.
- QtXml contains classes for processing XML and provides tools for SAX and DOM API.
- QtSvg provides classes for displaying SVG content. Scalable Vector Graphics (SVG) is a graphic format based on Extensible Markup Language (XML) for describing two-dimensional vector graphics.
- QtSql provides tools for processing databases.
- QtTest provides tools for testing PyQt5 applications.