Course info
Oct 10, 2014
2h 17m

In Part 2 of the Python Desktop Application Development course, the focus is primarily set on the design and the user experience. In this course we will use QtDesigner, a WYSIWYG tool that will enable us to create beautiful applications with ease. We will implement icons, style our buttons, and familiarize ourselves with some more advanced UI elements, as well as some features of Qt such as the splash screen, system tray icon, and notifications.

About the author
About the author

Bo is a senior software developer from Serbia who is deeply involved with Python. In the past years, Bo has taught several courses online and offline at various universities.

More from the author
Python: Getting Started
2h 59m
Apr 27, 2017
Python Desktop Application Development
1h 43m
Sep 4, 2014
Section Introduction Transcripts
Section Introduction Transcripts

Introduction and Course Overview
Hi, and welcome to "Python Desktop Application Development Course, Part 2. " My name is Bo Milanovich and I will be your instructor for this course. This course builds on Part 1 of the same course, in which we discussed the foundations and basic principles of building Python desktop applications with Qt. In this course, however, we are going to focus more on the design of our application and the user experience as a whole. We'll also use some tools that will, trust me, make our lives a lot easier as Python RQ developers. But, to better understand this course and what's it all about, and kind of see what the expectations are as well, let's look at a course overview.

Welcome to the second module of "Python Desktop Application Development Course, Part 2. " My name is Bo Milanovich. In this module, we'll familiarize ourselves with Qt Designer. We'll learn how to use its power, only for good of course, how to lay out our application, but also how to use some other tools that PyQt ships with that will enable us to run the application we design and also access its objects from within our own Python code. At the end of this module, you should know how to design a basic application and how to integrate it with your code.

Advanced QWidgets
Welcome to Python Desktop Application Development Course, Part 2. And, to the "Advanced QWidgets" module. My name is Bo Milanovich. And, in this module, we'll talk about some of the more advanced QWidgets. But, what do I mean by advanced? Well, we'll take a look at some of the widgets that we just mentioned before, such as a QMainWindow, QMenuBar, QStatusBar, and more. All of which are sort of required to make your application complete. We'll see how all of them play nice together as if they're meant for each other. Well, in fact, they are, so, yeah. Anyway, let's start off with the oldest kid on the block: The QMainWindow.

Making Our Applications Beautiful
Welcome to the fourth module of the Python Desktop Application Development Course, Part 2. My name is Bo Milanovich and the name of this module is "Making Our Applications Beautiful. " We're at the point now where we have the learned the basics of the UI design, so why not just feel free to explore the unknown and customize the way our applications look. Now, despite the module's title, I'm not 100% sure that the application that we're going to make in this module is going to be beautiful itself simply for one reason. To be honest with you, I'm really not a good designer. However, for this module, my goal is to show you the tools how you can make your applications beautiful in the future. We will accomplish this by styling our application using the CSS, as I mentioned earlier, but we'll also see how to add icons and images to our application. And, I promise you I'll give my best shot at design. An attractive application can have many benefits if done properly, of course, which may end up bringing you high revenues down the road. First impression is very important, but you know that already. So, let's start off by creating a new application and then exploring the various CSS properties that our QWidgets come with.

Let's Get the Application Running!
Welcome to the fifth module in the second part of the Python Desktop Application Development course. As you probably know by now, my name is Bo Milanovich. In the previous module, we mostly looked at the core of the design of our application. We saw many different QWidgets in action and we learned how we can style those widgets and be more appealing to the eyes. Well, if not more appealing, at least certainly unique. We also added icons to our application as well. Application design, however, is just one of the parts of the overall user experience. As important as a design is, there's another important part and that's the functionality side, which can also be very tied to the design itself. For this reason, we're now going to jump into the code. In this module, we'll learn how to create our own system tray menus or menus overall, which can be reusable, how to implement splash images, which is an image that appears when your application is loading, at least in some applications, and we'll also see how we can use the operating system's notification API to send the user a notification. And, you may be wondering what that is, but I promise you you've seen it before. And, finally, and probably most importantly, we'll see our application in live action, not just as a preview from Qt Designer. Okay, ready? Let's get to work.

Congratulations and Thank You!
I have just two things to say to you: Congratulations and thank you. We've definitely come a long way and I'm sure that by now you have the knowledge necessary to build some fairly complex applications. But, as I always say, practice makes perfect. Once again, we're just scratching the surface of the enormous Qt API, but we're getting there. So, congratulations. You took a major step. I hope that you found this course pleasant and that you learned something new. I, of course, always welcome feedback and constructive criticism. And for that, I thank you.