Mô tả

Welcome to Qt 6 C++ GUI Development for Beginners.

Qt is a cross platform application development framework. It can be used to build Graphical User interfaces that can run on Windows, Mac Linux , mobile platforms like android and ios, even embedded devices.

This course will focus on using Qt Widgets to build robust cross platform desktop applications capable of running well on major desktop Operating Systems like Windows , Mac and Linux.

While Qt Widgets can technically run both on mobile and embedded, it's better and less painful to use QML, another technology provided by the Qt framework. If you want to target mobile and embedded, then please check our courses on QML and Qt Quick. This course doesn't QML , Mobile or embedded!

The course assumes no prior knowledge of Graphical User Interface Development and even provides a C++ refresher crash course for those in need of a helping hand to get up and running with C++ within the Qt environment. By the time you are done with the course, you'll not only be armed with knowledge you could use to build basic to intermediate Graphical user interfaces, but you will also have enough momentum to use the documentation to even learn more on your own. As with my other courses, I use every chance I get to show you how to use the documentation to find solutions on your own and faster.

Let's take a look at the content of the course.

We start with a complete beginner to both C++ and Qt in mind, and we take  you through the the process of getting your environment set up on your platform of choice :

  • We do a live install of Qt Creator on Windows

  • We do a live install of Qt Creator on Linux

  • We guide you though how you would install Qt Creator on a Mac

We then take you on a tour of the C++ programming language, covering the concepts deemed important to start working with Qt to build your shinny GUI applications. You don't need to be a C++ wizard to start writing your applications using Qt. One of the goals behind Qt itself is to be as easy to use as possible, helping you to focus on your application logic rather than the C++ complex plumbing. This does not mean that you can do with zero C++ knowledge though. That's why we take you on a tour to cover the basic concepts of the language covering topics like:

  • Running your first console application and understanding the main function

  • Streams that help you write and read data from your C++ applications

  • Variables and Data Types

  • Basic C++ Operators and Control flow where among other things you learn about if clauses and loops

  • Build an app to guess numbers and put together the concepts learned so far

  • C++ Functions

  • C++ classes

  • Building your first Qt C++ GUI Application

  • Building a GUI Version of your Number guessing game

We then visit the fascinating concept signals and slots in Qt where  you learn the most flexible way to respond to events : 

  • We'll explore lambda functions in C++ in general, we'll need them to use their SIGNAL SLOT syntax

  • We explore different ways to connect signals to slots in Qt

  • We then do a concept enforcing demo for you to try them out

Next we dive in the Qt Widgets section and visit some of the most important widget classes in Qt : 

  • QWidget

  • QMainWindow

  • QMessageBox

  • QPushButton

  • QLineEdit

  • QTextEdit

  • QLabel

  • QHBoxLayout, QVBoxLayout, QGridLayout

  • We visit size policies and stretches and how they help tie the knots in  your layouts

  • QCheckBox and QRadioButton

  • QList

  • QComboBox

  • QListWidget

  • QTabWidget

  • QMenu, QToolBar, QAction

Dialogs are explored next , we look at QDialog and how to build  your own custom dialog class from scratch , QDialogButtonBox, QMessageBox, QFontDialog, QFileDialog, QInputDialog and how they add a layer of interactivity to your Qt GUI applications.

We then go on and explore how to work with the Qt Resource System , Styling your Qt applications with QStyle, QPalette and Style Sheets, Saving your application settings with QSetting, Working with Files and Directories using QFile and QDir,  working with the network capabilities of Qt where we : 

  • See the different classes that are available to work with networks in Qt

  • Build an application to download web pages in our Qt Applications

  • Build an application to consume Rest APIs in your Qt Applications

and we wrap up the course looking at the Model View Architecture of the Qt framework where we learn about classes like

  • QListWidget

  • QTableWidget

  • QTreeWidget

  • QListView

  • QTableView

  • QTreeView

  • QStandardItemModel

  • QAbstractItemTableModel

  • QAbstractItemListModel

  • QStringListModel

  • and much more!

Qt has quite a huge user base and there are thousands of projects using both open source and commercial, including the one I am using to record this video right now. If you want to build cross platform graphical user interface applications using C++, this course is designed with the skill, patience and depth, needed to get you there as effisciently as possible. Please check out some of the preview videos and let's get you started building cross platform GUI applications using C++ and Qt 6.

Bạn sẽ học được gì

The fundamentals of working with Qt to build C++ Gui Applications

Working with Qt Widget Classes

Working with Dialog Classes

Using the Qt Resource System

Styling Qt Applications

Working with Networks to fetch HTTP Data

Working with the File System

Model View Architecture

Yêu cầu

  • Basic knowledge of working with Computers
  • Open mind and strong willingness to learn how to build Qt C++ Gui applications
  • Basic understanding of programming will be useful but not required

Nội dung khoá học

14 sections

Welcome

3 lectures
Welcome
10:03
What you'll build
14:06
About the source code
00:10

Environment Setup

4 lectures
Environment setup - Windows
17:08
Environment setup - Linux Ubuntu
18:43
Environment setup - Mac
02:05
Teaser
21:19

Getting Started , C++ Crash Course

16 lectures
Introduction
02:16
Qt Creator User Interface
06:15
Standard C++ Console Apps (Non Qt Console)
04:59
Qt Console Apps
08:39
Streams
07:09
Data Types
16:00
Flow Control and Loops
16:53
Practice- Guess My Number
14:14
Functions
12:51
Classes : Declarations and Instantiations
14:21
Classes : Constructors
19:00
Classes : Multiple Files
15:05
Build Process : Declarations and Definitions
14:50
Qt GUI Intro
11:28
Practice - Guess My Number GUI
21:51
Summary
00:52

Memory Management

5 lectures
Introduction
00:49
Heap and Stack Memory
19:53
Smart Pointers
13:46
Qt Parent Child Relationship
11:19
Summary
01:00

Signals and Slots

7 lectures
Introduction
01:01
Lambdas
30:09
Signals and Slots
20:03
Practice - Slider and ProgressBar Connected
09:23
Practice - Calory Counter
21:32
Qt6 Property Bindings
01:33
Summary
01:00

A tour of Qt Widgets

19 lectures
Introduction
01:07
QWidget
24:19
QMainWindow
23:18
QMessageBox
14:00
QPushButton
06:44
QLineEdit
18:54
QTextEdit
15:41
QLabel
14:32
QHBoxLayout
12:06
QVBoxLayout
07:03
Size Policies And Stretches
12:38
QGridLayout
09:53
QRadioButton and QCheckBox
16:39
QList
06:36
QListWidget
12:57
QTabWidget
09:39
QComboBox
14:06
Menus, Toolbars and Actions
20:46
Summary
02:19

Dialogs

8 lectures
Introduction
00:50
QDialog
31:38
QDialogButtonBox
16:57
QFileDialog
16:42
QFontDialog
06:21
QColorDialog
12:26
QInputDialog
09:24
Summary
01:05

Resources

3 lectures
Qt Resource System Theory
04:45
Qt Resource System Demo
12:21
Summary
01:26

Styling

6 lectures
Styling Overview
06:26
QPalette
11:38
Stylesheets - Inline
14:01
Stylesheets - External
20:48
More with stylesheets
05:25
Summary
02:56

Settings

3 lectures
Settings Theory
05:48
Settings Demo
27:27
Summary
00:53

Files and Directories

3 lectures
QFile
21:31
QDir
16:42
Summary
00:42

Model View Architecture

13 lectures
Introduction
01:11
Model View Architecture
23:58
QListWidget
16:58
QTableWidget
17:36
QTreeWidget
12:20
QListView and QStringListModel
17:47
QTableView and QStandardItemModel
14:49
QTreeView and QFileSystemModel
18:54
Accessing Data in Models - QModelIndex
10:44
QAbstractItemModel API
07:29
Read Only Custom Table Model
27:46
Editable Custom Table Model
11:24
Summary
02:52

Working with Network

4 lectures
Qt Network Offerings
07:28
QNetworkAccessManager
19:41
Building and JSON http client
14:05
Summary
00:52

Wrapping up

4 lectures
Use the Documentation
04:58
Use the Examples
06:03
Farewell
02:43
BONUS - Course Discounts
00:33

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.