Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Title
Copyright
About ApressOpen
Dedication
Contents at a Glance
Contents
About the Author
About the Technical Reviewers
Acknowledgments
Introduction
Chapter 1: Getting Started
Cascades Programming Model
QML
Signals and Slots
Cascades Application Bootstrap Process
Parent-Child Ownership
Native SDK Setup
Momentics IDE
API Levels
QNX System Information Perspective
Summary
Chapter 2: QML and JavaScript
Syntax Basics
QML Documents
Import Statements
Object Declarations
QML Basic Types
Creating a Custom Control
XMLHttpRequest Example
SCalc, the Small Calculator
Project Structure
Summary
Chapter 3: C++, Qt, and Cascades
C++ OOP 101
C++ Class
C++ Inheritance
Polymorphism
Qt Object Model
Meta-Object Compiler (MOC)
QObject
QVariant
Qt Container Classes
Smart Pointers
Exposing C++ Objects to QML
QDeclarativePropertyMap
Exposing QObjects
Model-View-Controller
Application Delegate
QThread
Summary
Chapter 4: Controls
Control
Containers and Layouts
StackLayout
AbsoluteLayout
DockLayout
Text Controls
Text Styles
Label
TextField
TextArea
Button
Slider
ImageView
Selection Controls
Option
DropDown
RadioGroup
SegmentedControl
Pickers
FilePicker
DateTimePicker
CheckBox and ToggleButton
CheckBox
ToggleButton
ScrollView
System Dialogs, Prompts, and Toasts
SystemDialog
SystemPrompt
SystemToast
Summary
Chapter 5: Application Structure
Application Templates
Tabbed Pane Template
Navigation Pane Template
List View Template
Defining the Application Structure
Action Bar
Single Page Applications
Attached Objects
Dynamic QML Components
Multiple Page Applications
Summary
Chapter 6: ListView and DataModel
List Views
ListItemComponent Definition
Detecting Selection
Layout
Creating Visuals in C++
Data Models
Index Paths
Standard Data Models
GroupDataModel
Mapping Item Types
Implementing a Custom Data Model
Updating Data Items with Cascades Controls
Summary
Chapter 7: HTTP Networking
Qt Networking Classes
QNetworkAccessManager
QNetworkRequest
QNetworkReply
HTTP Networking Examples
HTTP GET
HTTP POST
Handling an HTTP Redirect
Handling Authentication
Weather2
Application Design
Creating the UI
Adding the C++ Implementation
Summary
Chapter 8: Personal Information Management APIs
Personal Information Management
PIM APIs
Service Types
Service Providers
Accounts
AccountService Class
Contacts API
Calendar API
Message API
Summary
Chapter 9: Sensors
Sensor Types
Sensors in C++
Determining Sensors Types
Using Sensors in C++
Filters
Sensors in QML
Sensors Coordinate System
Accelerometer and Gyroscope
Accelerometer
Gyroscope
Combining Readings
Summary
Chapter 10: Invocation Framework
Invoking Core Applications
InvokeManager
InvokeRequest
Target Discovery
Unbound Invocations
Invocable Applications
Declaring an Invocation Target
Handling Invocations
Cards
Sandbox Data Synchronization
Summary
Appendix: Device File system
File system structure
Index
← Prev
Back
Next →
← Prev
Back
Next →