万本电子书0元读

万本电子书0元读

顶部广告

Getting Started with Qt 5电子书

售       价:¥

6人正在读 | 0人评论 9.8

作       者:Benjamin Baka

出  版  社:Packt Publishing

出版时间:2019-02-28

字       数:15.2万

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

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

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Begin writing graphical user interface(GUI) applications for building human machine interfaces with a clear understanding of key concepts of the Qt framework Key Features * Learn how to write, assemble, and build Qt application from the command line * Understand key concepts like Signals and Slots in Qt * Best practices and effective techniques for designing graphical user interfaces using Qt 5 Book Description Qt is a cross-platform application framework and widget toolkit that is used to create GUI applications that can run on different hardware and operating systems. The main aim of this book is to introduce Qt to the reader. Through the use of simple examples, we will walk you through building blocks without focusing too much on theory. Qt is a popular tool that can be used for building a variety of applications, such as web browsers, media players such as VLC, and Adobe Photoshop. Following Qt installation and setup, the book dives straight into helping you create your first application. You will be introduced to Widgets, Qt's interface building block, and the many varieties that are available for creating GUIs. Next, Qt's core concept of signals and slots are well illustrated with sufficient examples. The book further teaches you how to create custom widgets, signals and slots, and how to communicate useful information via dialog boxes. To cap everything off, you will be taken through writing applications that can connect to databases in order to persist data. By the end of the book, you should be well equipped to start creating your own Qt applications and confident enough to pick up more advanced Qt techniques and materials to hone your skills. What you will learn * Set up and configure your machine to begin developing Qt applications * Discover different widgets and layouts for constructing UIs * Understand the key concept of signals and slots * Understand how signals and slots help animate a GUI * Explore how to create customized widgets along with signals and slots * Understand how to subclass and create a custom windows application * Understand how to write applications that can talk to databases. Who this book is for Anyone trying to start development of graphical user interface application will find this book useful. One does not need prior exposure to other toolkits to understand this book. In order to learn from this book you should have basic knowledge of C++ and a good grasp of Object Oriented Programming. Familiarity with GNU/Linux will be very useful though it's not a mandatory skill.
目录展开

Title Page

Copyright and Credits

Getting Started with Qt 5

About Packt

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

Conventions used

Get in touch

Reviews

Introducing Qt 5

Installing Qt on Linux

Installing Qt on macOS

Installation on Windows

What is Qt?

Hello world in Qt

Summary

Creating Widgets and Layouts

Widgets

Layouts

QGridLayout

QFormLayout

Layouts with direction

QVBoxLayout

QHBoxLayout

Summary

Working with Signals and Slots

Signals and slots

Signals and slots configuration

Single signal, multiple slots

Single slot, multiple signals

Summary

Implementing Windows and Dialog

Creating a custom window

Menu bar

Toolbar

Adding other widgets

Adding dialog boxes

Summary

Managing Events, Custom Signals, and Slots

Events

Event handlers

Drag and drop

Custom signals

Summary

Connecting Qt with Databases

QtSql

Making the connection

Listing records

The INSERT operation

The DELETE operation

The UPDATE operation

Using a data model for database access

Displaying the model

Summary

Other Books You May Enjoy

Leave a review - let other readers know what you think

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

发表评论

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

买过这本书的人还买过

读了这本书的人还在读

回顶部