Python notes PyQt4 beginner Essays [1, Introduction to basic classes]

Source: Internet
Author: User

View/python2.7/dist-packages/pyqt4/__init__.py found that no index was added internally, it is difficult to see the basic information through Help and Dir, so let's briefly introduce some of the features of the common classes:

1. Qtcore Module

Non-GUI functional functions for the core for the following: date, file and directory, data structure, data flow, URL, MIME, thread, and process.

2. Qtgui Module

Used for drawing components and for drawing-related classes such as buttons, windows, status bars, toolbars, sliders, bitmaps, colors, fonts, and so on.

3. Qtnetwork Module

Classes for network programming that enable users to implement TCP/IP and UDP clients or servers with these classes. And using these classes will make network programming easier and lighter.

4. Qtxml Module

class for working with XML files, the module for the SAX and DOM API Two kinds of XML file processing method implementation.

5, Qtsvg module

used to display SVG (Scalable Vector graphics, reference Http://zh.wikipedia.org/wiki/SVG) A class of file contents.

6. Qtopengl Module

used to render 3D or 2D graphics created using the OpenGL library. And it supports a seamless combination of Qt GUI libraries and OpenGL libraries .

7. Qtsql Module

Classes used to manipulate the database

Python notes PyQt4 beginner Essays [1, Introduction to basic classes]

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.