Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分

所需积分/C币:42 2016-12-06 19:37:56 3.9MB PDF
24
收藏 收藏
举报

Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分——Use Qt5 to design and build a graphical user interface that is functional, appealing, and user-friendly for your software application.
Qt5 C++ Gui Programming Cookbook 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 author, 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 trademark 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: July 2016 Production reference: 1220716 Published by Packt Publishing Ltd Livery Place 35 Livery Street Birmingham B3 2PB, UK SBN978-1-78328-027-8 www.packtpub.com Credits Author Copy Editor Lee Zhi Eng Safis Editing Reviewer Project Coordinator Symeon Huang Commissioning Editor Proofreader Safis Editing Acquisition Edito Indexer Indrajit das Rekha nair Content development Editor Production Coordinator Priyanka mehta Aparna bhagat Technical editors Cover work Dhiraj chandanshive Aparna bhagat Ravikiran Pise About the Author Lee Zhi eng is a 3D artist-turned-programmer who worked in the video game industry as a game artist, game programmer, and a game programming lecturer. Later, he decided to take a break from games and ventured into software engineering by co-founding his current company, Reonyx Tech Since then, he has been involved in multiple projects that are ditferent from what he used to do, including geolocation and near-real-time navigation systems, Big DataanalyticsandaugmentedrealityYoucanfindoutmoreabouthimathttp://www zhieng.comoryoucantindoutabouthiscompanyathttp://www.reonyx.com. About the reviewer Symeon Huang is an experienced C++GUI software developer and the author of Qt 5 Blueprints, Packt Publishing. He has finished his master's degree in high performance computing and has been working as a software engineer in industry Id like to thank packt Publishing for giving me the opportunity to review this book. as a reviewer I've also learnt from this book and l'm sure this book will be of great use to all readers www.Packtpub.com eBooks discount offers and more Did you know that Packt offers e Book versions of every book published, with PDF and ePub filesavailableYoucanupgradetotheebookversionatwww.PacktPub.comandasaprint book customer, you are entitled to a discount on the eBook copy. Get in touch with us at customercare@packtpub com for more details. Atwww.Packtpub.comyoucanalsoreadacollectionoffreetechnicalarticlessignup for a range of free newsletters and receive exclusive discounts and offers on Packt books and ebooks PACKTLIB https://www2.packtpub.ccm/books/subscription/packtlib Do you need instant solutions to your IT questions? PacktLib is Packt's online digItal book library. Here, you can search, access, and read Packt's entire library of books Why Subscribe? Fully searchable across every book published by Packt Copy and paste, print, and bookmark content On demand and accessible via a web browser Table of contents Preface Chapter 1: Look and Feel Customization Introduction Use style sheets with Qt Designer Baslc style sheet customization 126 Creating a login screen using style sheets Using resources in style sheets 19 Customizing properties and sub-controls 23 Styling in QML 27 Exposing QML object pointer to C++ 36 Chapter 2: States and Animations 39 Introduction 39 Property animation in Qt 39 Using easing curves to control property animation 42 Creating an animation group 44 Creating a nested animation group 47 State machines in Qt 50 States, transitions, and animations in QML 53 Animating widget properties using animators 57 Sprite animation 9 Chapter 3: QPainter and 2D Graphics 65 Introduction 65 Drawing basic shapes on screen 66 Exporting shapes to svG files 69 Coordinate transformation 75 Displaying images on screen 80 Table of contents Applying image effects to graphics 85 Creating a basic paint program 88 2D canvas in QML 94 Chapter 4: Open GL Implementation 99 Introduction 99 Setting up OpenGL in Qt 100 Hello world! 103 Rendering 2D shapes 106 Render 3D shapes 109 Texturing in OpenGL 114 LIghting and texture fllter In OpenGL 118 Moving an object using keyboard controls 122 3 canvas in QML 125 Chapter 5: Building a Touch Screen Application with ot5 131 Introduction 131 Setting up ot for mobile applications 132 DeslgnIng a baslc user Interface wlth QML 138 Touch events 142 Animation in QML 149 Displaying information using Model View 155 Integrating QML and C++ 160 Chapter 6: XML Parsing Made Easy 167 Introductlon 167 Processing XML data using stream reader 167 Writing XML data using Stream Writer 173 Processing XMl data using the QDom Document class 176 Writing XML data using the QDom Document class 179 Using Google's Geocoding APl 182 Chapter 7: Conversion Library 87 Introduction 187 Data converslon 187 Image conversion 192 Video conversion 196 Currency conversion 202 Table of contents Chapter 8: Accessing Databases 20 Introduction 207 Connecting to a database 213 Writing basic SQL queries 216 Creating a login screen with Qt 221 Displaying information from a database on a model view 227 Advanced sQL queries 233 Chapter 9: Developing a Web Application Using ot Web Engine 245 Introduction 245 Introduction to Qt Web Engine 246 Webview and web settings 252 Embedding Google Maps in your project 259 Calling C++ functions from JavaScript 264 Calling JavaScript functions from C++ 271 Index 279 II

...展开详情
试读 127P Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分
立即下载 低至0.43元/次 身份认证VIP会员低至7折
一个资源只可评论一次,评论内容不能少于5个字
紫陌红尘 谢谢分享这么好的资源~~
2019-04-12
回复
gaqrdfwxf 很不错的一本书
2019-02-09
回复
wenhwu 不错,清晰
2018-04-12
回复
凶猛的大熊猫 很有帮助的资源
2018-02-12
回复
DAVID850911 非常好的资源,谢谢
2018-02-01
回复
舟海 不错,清晰
2018-01-16
回复
yifan1127 非常好,很清晰,谢谢分享~
2017-09-12
回复
幻风 正是我要找的,谢谢
2017-09-02
回复
eaglelau 2016年英文原版 很清晰, 内容也很完善, 适合初学者
2017-06-17
回复
liups 谢谢分享这么好的资源~~
2017-06-16
回复
  • 分享王者

    成功上传51个资源即可获取
关注 私信 TA的资源
上传资源赚积分or赚钱
    最新推荐
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分 42积分/C币 立即下载
    1/127
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第1页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第2页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第3页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第4页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第5页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第6页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第7页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第8页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第9页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第10页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第11页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第12页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第13页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第14页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第15页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第16页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第17页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第18页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第19页
    Qt5 C++ GUI编程指南(Qt5 C++ GUI Programming Cookbook)-2016年英文原版,0积分第20页

    试读结束, 可继续阅读

    42积分/C币 立即下载 >