This course will help you upgrade your C++ software development skills today!
You will learn application development with Qt and C++, from the ground up.
(make sure to check the DEMO lecture to see the final app)
C++ is a very powerful and versatile programming language.
Qt is multi-platform framework, the perfect choice for open source GUI development with C++.
In this course, you will design and create your own C++ program for the Windows platform.
You will add new features to the app, step by step.
You will learn how to write good source code, at professional-level.
You can learn programming in C++ from anyone you wish to, there are many teachers and a lot of free know-how out there.
But if you want to learn to code like a professional, here's my advice to you:
If you don't, you will be wasting your time with outdated and misguided knowledge.
And eventually you will lose many opportunities, even employment opportunities.
Now here's how the course is structured. Each lecture prepares the groundwork for the next one. You will:
You need to have a good understanding of OOP (Object Oriented Programming) fundamentals, as you will be adding and working with:
You will be organizing the program logic into C++ specific header (.h) and implementation (.cpp) source files.
You will design the GUI (Graphical User Interface) with QtCreator (part of the Qt toolkit) and make use of the signal and slots mechanism to make your buttons and other UI elements respond to mouse click or value changed events.
You will setup your custom rendering area widget that integrates flawlessly with the Qt5 framework, by inheriting from the QWidget base class and overriding abstract class methods.
You wil learn how to fix the compiler errors that can occur during development.
You will also learn how to fix linker errors caused by missing function implementations.
You will use a bottom-up approach to develop robust software.
Notice the key word here - robust.
That means professional-level C++ code.
Your programs will be designed with reusability in mind. And will be written with future upgrade capabilities in mind.
You will also use Math and Geometry in an unexpected way, to create some unusual 2D graphics shapes.
You will also get some hands-on experience by taking the course assignments.
The assignments are designed to get you comfortable with the code and teach you to extend the application on your own, after you have completed the course.
Should I go on or do you want to start learning now?
This course is the culmination of my 10 years of learning software development and working in the IT industry.
Ok, here are a few more things you will get from it:
So come on, let's start creating 2D graphics with Qt5 And C++ Gui Programming!
This lecture gives you an overall presentation of this course and answers the following questions:
Demo of the application you will build step by step in Section 1 of this course.
This course requires installing the Qt framework. This lecture is a step by step guide on how to download and set up Qt SDK as a pre-requisite for creating the first project.
GIT is a fast version control system. You will use it to store your intermediary code changes. It consists of a set of command line tools that help you keep a ledger of all the important changes of your project. This lecture is a step by step install guide for GIT.
You will install SourceTree, an application that integrates with GIT and allows you to version control your source code by using a graphical user interface. Think of it as a user interface layer on top of the GIT commands. (check External Resources for download link and a Git GUI alternative)
BitBucket is an online service that allows you to create unlimited repositories, both private and public, to store your source code and intermediary changes online. In this lecture you will create your free account.
This lecture is about doing the project groundwork:
Includes the QtCreator cheatsheet - useful shortcuts used during this course.
We will create our first commit using GIT. Then, we will create a BitBucket online repository to hold our newly created project files. Then we will use SourceTree to push the initial commit to our online repository. The first commit is a bit different from the rest, but these steps need to be done only once.
A list of handy QtCreator shortcuts to make your life easier.
This lecture is about creating and setting up a custom painting area.
This lecture is about making the application "aware" of the shapes we're going to draw:
The application must know which is the active shape:
This lecture is about drawing our first shape! It's called The Astroid and it looks like a 4-pointed curvy star.
This lecture is an initial preparation step to making the app handle all shape types dynamically:
This lecture is another preparation step for dynamic shape painting (last one, I promise)
We're adding a dispatcher function that will route the shape computing algorithm to the proper parametric functions, depending on the active shape type.
Finally! With everything in place, we're now implementing every compute function and painting all the remaining shapes.
To prove that the framework we've developed is dynamic, we're going to use it and draw a simple 50 pixels wide line, using parametric equations.
The shapes don't look so good when we're using only points to draw them.
Let's connect the dots and give the shapes a face-lift.
We're going to update the painting algorithm once and all shapes will be updated.
We're adding a spinner component to the main window to update the scale argument for the Astroid at run-time.
We're adding a new function to the render area class. It will be called every time one of the 3 shape control values is updated.
We're adding the last shape control spinner that will update the number of approximation points (stepCount). Also commiting the changes from the last 3 lectures.
This lecture is about changing the background color and the active shape color. We're:
ASSIGNMENT: You will have to modify the control variables for some of the shapes. This will get you hands-on experience with the codebase.
ASSIGNMENT: Add a Circle to the application. You are given the values for the control variables and the Circle's parametric equations for the X and Y coordinates.
ASSIGNMENT: Add an Ellipse shape to the application. You are given the values for the control variables and the Ellipse's parametric equations for the X and Y coordinates.
ASSIGNMENT: Add a Fancy shape to the application. You are given the values for the control variables and the Fancy shapes's parametric equations for the X and Y coordinates.
ASSIGNMENT: Add a Lucky Starfish shape to the application. You are given the values for the control variables and the Lucky Starfish' formula.
In this lecture we're fixing a bug in the painting algorithm.
When step count is really low, the shape is not fully drawn, but missing a line.
We're making the shapes more visible by using a QPen to set the line width and also the shape color.
Learn how to draw a cloud-like shape.
We're re-using the code from the cloud-like shape to draw an inverted cloud shape.
Introduction to debugging with Qt Creator. Working with breakpoints. Overview of the debug layout (watch list, call stack, breakpoints list).
Learn to use step over, step into, step out, continue and rum to line to troubleshoot your source code.
A quick refresh of some important C++ object oriented notions.
Contains exclusive goodies for my awesome students.
Hi, I am Dan Munteanu and I am an online entrepreneur.
I started my life's journey with software development. For 10 years, I learned and perfected my software development skills.
For over 7 years, I focused on C++ and Computer Graphics (both 2D and 3D)
I have a degree in Computer Science from a well-known University in Cluj Napoca, Romania.
But in the past years, in my spare time, I learned as much as I could about psychology. And I started applying what I learned in real life.
I upgraded my dating life and I also helped my friends upgrade their dating life and improve their self esteem.
I want to help you get the results you seek as soon as possible.
You see, I have invested thousands of hours into the topics I loved learning.
Because of this, I have the expertise required to make your learning journey much, much shorter.
That is, if you allow me to become your mentor.
I like to coach people and help them bring out the best in themselves.
I run a personal development blog for the Romanian public and I teach on Udemy since 2016.
I am constantly improving and upgrading my courses, to meet my students' expectations and help them overcome their challenges.
Fun fact: my youngest student of computer science was only 8 years old!
My motto is "As long as we're alive, learning never stops"
We should always be renewing and improving our skills and knowledge, to adapt to the ever changing demands of modern day life.
I am eager to help you reach a deep level of understanding of the topics I am an expert in.
Are you ready to start learning?