QT skin framework-TQUI, qt framework-tqui

Source: Internet
Author: User

QT skin framework-TQUI, qt framework-tqui

For more information about this skin framework, see the attachment, including the test program source code and help documentation.
You can download the relevant documents from my Baidu online storage or from the attachment.

Baidu Network Disk address: TQUI-V1.0 project description and test program source code


Project update description:
-------------------------------------------
Version: V1.0.3
Updated on: 2015.1.27
Update content/implementation functions:
1. modified the code to improve system robustness.
2. It can be used on qt4 and qt5 platforms.
3. the compiler is compatible with msvc and mingw,
4. The operating system is compatible with windows and linux
5. added the custom system tray function.
-------------------------------------------




Chapter 1 Introduction to skin framework

§ 1. 1.1 framework Origin
I used to develop a. NET skin framework myself when developing. NET. It is very convenient to use and has good results. I have been using QT for several years and want to build a skin framework of QT, but it cannot be promoted due to time and energy.
I have been searching for the QT skin framework on the Internet for nearly a year. I hope someone can use it well, but the search results are a bit disappointing, several guys on QTCN posted their interface skin design effects and source code. However, it is not very convenient to use it. It is good to learn QT styles, however, it is still far from being used in projects because the style design is chaotic and reproducible, and the style and skin do not form a template, which cannot be used quickly and conveniently by developers.
Based on years of experience and accumulation, I decided to develop a QT skin framework named TQUI (UI framework of the QT project of Tianji youge). The prerequisites for my design are as follows:
1. Customizable skin: color skin, image skin, and QQ chat form.
2. It is easy to use, without changing the development method of the current QT personnel. It should be consistent with the current development mechanism of QT as much as possible and be well integrated.
3. The interface is simple and complete, and provides as many skin framework operation interfaces as possible (some extension functions), but the interface must be simple and easy to use.

§ 1. 1.2 framework compilation environment
The TQUI and test projects and compiled executable programs are released in the following compiling environment:
1. QT, qt4.8.6, because no special platform interface is used, it can be used across platforms.
2. VC, vc2010-x86

§ 1. 1.3 preview the framework Interface
China net green skin
 


Blue skin






Light blue skin






Gray skin





Black Skin







Comprehensive example





Color Selection Control






File Selection Control






Message form






Text and digital input controls







§ 1. 1.4 skin instructions


Special form example:
Similar to the pop-up window of news messages in the lower right corner of QQ, this form can be set to automatically disable the delay time






The pop-up form is automatically closed when the focus is lost:

This framework can be used to set only the title of the form without affecting internal controls.








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.