Limit search to items available for checkout
Title Qt 5 Projects : Develop cross-platform applications with modern UIs using the powerful Qt framework.
Imprint Birmingham : Packt Publishing, 2018.


 Internet  Electronic Book    AVAILABLE
Description 1 online resource (348 pages)
Note Triggering usecases::RemoveGroceryItem::run.
Available only to authorized UTEP users.
Print version record.
Subject Qt (Electronic resource)
Qt (Electronic resource)
Graphical user interfaces -- Software.
Genre Software.
Contents Cover; Copyright and Credits;; Contributors; Table of Contents; Preface; Chapter 1: Writing Acceptance Tests and Building a Visual Prototype; Don't come to me with an idea, come to me with a plan; The problem â#x80;#x94; what's in my fridge?; The solution â#x80;#x94; an app idea; The plan â#x80;#x94; start from user stories; Writing features and scenarios; Implementing scenarios as acceptance tests; Our project structure; QML and C++ â#x80;#x94; when to use each of them; Writing the first acceptance tests in C++; Creating the first C++ test case; Adding the first C++ test.
Given there is a list of available grocery itemsAnd (given) one or more grocery items are actually available; When I check available groceries; Then I am given the list of available grocery items; And (then)Â the grocery items are ordered by name, ascending; A huge step for humanity; Writing usecase tests in QML; A short QML primer; Expressing the first acceptance test in QML; Building a visual prototype; Deciding upon the UI technology; What kind of visual metaphors should our application use?; What kind of devices should our application run on?
Should a non-coding designer implement the UI?Why limit yourself to one?; Our initial choice; Prototyping with Qt Quick Designer; Creating the UI subproject; Laying out the UI components required by the scenarios; Check available groceries; Add grocery item; Remove grocery item; Taking it further; Summary; Chapter 2: Defining a Solid and Testable App Core; Implementing the first usecase; Creating the usecase class; Anatomy of a QObject-derived class; Describing the usecase flow with signals and slots; From usecases to business objects; Introducing the almighty QVariant.
Implementing the GroceryItems entityImplementing a fake data repository; Making the first usecase test pass; Using the AutoTest plugin; Wait a second!; Adding a textual user interface; Setting up the console application project; Writing the textual application; QCoreApplication's many responsibilities; Creating the business objects; Defining application output upon success; Collecting and acting upon user input; Running the console app; About unit testing; Summary; Chapter 3: Wiring User Interaction and Delivering the Final App; Completing the app's core functionality; Adding a grocery item.
Defining the precondition stepTest init and cleanup; Defining the usecase action step; Defining the first outcome step; Defining the second outcome step; use case implementation; Implementing the GroceryItems entity; Removing a grocery item; Adding a fridge; Connecting visual input/output and usecases; Setting up the client application; Exposing C++ objects to QML; QML engines and contexts; Exposing object instances via context properties; Triggering usecases from the UI; Triggering usecases::CheckAvailabeGroceries::run; Triggering usecases::AddGroceryItem::run.
Summary Qt is a cross-platform application development framework that is mainly used to build GUI applications. This book will teach you how to develop functional applications using Qt5 through multiple projects. The projects we have for you are not just meant to show you how powerful and easy it is to build complete applications and rich user ...
Other Title Print version: Piccolino Boniforti, Marco Aldo. Qt 5 Projects : Develop cross-platform applications with modern UIs using the powerful Qt framework. Birmingham : Packt Publishing, ©2018.