Learn more about QT

Source: Internet
Author: User

QT is a powerful tool for developing the UI in cross platform development and has a wide range of applications. Unfortunately, I have never met it in my project experience. For today's training, make a list understands some key concepts first:

1. QA widgets are both control and window, so they can be shown separately.

2. Some key concepts:

-- Qobject

-- Meta Object System

-- Signal-Slot

-- UIC

-- Qrc: resource management mechanism. Compile all the resource comparison files as binary files and store them using a similar mechanism of memory ing files to ensure the speed at load resource.

3. Miscellaneous

-- To use QT, we need to use the supporting mechanism provided by it, such as qlist as container, qxxcast for casting, foreach for iteration, assert, etc. This applies to any library.

-- Qtapplication. Y () is a centralized finalplace that has the opportunity to handle all exceptions. If there is no handle there, it will continue throw to QT, then the processing result is completely unknown ..

--Cross-platformSending uI,There are two methods: one is to use QT for unified development of the UI that can be displayed on multiple platforms; the other is to use the most suitable UI library for each platform, such as WPF for win, coco (?) For Linux, there are also concepts related to GTK and KDE.

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.