Mastering Qt File Selectors

Qt provides a nice facility to handle this in a more elegant way: file selectors. In this blog post. I'll look at what Qt provides, for both C++ and QML, and show a simple but complete program example.

September 21, 2015

Date

Qt News and Views

All Qt 5.5.1 blockers should have fixes in.  The hope is to release 5.5.1 this week.
Qt 5.6 binary snapshots are still not available, though work is ongoing.

Programming with Qt for Embedded Devices

Dates:
Location: RTP, NC
Early Bird Pricing: $2495*
Regular Price: $2995*

Course Description

This 5-day course focuses on developing modern applications for embedded systems and touchscreens using Qt and QtQuick. The class utilizes real development boards with touchscreens for each participant and introduces students to working with embedded touchscreen systems. Further, fundamentals of programming with Qt will be covered to give participants a thorough understanding of the underlying ideas of QML and QtQuick. Efficient and robust design of applications for touchscreen enabled devices utilizing the latest QtQuick techniques is the central focus of this class. As such, architectural considerations for creating applications consisting of beautiful and highly responsive presentation layers, backed by solid back-end implementations are important learning goals for participants.

In the course, we will use the Raspberry Pi embedded system and a multi-point touchscreen. After the class, you may keep the board and touchscreen for a discounted fee of $172.50 plus tax. This is optional and we will loan you a touchscreen and board at no extra charge if you prefer.

 

Course Availability: On-site, Open Enrollment
Subject: Qt
Duration: 5 days

Course Prerequisites

  • Working knowledge of C++ programming
  • Basic knowledge of GUI programming
  • Previous Qt experience is not required

Course Outline

Qt Fundamentals
  • Core Classes
  • String Handling
  • Container Classes
  • File Handling
  • Command Line Parsing
  • Lab: File I/O, Text Manipulation, and Command Line Parsing
  • Objects
  • Qt's Object Model
  • Variants
  • Properties and MetaProperties
  • ANSI-Style Typecasts
  • Signals & Slots
  • QTimers
  • Event Handling
  • QApplication, Resources, etc..
Introduction to QML and Qt Quick
  • Introduction to Qt Quick
  • Qt Creator
  • Qt Quick Hello World
  • QML Concepts
  • Composing User Interfaces
  • Nested Elements
  • Graphical Types
  • Text Items
  • Anchor Layout
  • QML Components
Qt Quick Structures and User Interaction
  • Qt Quick Structures
  • Components
  • Signals and Slots in QML
  • QtQuick Controls
  • Modules
  • User Interaction
  • Mouse Input
  • Touch Input
  • Keyboard Input
Animations, States and Transitions
  • Animations
  • Easing Curves
  • Animation Groups
  • States and Transitions
  • States
  • State Conditions
  • Transitions
Under the Hood - the Qt C++ Layer
  • Integrating QML with C++
  • Declarative Environment
  • Exporting C++ Objects to QML
  • Exporting Classes to QML
  • Using Custom Types
  • Plug-ins
Miscellaneous Topics
  • Presenting Data (QML)
  • Arranging Items
  • Data Models
  • Using Views
  • XML Models
  • Views Revisited
  • Graphics Effects
  • Canvas
  • Particles
  • Shaders
  • MultiThreaded Programming
  • Qt Multithreading
  • Thread Synchronization and Primitives

Mandatory computer requirements

< Back to full list of training

Programming with Qt for Desktops

Dates:
Location: Silicon Valley
Early Bird Pricing: $2495
Regular Price: $2995
Register

Course Description

This is a 5-day, in-depth introduction to Qt programming, primarily focusing on using Qt Widgets and the associated development tools (Qt Designer, Qt Creator and friends). Students will experience the challenges of cross-platform development with exercises that involve porting applications from Windows to MacOS (or vice versa).

Course Availability: On-site, Open Enrollment
Subject: Qt
Duration: 5 days

Course Prerequisites

  • Working knowledge of C++ programming
  • Basic knowledge of GUI programming
  • Previous Qt experience is not required

Course Learning Objectives

  • A working knowledge of the capabilities and limitations of Qt
  • Experience in programming with Qt
  • Course slides and sample programs

Course Outline

Qt Core and Widgets

Qt Fundamentals

Fundamentals of Qt
  • The Story of Qt
  • Developing a Hello World Application
  • Hello World Using Qt Creator
  • Practical Tips for Developers
Objects and Core Types
Core Classes
  • String Handling
  • Container Classes
  • File Handling
Objects
  • Qt's Object Model
  • Variants
  • Properties
Object Communication
  • Signals & Slots
  • Event Handling
Widgets and Designer
Widgets 
  • Designer Introduction
  • Common Widgets
  • Layout Management
  • Guidelines for Custom Widgets
Dialogs 
  • Dialogs
  • Common Dialogs
  • Designer Forms and Code Integration
Applications and Painting
Application Creation
  • Main Windows
  • Designer: Main Windows, Menus, and Actions
  • Settings
  • The System Clipboard
  • Drag and Drop
  • Resources
  • Translation for Developers
  • Deploying Qt Applications
Painting and Styling
  • Painting on Widgets
  • Color Handling
  • Painting Operations
  • Style Sheets
Models and Views
Model/View
  • Model/View Concept
  • Showing Simple Data
  • Proxy Models
  • Custom Models
Model/View II
  • Delegates
  • Editing Item Data
  • Data Widget Mapper
  • Drag and Drop
  • Custom Tree Models
Graphics View
Graphics View
  • Using GraphicsView Classes
  • Coordinate Systems and Transformations
  • Creating Custom Items
Graphics View 2
  • Widgets in a Scene
  • Drag and Drop
  • Effects
  • Performance Tuning
Other Topics
Animation
  • Starting Animation
  • Animation Groups
  • States and Animations
  • Events and Transitions

Qt Additional Models

MultiThreaded Programming and Multimedia in Qt
Multithreaded Programming
  • Qt Multithreading
  • Threading Primitives
  • QtConcurrent
Multimedia Programming
  • Qt Multimedia
Inter-Process Communication
  • QProcess
  • Shared Memory with Qt
  • Network Programming
  • QNetworkAccessManager Request/Reply
  • Bearer Management API
  • TCP/UDP Sockets
  • SSL Sockets
  • DNS and Proxies
  • QtDBus - Qt Bindings to D-Bus
  • QtDBus - Advanced Topics
Other Topics
Extending Qt with Plugins
  • Qt Plugins
  • Plugin Example: Custom Image Formats
Data Processing
  • Basic XML APIs
  • SQL Database API
  • SQL Models
XML Patterns
  • XPath, XQuery, and XSLT
  • QtXmlPatterns
  • XML Schema

Click here for mandatory computer requirements

Register

< Back to full list of training