万本电子书0元读

万本电子书0元读

顶部广告

Qt5 C++ GUI Programming Cookbook电子书

售       价:¥

72人正在读 | 0人评论 6.2

作       者:Lee Zhi Eng

出  版  社:Packt Publishing

出版时间:2019-03-27

字       数:39.9万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Use Qt 5 to design and build functional, appealing, and user-friendly graphical user interfaces (GUIs) for your applications. Key Features * Learn to use Qt 5 to design and customize the look and feel of your application * Improve the visual quality of an application by using graphics rendering and animation * Understand the balance of presentation and web content that will make an application appealing yet functional Book Description With the growing need to develop GUIs for multiple targets and multiple screens, improving the visual quality of your application becomes important so that it stands out from your competitors. With its cross-platform ability and the latest UI paradigms, Qt makes it possible to build intuitive, interactive, and user-friendly user interfaces for your applications. Qt5 C++ GUI Programming Cookbook, Second Edition teaches you how to develop functional and appealing user interfaces using the latest version of QT5 and C++.?This book will help you learn a variety of topics such as GUI customization and animation, graphics rendering, implementing Google Maps, and more. You will also be taken through advanced concepts like asynchronous programming, event handling using signals and slots, network programming, various aspects of optimizing your application. By the end of the book, you will be confident to design and customize GUI applications that meet your clients' expectations and have an understanding of best practice solutions for common problems. What you will learn * Animate GUI elements using Qt5's built-in animation system * Draw shapes and 2D images using Qt5's powerful rendering system * Implement an industry-standard OpenGL library in your project * Build a mobile app that supports touch events and exports it onto devices * Parse and extract data from an XML file and present it on your GUI * Interact with web content by calling JavaScript functions from C++ * Access MySQL and SQLite databases to retrieve data and display it on your GUI Who this book is for This intermediate-level book is designed for those who want to develop software using Qt 5. If you want to improve the visual quality and content presentation of your software application, this book is for you. Prior experience of C++ programming is required.
目录展开

Title Page

Copyright and Credits

Qt5 C++ GUI Programming Cookbook Second Edition

Packt Upsell

Why subscribe?

Packt.com

Contributors

About the author

About the reviewer

Packt is searching for authors like you

Preface

Who this book is for

What this book covers

To get the most out of this book

Download the example code files

Download the color images

Code in Action

Conventions used

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Get in touch

Reviews

Look-and-Feel Customization with Qt Designer

Introduction

Technical requirements

Using style sheets with Qt Designer

How to do it…

How it works...

There's more…

Customizing basic style sheets

How to do it…

How it works...

Creating a login screen using style sheets

How to do it…

How it works...

Using resources in style sheets

How to do it

How it works...

Customizing properties and sub-controls

How to do it…

How it works...

Styling in Qt Modeling Language (QML)

How to do it…

How it works...

Exposing the QML object pointer to C++

How to do it…

How it works...

Event Handling - Signals and Slots

Introduction

Technical requirements

New signals and slots syntax

How to do it...

How it works...

UI events with signals and slots

How to do it...

How it works...

Asynchronous programming made easier

How to do it...

How it works...

Function callbacks

How to do it...

How it works...

States and Animations with Qt and QML

Introduction

Technical requirements

Property animation in Qt

How to do it…

How it works...

There's more…

Using easing curves to control property animation

How to do it…

How it works...

There's more…

Creating an animation group

How to do it…

How it works...

There's more…

Creating a nested animation group

How to do it…

How it works...

State machines in Qt

How to do it…

How it works...

There's more…

States, transitions, and animations in QML

How to do it…

How it works...

There's more…

Animating widget properties using animators

How to do it…

How it works...

Sprite animation

How to do it…

How it works...

There's more…

QPainter and 2D Graphics

Introduction

Technical requirements

Drawing basic shapes onscreen

How to do it…

How it works...

There's more…

Exporting shapes to SVG files

How to do it…

How it works...

There's more…

Coordinate transformation

How to do it…

How it works...

There's more…

Displaying images onscreen

How to do it…

How it works...

There's more…

Applying image effects to graphics

How to do it…

How it works...

There's more…

Creating a basic paint program

How to do it…

How it works...

Rendering a 2D canvas in QML

How to do it…

OpenGL Implementation

Introduction

Technical requirements

Setting up OpenGL in Qt

How to do it…

How it works...

There's more…

Hello World!

How to do it…

How it works...

Rendering 2D shapes

How to do it…

How it works...

Rendering 3D shapes

How to do it...

How it works...

Texturing in OpenGL

How to do it…

How it works...

Basic lighting in OpenGL

How to do it…

How it works...

Moving an object using keyboard controls

How to do it…

How it works...

3D canvas in QML

How to do it…

How it works...

Using Network and Managing Large Documents

Introduction

Technical requirements

Creating a TCP server

How to do it…

How it works...

Creating a TCP client

How to do it...

How it works...

Uploading and downloading files using FTP

How to do it...

How it works...

Threading Basics - Asynchronous Programming

Introduction

Technical requirements

Using threads

How to do it…

How it works...

QObject and QThread

How to do it…

How it works...

Data protection and sharing data between threads

How to do it…

How it works...

Working with QRunnable processes

How to do it…

How it works...

Building a Touch Screen Application with Qt5

Introduction

Technical requirements

Setting up Qt for mobile applications

How to do it…

How it works…

Designing a basic user interface with QML

How to do it…

How it works…

Touch events

How to do it…

How it works…

There's more…

Animation in QML

How to do it…

How it works…

Displaying information using model/view

How to do it…

How it works…

Integrating QML and C++

How to do it…

How it works…

XML Parsing Made Easy

Technical requirements

Processing XML data using the stream reader

How to do it…

How it works…

There's more…

Writing XML data using the Stream Writer

How to do it…

How it works…

Processing XML data using the QDomDocument class

How to do it…

How it works…

Writing XML data using the QDomDocument class

How to do it…

How it works…

Using Google's Geocoding API

How to do it…

How it works…

There's more…

Conversion Library

Introduction

Technical requirements

Converting data

How to do it…

How it works...

There's more…

Converting images

How to do it…

How it works...

There's more…

Converting videos

How to do it…

How it works...

There's more…

Converting currency

How to do it…

How it works...

There's more…

Accessing Databases with SQL Driver and Qt

Introduction

Technical requirements

Setting up a database

How to do it…

How it works…

Connecting to a database

How to do it…

How it works…

Writing basic SQL queries

How to do it…

How it works…

Creating a login screen with Qt

How to do it…

How it works…

Displaying information from a database on a model view

How to do it…

How it works…

Advanced SQL queries

How to do it…

How it works…

There's more…

Develop Web Applications using Qt WebEngine

Introduction

Technical requirements

Introducing Qt WebEngine

How to do it…

How it works…

There's more…

Using WebView and web settings

How to do it…

How it works…

Embedding Google Maps in your project

How to do it…

How it works…

Calling C++ functions from JavaScript

How to do it…

How it works…

Calling JavaScript functions from C++

How to do it…

How it works…

Performance Optimization

Introduction

Technical requirements

Optimizing form and C++

How to do it...

How it works...

Profiling and optimizing QML

How to do it...

How it works...

Rendering and animation

How to do it...

How it works...

Other Books You May Enjoy

Leave a review - let other readers know what you think

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部