Description
QT is an object-oriented framework that offers components for graphical interface (widgets), data access, network connections, etc. This training will teach you to identify the important elements of a QT project and the different graphic components offered, and to use them with XML.
Who is this training for ?
For whom ?
Developers and project managers.
Prerequisites
Good knowledge of the C++ language. Basic knowledge of XML. Experience required in C++ development.
Training objectives
Training program
- Overview of the QT language
- - History of the language.
- - The different possibilities of use.
- - Other existing graphics libraries.
- The different types of projects
- - Presentation of the different types of projects with QT.
- - Presentation of QT Creator.
- - The basic structure of a HMI-based application.
- - Exercise: Creating a first QT application.
- Important elements of a project
- - Pro files, graphic design (ui).
- - Internationalization management files (ts and qm).
- - Basic types of the language ( qint, qfloat.).
- - Compiling with qmake.
- - The QObject class.
- - Presentation of the MVC model.
- - The model MVC in QT.
- - Exercise: Study of a project file for setting up the application.
- The different graphic components
- - The basic components of the HMI (QMainWindow, QFrame, QLabel.).
- - Management of component positioning.
- - Dialog boxes (QDialog ).
- - Menus (QMenu).
- - Predefined and custom templates.
- - QT visual design tools (QT Designer.).
- - Exercise: Setting up the application structure.
- Event management
- - Signal and slot concepts.
- - Declaration of signals and slots.
- - Install event filters.
- - Access the application during heavy processing (timer and hasPendingEvents).
- - Exercise: Adding event management to the application.
- The QT Plug-in System
- - Understand what plug-ins are with QT.
- - The different plug-in classes (QStylePlugin.).
- - The elements necessary for setting up installation of a plug-in for QT.
- - Development of application managing plug-ins.
- - Exercise: Development of a simple plug-in.
- Go further with QT
- - Using XML with QT.
- - Reminder about XML, DOM and SAX parsers.
- - Parsing XML documents using QT.
- - Internationalization.
- - Reminder about Unicode.
- - The QTranslator object.
- - The QT Linguist application.
- - Cross-platform applications .
- - QT Mobility.
- - Exercise: Using an XML file to store application data.
- - Internationalization of the application .