Hands-On GUI Programming with C++ and Qt5 : Build stunning cross-platform applications and widgets with the most powerful GUI framework.

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

Full description

Saved in:
Bibliographic Details
Main Author: Zhi Eng, Lee
Format: eBook
Language:English
Published: Birmingham : Packt Publishing, 2018.
Subjects:
Online Access:Click for online access
Table of Contents:
  • Cover; Title Page; Copyright and Credits; Packt Upsell; Contributors; Table of Contents; Preface; Chapter 1: Introduction to Qt; What is Qt?; Why use Qt?; Discovering tools in Qt; Qt Designer; Qt Quick Designer; Downloading and installing Qt; Setting up the working environment; Running our first Hello World Qt program; Summary; Chapter 2: Qt Widgets and Style Sheets; Introduction to Qt Designer; Basic Qt widgets; Qt Style Sheets; Summary; Chapter 3: Database Connection; Introducing the MySQL database system; Setting up the MySQL database; SQL commands; SELECT; INSERT; UPDATE; DELETE; JOIN.
  • Database connection in QtCreating our functional login page; Summary; Chapter 4: Graphs and Charts; Types of charts and graphs in Qt; Line and spline charts; Bar charts; Pie charts; Polar charts; Area and scatter charts; Box-and-whiskers charts; Candlestick charts; Implementing charts and graphs; Creating the dashboard page; Summary; Chapter 5: Item Views and Dialogs; Working with item view widgets; Creating our Qt Widgets application; Making our List Widget functional; Adding functionality to the Tree Widget; Finally, our Table Widget; Working with dialog boxes.
  • Creating File Selection DialogsImage scaling and cropping; Summary; Chapter 6: Integrating Web Content; Creating your own web browser; Adding the web view widget; Creating a UI for a web browser; Managing browser history; Sessions, cookies, and cache; Managing sessions and cookies; Managing cache; Integrating JavaScript and C++; Calling JavaScript functions from C++; Calling C++ functions from JavaScript; Summary; Chapter 7: Map Viewer; Map display; Setting up the Qt location module; Creating a map display; Marker and shape display; Displaying position markers on a map.
  • Displaying shapes on a mapObtaining a user's location; Geo Routing Request; Summary; Chapter 8: Graphics View; Graphics View framework; Setting up a new project; Movable graphics items; Creating an organization chart; Summary; Chapter 9: The Camera Module; The Qt multimedia module; Setting up a new project; Connecting to the camera; Capturing a camera image to file; Recording a camera video to file; Summary; Chapter 10: Instant Messaging; The Qt networking module; Connection protocols; Setting up a new project; Creating an instant messaging server; Creating TCP Server; Listening to clients.
  • Creating an instant messaging clientDesigning the user interface; Implementing chat features; Summary; Chapter 11: Implementing a Graphics Editor; Drawing vector shapes; Vector versus bitmap; Drawing vector shapes using QPainter; Drawing text; Saving vector images to an SVG File; Creating a paint program; Setting up a user interface; Summary; Chapter 12: Cloud Storage; Setting up the FTP server; Introducing FTP; Downloading FileZilla; Setting up FileZilla; Displaying the file list on the list view; Setting up a project; Setting up user interface; Displaying the file list; Writing the code.