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.