Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On Embedded Programming with Qt

You're reading from  Hands-On Embedded Programming with Qt

Product type Book
Published in Jul 2019
Publisher Packt
ISBN-13 9781789952063
Pages 416 pages
Edition 1st Edition
Languages
Author (1):
John Werner John Werner
Profile icon John Werner

Table of Contents (22) Chapters

Preface 1. Section 1: Getting Started with Embedded Qt
2. Setting Up the Environment 3. Writing Your First Qt Application 4. Running Your First Application on the Target 5. Section 2: Working with Embedded Qt
6. Important Qt Concepts 7. Managing the Overall Workflow 8. Exploring GUI Technologies 9. Adding More Features 10. Section 3: Deep Dive into Embedded Qt
11. Qt in the Embedded World 12. Exploring the IoT with Qt 13. Using More Qt-Related Technologies 14. Section 4: Advanced Techniques and Best Practices
15. Debugging, Logging, and Monitoring Qt Applications 16. Responsive Application Programming - Threads 17. Qt Best Practices 18. Assessments 19. Other Books You May Enjoy Appendix A: BigProject Requirements
1. Appendix B: Bonus Code - Simplifying Q_PROPERTY

Digging deeper

In writing this chapter, I glossed over a few things for the sake of keeping the flow of the lesson. Now is a good time to look at some of them in more depth.

In particular, I want to take a little bit of time to explain the code for the push button, what these slots and signals are, and to pontificate on testing.

Explaining the push button code

The on_pushButton_clicked() handles the user clicking on pushbutton. Now, we will go through the method line by line to understand what is happening:

void MainWindow::on_pushButton_clicked()
{

The naming of this method enables the Qt GUI to automatically connect the signal emitted by the button when it is pressed to a slot in our main window that will handle it. The...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}