Qt5 C++ GUI Programming Cookbook

Lee Zhi Eng

買這商品的人也買了...

商品描述

Key Features

  • Learn to make use of Qt5 to design and customize the look-and-feel of your application
  • Improve the visual quality of your application by utilizing the graphic rendering system and animation system provided by Qt5
  • A good balance of visual presentation and its contents will make an application appealing yet functional

Book Description

With the advancement of computer technology, the software market is exploding with tons of software choices for the user, making their expectations higher in terms of functionality and the look and feel of the application. Therefore, improving the visual quality of your application is vital in order to overcome the market competition and stand out from the crowd.

This book will teach you how to develop functional and appealing software using Qt5 through multiple projects that are interesting and fun. This book covers a variety of topics such as look-and-feel customization, GUI animation, graphics rendering, implementing Google Maps, and more. You will learn tons of useful information, and enjoy the process of working on the creative projects provided in this book.

What you will learn

  • Customize the look and feel of your application using the widget editor provided by Qt5
  • Change the states of the GUI elements to make them appear in a different form
  • Animating the GUI elements using the built-in animation system provided by Qt5
  • Draw shapes and 2D images in your application using Qt5’s powerful rendering system
  • Draw 3D graphics in your application by implementing OpenGL, an industry-standard graphical library to your project
  • Build a mobile app that supports touch events and export it to your device
  • Parse and extract data from an XML file, then present it on your software’s GUI
  • Display web content on your program and interact with it by calling JavaScript functions from C++, or calling C++ functions from the web content
  • Access to MySQL and SQLite databases to retrieve data and display it on your software’s GUI

About the Author

Lee Zhi Eng is a 3D artist-turned-programmer who worked in the video game industry as a game artist, game programmer, and a game programming lecturer. Later, he decided to take a break from games and ventured into software engineering by co-founding his current company, Reonyx Tech. Since then, he has been involved in multiple projects that are different from what he used to do, including geolocation and near-real-time navigation systems, Big Data analytics, and augmented reality. You can find out more about him at http://www.zhieng.com, or you can find out about his company at http://www.reonyx.com.

Table of Contents

  1. Look and Feel Customization
  2. States and Animations
  3. QPainter and 2D Graphics
  4. OpenGL Implementation
  5. Building a Touch Screen Application with Qt5
  6. XML Parsing Made Easy
  7. Conversion Library
  8. Accessing Databases
  9. Developing a Web Application Using Qt Web Engine

商品描述(中文翻譯)

主要特點


  • 學習使用Qt5設計和自定義應用程序的外觀和風格

  • 通過使用Qt5提供的圖形渲染系統和動畫系統來提高應用程序的視覺質量

  • 在視覺呈現和內容之間取得良好平衡,使應用程序既有吸引力又具有功能性

書籍描述

隨著電腦技術的進步,軟件市場上出現了大量的軟件選擇,用戶對功能和應用程序的外觀和風格的期望也越來越高。因此,提高應用程序的視覺質量對於克服市場競爭、脫穎而出至關重要。

本書將通過多個有趣且有趣的項目,教你如何使用Qt5開發功能豐富且吸引人的軟件。本書涵蓋了多個主題,如外觀和風格自定義、GUI動畫、圖形渲染、實現Google地圖等。你將學習到大量有用的信息,並享受在本書提供的創意項目上工作的過程。

你將學到什麼


  • 使用Qt5提供的小部件編輯器自定義應用程序的外觀和風格

  • 更改GUI元素的狀態,使其以不同的形式出現

  • 使用Qt5內置的動畫系統對GUI元素進行動畫處理

  • 使用Qt5強大的渲染系統在應用程序中繪製形狀和2D圖像

  • 通過將OpenGL(一個行業標準的圖形庫)實現到項目中,在應用程序中繪製3D圖形

  • 構建支持觸摸事件的移動應用程序並將其導出到設備上

  • 解析和提取XML文件中的數據,然後在軟件的GUI上呈現

  • 在程序中顯示網頁內容並與之交互,從C++調用JavaScript函數,或從網頁內容調用C++函數

  • 訪問MySQL和SQLite數據庫以檢索數據並在軟件的GUI上顯示

關於作者

李志恆是一位從事3D藝術的藝術家轉行的程序員,曾在視頻遊戲行業擔任遊戲藝術家、遊戲程序員和遊戲編程講師。後來,他決定暫別遊戲,創辦了他目前的公司Reonyx Tech,從事軟件工程。從那時起,他參與了多個與他過去不同的項目,包括地理定位和近實時導航系統、大數據分析和擴增現實。你可以在http://www.zhieng.com了解更多關於他的信息,或者在http://www.reonyx.com了解他的公司。

目錄


  1. 外觀和風格自定義

  2. 狀態和動畫

  3. QPainter和2D圖形

  4. OpenGL實現

  5. 使用Qt5構建觸摸屏應用程序

  6. 簡化XML解析

  7. 轉換庫

  8. 訪問數據庫

  9. 使用Qt Web Engine開發Web應用程序