售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜