Qt Widgets for Beginners with C++

An introduction to Qt Widgets and Desktop programming, designed for students who know the Qt Core library

4.62 (475 reviews)
Udemy
platform
English
language
Other
category
instructor
18,775
students
17.5 hours
content
Dec 2020
last update
$74.99
regular price

What you will learn

Qt 5

Foundations of Qt Widget programming

QWidget

QPushButton

QCheckBox

QRadioButton

QGroupBox

QFrame

QTabbedWidget

QStackedWidget

QListWidget

QTreeWidget

Model View Controller Programming (MVC)

QStringListModel

QFileSystemModel

QStandardItemModel

Plain Text Editors

Rich Text Editors

Using the Clipboard

File Handling

Dialogs

Main Windows

Multiple Dialog Interface (QMDIArea)

Basic UI Design

Tri-state CheckBoxes in Lists

Avoiding Common Mistakes

Description

This course targets Qt5 but is mostly compatible with Qt6 - I am in the process of recording the Qt6 material, anyone owning this course will get a free upgrade to the Qt6 version.


Qt 5 Widgets and Desktop programming with C++ is designed for anyone who has a solid understanding of C++ and Qt 5 Core. This course will take you all the way from "what is a button" to model view controller programming. Includes full source code available on GitHub, and includes an entire section of example applications. This course overs Qt 5. Because Qt 6 has so many changes, I will re-record these lessons using Qt 6 and place them into a different course.


No experience with QML necessary, this is a beginners course that will teach you the foundations Widgets cross platform development. Widgets run on most major desktops (windows, mac, linux).


We will start with a short introduction to Widgets, and then rapidly move on to more complex topics.


This course is specifically designed for Qt 5 with beginner in mind but as I mentioned, most of this is comptatible with Qt6. These videos take you from knowing nothing about Qt Widgets to creating intermediate level applications using C++. These videos build on the popular Qt Core series available on Udemy. These videos show many best practices and how to overcome common mistakes. About the author: Bryan has created  hundreds of Qt tutorials available on YouTube and has created official Qt training videos for the Qt Company. Full source code available on GitHub, and runs a Facebook community with thousands of developers that can offer free help 24x7.


Highly recommended that you have a strong foundation in Qt Core before attempting this course - fear not, I have other courses available on Udemy:


Qt 5 Core Beginners

Qt 5 Core Intermediate

Qt 5 Core Advanced

Content

Diving into QWidget

QDialog
QDialog with Signals and Slots
Using the Editor vs coding
Multiple ways to use Signals and Slots
Section 1 - Quiz

Layouts

Absolute Layout
Horizontal Layouts
Vertical Layouts
Grid Layouts
Form Layout
Multiple Layouts
Professional layout example
Splitters
Section 2 - Quiz

Buttons, and checkboxes

QPushButton
QCheckBox
QRadioButton
QCommandLinkButton and QDialogButtonBox
Security Panel Example
Section 3 - Quiz

Combos, lists, spinbox, and more

QComboBox
QListWidget
QFontComboBox
QLineEdit in depth
QPlainTextEdit
QSpinBox
Working with dates and times
Basic user interface design mistakes
Validating user input
Section 4 - Quiz

Resources

Introduction to resources
Common resource mistakes
Example - resource explorer
Resources in libraries
Section 5 - Quiz

Multiple Dialogs

Showing other dialogs
Exec other dialogs
Passing data between dialogs
passing custom classes between dialogs
Section 6 - Quiz

QMainWindow

Introduction to QMainWindow
Example - Text Editor Step 1
Example - Text Editor Step 2
Example - Text Editor Step 3
Example - Text Editor Step 4
Section 7 - Quiz

Containers

Naming UI Elements
QScrollArea and standard icons
QToolBox
QTabWidget
QStackedWidget
Multiple Document Interface (MDI)
Section 8 - Quiz

Rich Text Editor Example

Rich Text Editor Step 1 - Basic Layout
Rich Text Editor Step 2 - File IO
Rich Text Editor Step 3 - Copy, Cut, Paste, Undo, Redo
Rich Text Editor Step 4 - Find Dialog
Rich Text Editor Step 5 - Replace Dialog
Rich Text Editor Step 6 - Bold, Italic, Underline
Rich Text Editor Step 7 - Color Dialog
Rich Text Editor Step 8 - Font Dialog
Rich Text Editor Step 9 - About Dialog
Rich Text Editor Step 10 - Custom HTML
Section 9 - Quiz

Models

Model View Programming
QStringListModel
QFileSystemModel
QStandardItemModel - List
QStandardItemModel - Table
QStandardItemModel - Tree
QFileSystemModel - How to sync models
Extracting data from a model
Section 10 - Quiz

Complete Example Applications

Introduction to the examples
Example - Bad Calculator
Example - ToDo List
Example - Clippy
Example - StopWatch
Example - TCP Chat Server
Example - TCP Chat Client
Example - ScreenShot
Example - Paths Builder
Bonus Lecture

Screenshots

Qt Widgets for Beginners with C++ - Screenshot_01Qt Widgets for Beginners with C++ - Screenshot_02Qt Widgets for Beginners with C++ - Screenshot_03Qt Widgets for Beginners with C++ - Screenshot_04

Reviews

Franz-Josef
January 8, 2023
it's just average, there are much better courses for beginner with much more information out there. very pitty for me, no database for example I found out too late.
Charlie
November 8, 2022
The course is good, It is slightly outdated now, and has a functionality issue with windows, this has been corrected in the source code, but not the videos. the resolution is 1080p and so it is slightly blurry.
Eric
May 4, 2022
Before I started the course, I was not sure that I would ever understand GUI or event driven programs. I can now do at least simple Qt widgets programs. I highly recommend this course to beginners.
Drew
February 7, 2022
As far as I gone in this and with my prior experience with QTCreator I still managed to learn more about how to create applications in QT and C++ and how to use features I previously would not have used that will prove useful in the future.
Peter
February 2, 2022
Bryan Cairns ist der beste Kurslehrer, die ich bei Udemy kenne. Das Audio ist von hoher Qualität (das ist leider bei den Udemy Kursen die Ausnahme), das Video immer ausreichend auflösend (auch das ist nicht bei allen Kursen so) und die Didaktik hervorragend. Kann ich nur weiterempfehlen!
Rando
December 27, 2021
Good stuff. Hope new videos will come out eventually :). I like the general attitude of the instructor in terms of teaching new things to people. This is the first course I'm taking, so am only basing this on the start of this course basically. But well the start and some end bits are mostly necessary, since the api reference is good for basic widgets.
Stefano
June 11, 2021
I was interested in learnig GUI with C++ and this corse was very helpfull. I also liked the row video without editing because you can se the normal errors thath everyone can do from bad typing to logical error, it is a good choice to make them.
marco
November 27, 2020
Yes. I already have been developing a Qt app. Until now, I can understand everything that the author has been exposing.
Moreshwar
August 16, 2020
A lot of new things, lot of practice and to top it, I was able to write the code for char server myself.. phew. The instructor was quick to answer and gave a lot of pointers but I had to sit doc.qt.io to look at the qt docs. i obviously don't expect the instructor to tell all. Using what was taught and looking at what was available in QT docs, I was able to do a lot of experiments. I need to practice the QT Model programming though and look at lectures again to make sure I understand how it is implemented in all. I wish the quizzes need improvement and I have put it out in questions. I hope the instructor corrects them. There was also a mistake in github code which I pointed out and it was duly corrected (practical example of raw coding). The raw coding, boosted my confidence. What I know is that no one is a perfect coder and all make mistakes. I also did the same mistake twice (put init in dialog destructor and then wondering why no buttons in QDialogButtonBox. I do wish to see media player and other advanced widgets in action as I need to use it practically. I hope courses come up for that very soon. I also wish that course be updated for Qt 5.15 .0 as there are some deprecated things like QAbstractSocket:: error. I know the instructor cannot keep updating lectures with every new release but I think it should be updated once in a while so that we are up to date.
Terry
August 10, 2020
I have been taking the QT courses from Bryan. He is straight and to the point. Effective. Looking forward to the intermediate/advanced QT Widgets courses.
Mohammad
June 3, 2020
i'm really grateful for this course because it taught me a lot which helped me to get better in no time. i highly recommend this course to anyone who is really interested in the QT framework and want to know more either for a professional or just out of curiosity.
Kevin
April 26, 2020
A very good introduction to the gui side of QT. Good clear video and a wide range of subjects covered.
Joshua
April 16, 2020
This course was exactly what I was looking for! There are some old GUIs that we are wanting to rebuild at my workplace and by the end of this course I was able to build a working prototype of one of our designs! Thank you Bryan for all of your relevant UI examples!
Colin
January 31, 2020
I have already built a few small 'apps' with the UI but now realize how hard I was working......! I am learning easier ways to do things with each lecture.
John
December 3, 2019
Skips too many explanations, says to do something but if you are trying to follow along you have to rewind the video to see what was done. Thanks, I really liked the ones that were unedited.

Coupons

DateDiscountStatus
12/4/2019100% OFF
expired
11/3/2020100% OFF
expired
5/6/2021100% OFF
expired

Charts

Price

Qt Widgets for Beginners with C++ - Price chart

Rating

Qt Widgets for Beginners with C++ - Ratings chart

Enrollment distribution

Qt Widgets for Beginners with C++ - Distribution chart

Related Topics

2619686
udemy ID
10/22/2019
course created date
12/4/2019
course indexed date
Bot
course submited by