万本电子书0元读

万本电子书0元读

顶部广告

Qt5 C++ GUI Programming Cookbook电子书

售       价:¥

99人正在读 | 0人评论 6.2

作       者:Lee Zhi Eng

出  版  社:Packt Publishing

出版时间:2016-07-01

字       数:132.3万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Use Qt5 to design and build a graphical user interface that is functional, appealing, and user-friendly for your software application About This Book 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 Who This Book Is For This book intended for those who want to develop software using Qt5. If you want to improve the visual quality and content presentation of your software application, this book is best suited to you. 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 In Detail 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. Style and approach This book focuses on customizing the look and feel and utilizing the graphical features provided by Qt5. It takes a step-by-step approach, providing tons of screenshots and sample code for you to follow and learn. Each topic is explained sequentially and placed in context.
目录展开

Qt5 C++ GUI Programming Cookbook

Table of Contents

Qt5 C++ GUI Programming Cookbook

Credits

About the Author

About the Reviewer

www.PacktPub.com

eBooks, discount offers, and more

Why Subscribe?

Preface

What this book covers

What you need for this book

Who this book is for

Sections

Getting ready

How to do it…

How it works…

There's more…

See also

Conventions

Reader feedback

Customer support

Downloading the example code

Downloading the color images of this book

Errata

Piracy

Questions

1. Look and Feel Customization

Introduction

Use style sheets with Qt Designer

How to do it…

How it works...

There's more…

Basic style sheet customization

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 QML

How to do it…

How it works...

Exposing QML object pointer to C++

How to do it…

How it works...

2. States and Animations

Introduction

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…

3. QPainter and 2D Graphics

Introduction

Drawing basic shapes on screen

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 on screen

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...

2D canvas in QML

How to do it…

4. OpenGL Implementation

Introduction

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...

Render 3D shapes

How to do it…

How it works...

Texturing in OpenGL

How to do it…

How it works...

Lighting and texture filter in OpenGL

How to do it…

How it works...

There's more…

Moving an object using keyboard controls

How to do it…

How it works...

3D canvas in QML

How to do it…

How it works...

5. Building a Touch Screen Application with Qt5

Introduction

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…

6. XML Parsing Made Easy

Introduction

Processing XML data using stream reader

How to do it…

How it works…

There's more…

Writing XML data using 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…

7. Conversion Library

Introduction

Data conversion

How to do it…

How it works...

There's more…

Image conversion

How to do it…

How it works...

There's more…

Video conversion

How to do it…

How it works...

There's more…

Currency conversion

How to do it…

How it works...

There's more…

8. Accessing Databases

Introduction

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…

9. Developing a Web Application Using Qt Web Engine

Introduction

Introduction to Qt WebEngine

How to do it…

How it works…

There's more…

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…

Index

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部