Pyqt5 introduction and installation method, pyqt5 introduction and Installation Method

Source: Internet
Author: User

Pyqt5 introduction and installation method, pyqt5 introduction and Installation Method

This article focuses on the introduction of pyqt5 and the installation method, as follows.

Pyqt5 Introduction

Pyqt5 is a Python-bound Digia QT5 application framework. It can be used in Python 2 and 3. This tutorial uses Python 3. Qt library is one of the most powerful GUI Libraries. Official pyqt5 website

Http://www.riverbankcomputing.co.uk/news

As a Python module, pyqt5 has over 620 classes and 6000 functions and methods. This is a cross-platform toolkit that runs on all major operating systems, including UNIX, Windows, and Mac OS. Pyqt5 is a dual license. Developers can select between GPL and commercial license.

Pyqt5 consists of the following modules:

  • QtCore
  • QtGui
  • QtWidgets
  • QtMultimedia
  • QtBluetooth
  • QtNetwork
  • QtPositioning
  • Enginio
  • QtWebSockets
  • QtWebKit
  • QtWebKitWidgets
  • QtXml
  • QtSvg
  • QtSql
  • QtTest

QtCore: contains core non-GUI functions. This module is used for processing time, files and directories, various data types, streams, URLs, MIME types, threads or processes.
QtGui includes class window system integration, event processing, two-dimensional graphics, basic imaging, font and text.

The qtwidgets module contains a set of UI elements on the user interface that creates a classic desktop style.

QtMultimedia includes classes to process multimedia content and APIs to access camera and Radio functions.

The Qtbluetooth module contains class scanning devices and connections and interacts with them. The description module contains network programming classes. These classes facilitate the encoding of TCP/IP and UDP clients and servers, making network programming easier and more portable.

Qtpositioning classes use various possible sources to determine locations, including satellites, Wi-Fi, or a text file.

The Enginio module enables the client library to access applications hosted by the Qt cloud service when running.

The Qtwebsockets module contains the WebSocket protocol class.

QtWebKit contains a Web browser implementation Class Based on Webkit2 library.

Qtwebkitwidgets includes the basic webkit1 class for The Implementation of The qtwidgets Web browser.

QtXml Contains classes with XML files. This module provides implementation for the SAX and DOM APIs.

The QtSvg module provides classes for displaying the content of SVG files. Scalable Vector Graphics (SVG) is a language used to describe two-dimensional graphics and graphics applications.

The QtSql module provides database operation classes.

The features included in QtTest enable unit testing for pyqt5 applications

Install

Cmd, go to the scripts folder under your Python installation directory, and then execute the following command to install

pip install python-qt5

Display

In the following article, we will continue to explore pyqt5.

Link:

Http://www.bkjia.com/article/134071.htm

Summary

The above is all about the introduction of pyqt5 and the installation method in this article. I hope it will be helpful to you. If you are interested, you can continue to refer to other related topics on this site. If you have any shortcomings, please leave a message. Thank you for your support!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.