QT-Set Program interface style (ready-made qmacstyle, etc.)

Source: Internet
Author: User
Tags gtk

The inheritance relationship of the class:

QMOTIFSTYLE:OSF (Open Fund Association) developed an industry-standard GUI (graphical user interface);

Qcdestyle: The abbreviation for the Common Desktop environment (Common desktop environment), CDE is a desktop environment that runs on Unix/aix, based on the Motif parts toolbox, and HP's OpenVMS, IBM's AIX, such as the use of CDE as standard desktop environment;

Qs60style:series 60 (abbreviated S60) interface is the Nokia Symbian System smartphone interface;

qgtkstyle:gtk+ (GIMP Toolkit) is a set of source code to LGPL license Agreement distribution, cross-platform graphics toolkit, GNOME, XFCE and other desktop environments and most of the window manager is based on GTK +;

Qmacstyle: The interface style of Apple OS;

Qplastiquestyle:kde the interface style of desktop environment;

Qwindowsxpstyle and Qwindowvistastyle: The interface style of Windows XP and Windows Vista operating system respectively;

Example:

In the main function, add:

Qapplication::setstyle (new Qmotifstyle);

Http://www.cnblogs.com/paullam/p/3693111.html

But there seems to be some change in QT5:

Http://doc.qt.io/qt-5/qwidget-styling.html

Http://doc.qt.io/qt-5/gallery-macintosh.html

QT-Set Program interface style (ready-made qmacstyle, etc.)

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.