Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Qt Widgets for Beginners with C++
Rating: 4.6 out of 5(587 ratings)
19,726 students

Qt Widgets for Beginners with C++

An introduction to Qt Widgets and Desktop programming, designed for students who know the Qt Core library
Created byBryan Cairns
Last updated 7/2022
English

What you'll 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

Course content

11 sections74 lectures17h 17m total length
  • QDialog6:11

    Build a cute widgets desktop app in Qt using a dialog base class, configure a CMake build, and explore essential widgets and the designer UI XML.

  • Versions - Qt 5 vs Qt 60:51
  • QDialog with Signals and Slots4:06

    Demonstrate how QDialog inherits QWidget, use signals and slots to trigger accept, and explore designer generated xml and the meta object compiler behind Qt widgets.

  • Using the Editor vs coding10:11

    Compare editor-based design with coding in Qt Widgets for Beginners by building a dialog with a line edit, label, buttons, and a message box.

  • Multiple ways to use Signals and Slots9:30

    Demonstrate three methods to connect signals and slots in Qt widgets—internal, editor, and explicit connect—via a dialogue app. Learn when to use each method and how debugging supports the workflow.

  • Section 1 - Assignment
  • Section 1 - Quiz

Requirements

  • Qt Core Beginners
  • Qt Core Intermediate
  • Qt Core Advanced
  • C++ Programming

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

Who this course is for:

  • C++ programmers wanting to create desktop applications
  • Students that have studied the Qt Core series on Udemy
  • Developers supporting or creating Qt Widget desktop applications in C++