[Reprint] a bit about the C ++ interface library

Source: Internet
Author: User
A bit about the C ++ interface library
for the c ++ development interface, I always want to write something because I have been searching for an ideal interface library, provided that it is open-source. I have used the MFC Library in my work, and the controls are all drawn by myself. In his spare time reference skintk and free pool (http://www.codeproject.com/KB/dialog/WndFreePool.aspx), on this basis added dynamic dialog, layout, and some control implementation improvements. Overall feeling:
1. Skintk is implemented by hook, and its running efficiency is reduced. Later, the hook method is removed, but many of its commonly used self-painted controls are not implemented. It seems that some unified interfaces are implemented, and later development is required. There are still many improvements to be made, especially conflicts with other libraries. Secondly, its design tools cannot achieve a variety of styles at the same time, so we need to improve it by 2. The free pool is very thoughtful and implements control resource sharing. It can automatically load controls through configuration files. If you do not consider the interface, you can use it to directly configure the layout in XML.

the current pace of software interface development and personalization has never been stopped.

if all of the above solutions are met, at least a good start will be made. In the future, developing other products will have a good framework Foundation.

In fact, a large number of application logic needs to be written in the software development process, which is also the most time-consuming part of development.

learning and developing QT, it is gradually found that QT is exactly the interface library you want in this regard (of course, it has completely exceeded the interface library range)
it achieves the separation of logic and interface, CSS is used to create the interface. Generally, you do not need to pay attention to the Control Self-painting problem during development (of course, the special case is that you need to implement painter again ), A unified interface is implemented for data access, which is more suitable for human thinking in the development process. The benefits of QT are not mentioned here. It is recommended that people who have used MFC should have time to learn about QT, which is certainly beneficial to themselves. it seems that the next version of MFC should be like QT

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.