下载  >  移动开发  >  QT  > Packt.Mastering.Qt.5

Packt.Mastering.Qt.5 评分:

Packt.Mastering.Qt.5
Table of contents Mastering Ot 5 Credits about the authors about the reviewer WWW.Packtpubcom Why subscribe? preface What this book covers What you need for this book Who this book is for Conventions Reader feedback Customer support Downloading the example code Errata racy Qu uestions Get Your Qt Feet Wet Creating a project Main Window structure Qt Designer Signals and slots Custom WIdget Adding a task Using a DIalog Distributing code responsibility Emitting a custom signal using lambdas Simplifying with the auto type and a range-based for loop Summar 2. Discovering QMake Secrets Designing a cross-plattorm project Adding the Windows implementation Adding the Linux implementation Adding the Mac os implementation Transforming Syslnfo into a singleton Exploring ot Charts Cpu Widget using CHarts Memory using Charts The pro file in depth Under the hood of gmake Beneath Q OBJECT and signals/slots Summary 3. Dividing Your Project and Ruling Your Code Designing a maintainable project Defining data classes Storing your data in a database Protecting your code with a smart pointer Implementing the model Summar 4. Conquering the desktop UI Creating a GUI linked to a core shared library Listing your albums with AlbumListWidget Creating a ThumbnailProxyModel Displaying the selected album with Album Widget Enhancing thumbnails with PictureDelegate Displaying a picture with Picture Widget Composing your gallery app Summary 5. Dominating the mobile u Starting with Qt Quick and QML Checking your development environment Creating a Qt Quick project Preparing your Qt Quick gallery entry point Displaying albums with ListView Theming the application with a QML singleton Loading a database on mobile Creating a new album from a custom InputDialog Loading images with an Imageprovider Displaying thumbnails in a GridView Swiping through full resolution pictures ummary 6. Even Ot Deserves a Slice of Raspberry pi Discovering Qt3D Configuring Qt for your Raspberry pi Creating an entry point for your Ot3D code Setting up the scene Assembling your ot3D entities Preparing the board game Crafting entities from the factory Building a snake engine in JavaScript Varying the hud with QMl states Profiling your Qml application Summary 7. Third-Party Libraries Without a Headache Creating your Qt Designer plugin Configuring the project for Windows Configuring the project for Linux Configuring the project for Mac Implementing your OpenCV filters Designing the uI with Filter Widget Exposing your plugin to Qt Designer Using your Ot Designer plugin Building the image-filter application S ummar v 8. Animations -Its alive. alive Preparing an SDK Creating your plugins Loading your plugins dynamically Using the plugins inside the application Discovering the Animation Framework Making your thumbnails jump Fading the picture in Flashing the thumbnail in a sequence Summary 9. Keeping Your Sanity with Multithreading Discovering QThread flying over Qt multithreading technologies Architecting the Mandelbrot project Defining a Job class with RUnnable Using Qthread Pool in Mandelbrotcalculator Displaying the fractal with Mandelbrotwidget Summary 10. Need ipc? Get your minions to work Architecturing an IPC project Laying down the foundations with an SDK Wor king with QData Stream and QTcp Socket Interacting with sockets in the worker Interacting with sockets from the application Building your own QTcpServer Summar 11. Having Fun with Serialization Architecting the drum machine project Creating a drum track Making your objects serializable with Q variant Serializing obiects in JSON format Serializing obiects in XML format Serializing objects in binary format Triggering a QButton with your keyboard ect Playing low latency sounds with OSoundEffe Bringing Playback Worker to life Accepting mouse drag and drop events Summary 12. You Shall(not Pass with QTest Discovering ot Test Executing your tests Writing factorized tests with datasets Benchmarking your code Testing your GUI Spying on your application with QSignalSpy Summary 13. All Packed and Ready to deploy Packaging your application Packaging for Windows Packaging for Linux with a distribution package Packaging for Linux with Applmage Packaging for Mac OSX Packaging for Android Packaging for iOS Summary 14.Qt Hat Tips and Tricks Managing your workspace with sessions Searching with the Locator Increasing the compi lation speed Examining the memory with Qt Creator Generating random numbers Silencing unused variable warnings Logging custom objects to QDebug Improving log messages Saving your logs to a file Generating a command-line interface Sending and receiving Http data Summar Mastering Qt 5 Mastering Qt 5 Copyright C 2016 Packt Publishing All rights reserved. No part of this book may be reproduced, stored in a retrieval system,or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews Every effort has been made in the preparation of this book to ensure the accuracy of the information presented However, the information contained in this book is sold without warranty, either express or implied. Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book Packt Publishing has endeavored to provide trademar k information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information First published December 2016 Production reference: 1121216 Published by Packt Publishing Ltd Livery place 35 Livery Street Birmingham B3 2PB. UK ISBN978-1-78646-7126 www.packtpub.com Credits Authors Copy Editor Guillaume lazar Safis Editing Robin Pena Reviewer Proiect Coordinator Ray rischpater Izzat Contracto Commissioning Editor Proofreader Kunal parikh Safis Editing Acquisition Editor Indexer Sonali vernekar Rekha nair Content De velopment EditorProduction Coordinator Rohit Kumar Singh Aparna Bhagat Technical editor Vivek pal about the authors Guillaume Lazar is a software engineer living near Paris in France. He has worked for different companies, from startups to multinationals, for the last 7 years. He took the opportunity to observe and learn from many team organizations and technologies He eventually founded his own software development company, NeuronalMotion, at the age of 27 with his friend robin Penea in 2014. Information about it and its open source projects canbefoundonthecomapny'swebsitewww.neuronalmotion.com NeuronalMotion represents to guillaume"a different way of working The current hierarchical organization that applies to most companies seems obsolete to him. with his own company, he wants to try something different, where each employee will be autonomous Although he defines himself as a Qt framework lover, he likes to mix different technologies and platforms. He also spends time on game development, machine learning, and electronics, because things"become alive. Creating examples and writing chapters for this book was a serious challenge this year. Some sections were fundamentally changed to match Qt evolution. I would not have been able to achieve this task alone. I wish to thank robin Penea, my friend and the coauthor of this book. He gave his all to create with me a robust Qt book with modern C++. Our review team, Rohit Kumar Singh, Ray Rischpater, Quentin Canu, Chistophe Dongieux, and Hugo loi, have done excellent work: they corrected us and raised some important issues i also want to thank packt for the good follow up during the writing process. Finally, I thank my family and, particularly, Sophie, my girlfriend, for her support Robin Penea is a software engineer living in France. He has worked for several companies over the last 7 years, on many different technolo gies (ranging from server application development to embedded programming He founded neuronalmotion with guillaume lazar in 2014 to implement his vision of entrepreneurship and project development. He aims to achieve a self-organized company More information is available at wwwneuronalmotion com Besides developing with Qt, he likes to tinker with the Android aosP framework, learn new programming language paradigms, and discover how to interweave technolo gy and real life This book would not have existed without Guillaume Lazar, my friend and the coauthor of the book. He was truly dedicated to designing and crafting the best possible book. I wish to thank our reviewers, Rohit Kumar Singh, Ray rischpater, Quentin Canu, Christophe Dongieux, and Hugo Loi. Their input was invaluable and definitely raised the quality of the book. Packt played a sensible role, listening to our requests and changes, guiding us

...展开详情
2016-12-19 上传 大小:6.78MB
举报 收藏
分享
Packt.Mastering.Apache.Flink

Packt.Mastering.Apache.Flink, flink的简介,flink的初步入门

立即下载
Packt.Java.9.High.Performance.2017.11.epub

Packt.Java.9.High.Performance.2017.11.epub Packt.Java.9.High.Performance.2017.11.epub

立即下载
Packt.Neural.Network.Programming.with.Tensorflow

Manpreet Singh Ghotra, Rajdeep Dua著基于tensorflow框架深度学习编程书籍,Packt出品易读易学习。

立即下载
Packt.Mastering.Qt.5.2nd.Edition.1788995392.rar

Packt.Mastering.Qt.5.2nd.Edition pdf awz3 源代码打包

立即下载
Packt.Mastering.Hadoop.2014

Packt.Mastering.Hadoop.2014

立即下载
Packt.Mastering.Bootstrap.4.2016

Packt.Mastering.Bootstrap.4.2016 Packt.Mastering.Bootstrap.4.2016

立即下载
Packt.Mastering.Python.Networking.2017

Packt.Mastering.Python.Networking.2017

立即下载
Packt.Mastering.PostgreSQL10

Packt.Mastering.PostgreSQL.10.2018.1.pdf 很不错的关于postgresql数据库的书籍

立即下载
Packt.Mastering.Android.Studio.3.2017

Packt.Mastering.Android.Studio.3.2017 Packt.Mastering.Android.Studio.3.2017 Packt.Mastering.Android.Studio.3.2017

立即下载
Packt.Mastering.Internet.of.Things.2018

Packt.Mastering.Internet.of.Things.2018 Packt.Mastering.Internet.of.Things.2018

立即下载
Packt.Mastering.Linux.Kernel.Development.2017

Packt.Mastering.Linux.Kernel.Development.2017 Packt.Mastering.Linux.Kernel.Development.2017

立即下载
Packt.Mastering.ElasticSearch.5.0.3rd.Edition.1786460181

Packt.Mastering.ElasticSearch.5.0.3rd.Edition.1786460181

立即下载
Packt.Mastering.iOS.10.Programming.2016

Packt.Mastering.iOS.10.Programming.2016

立即下载
Packt.Mastering.Csharp.and.NET.Programming

Packt.Mastering.Csharp.and.NET.Programming

立即下载
Packt.Mastering.Swift.3.Linux.2017

Packt.Mastering.Swift.3.Linux.2017

立即下载
Packt.Mastering.Xamarin.UI.Development.2017

Packt.Mastering.Xamarin.UI.Development.2017

立即下载
Packt.Mastering.C++.Multithreading.2017

Packt.Mastering.C++.Multithreading.2017

立即下载
Packt.Mastering.CSS

Your training with Rich Finelli then dives into detail about working with CSS and the best solutions to make your websites work. You’ll go with him into CSS3 properties, transforms, transitions, and animations. You’ll gain his understanding of responsive web designs, web fonts, icon fonts, and the t

立即下载
html+css+js制作的一个动态的新年贺卡

该代码是http://blog.csdn.net/qq_29656961/article/details/78155792博客里面的代码,代码里面有要用到的图片资源和音乐资源。

立即下载
Camtasia 9安装及破解方法绝对有效

附件中注册方法亲测有效,加以整理与大家共享。 由于附件大于60m传不上去,另附Camtasia 9百度云下载地址。免费自取 链接:http://pan.baidu.com/s/1kVABnhH 密码:xees

立即下载