Hands-On GUI Programming with C++ and Qt5

This document was uploaded by one of our users. The uploader already confirmed that they had the permission to publish it. If you are author/publisher or own the copyright of this documents, please report to us by using this DMCA report form.

Simply click on the Download Book button.

Yes, Book downloads on Ebookily are 100% Free.

Sometimes the book is free on Amazon As well, so go ahead and hit "Search on Amazon"

Qt 5, the latest version of Qt, enables you to develop applications with complex user interfaces for multiple targets. It provides you with faster and smarter ways to create modern UIs and applications for multiple platforms. This book will teach you to design and build graphical user interfaces that are functional, appealing, and user-friendly.

In the initial part of the book, you will learn what Qt 5 is and what you can do with it. You will explore the Qt Designer, discover the different types of widgets generally used in Qt 5, and then connect your application to the database to perform dynamic operations. Next, you will be introduced to Qt 5 chart which allows you to easily render different types of graphs and charts and incorporate List View Widgets in your application. You will also work with various Qt modules, like QtLocation, QtWebEngine, and the networking module through the course of the book. Finally, we will focus on cross-platform development with QT 5 that enables you to code once and run it everywhere, including mobile platforms.

By the end of this book, you will have successfully learned about high-end GUI applications and will be capable of building many more powerful, cross-platform applications.

Author(s): Lee Zhi Eng
Edition: 1
Publisher: Packt Publishing
Year: 2018

Language: English
Commentary: True PDF
Pages: 404
City: Birmingham
Tags: Programming;Qt5;Qt 5;C++;CPP;GUI;User Interface

1: Introduction to Qt
What is Qt?
Downloading and installing Qt
Running our first Hello World Qt program
Summary

2: Qt Widgets and Style Sheets
Introduction to Qt Designer
Basic Qt widgets
Qt Style Sheets
Summary

3: Database Connection
Introducing the MySQL database system
Setting up the MySQL database
SQL commands
Database connection in Qt
Creating our functional login page
Summary

4: Graphs and Charts
Types of charts and graphs in Qt
Implementing charts and graphs
Creating the dashboard page
Summary

5: Item Views and Dialogs
Working with item view widgets
Working with dialog boxes
Creating File Selection Dialogs
Image scaling and cropping
Summary

6: Integrating Web Content
Creating your own web browser
Sessions, cookies, and cache
Integrating JavaScript and C++
Summary

7: Map Viewer
Map display
Marker and shape display
Obtaining a user's location
Geo Routing Request
Summary

8: Graphics View
Graphics View framework
Summary

9: The Camera Module
The Qt multimedia module
Connecting to the camera
Capturing a camera image to file
Recording a camera video to file
Summary

10: Instant Messaging
The Qt networking module
Creating an instant messaging server
Creating an instant messaging client
Summary

11: Implementing a Graphics Editor
Drawing vector shapes
Saving vector images to an SVG File
Creating a paint program
Summary

12: Cloud Storage
Setting up the FTP server
Displaying the file list on the list view
Uploading files to the FTP server
Downloading files from the FTP server
Summary

13: Multimedia Viewers
Revisiting the multimedia module
The image viewer
The music player
The video player
Summary

14: Qt Quick and QML
Introduction to Qt Quick and QML
Qt Quick widgets and controls
Qt Quick Designer
Qt Quick layouts
Basic QML scripting
Summary

15: Cross-Platform Development
Understanding compilers
Build settings
Deploying to PC platforms
Deploying to mobile platforms
Summary

16: Testing and Debugging
Debugging techniques
Debuggers supported by Qt
Unit testing
Summary