Where do I begin in creating a scheduling app like this in QT Designer

Heads up! You've already completed this tutorial.

Jonathan_Ray_Pereira | 2020-08-17 03:43:07 UTC | #1

Capture|690x366

Hi guys, The picture I have uploaded shows a scheduling app that we use at work. I would like to remake it in Designer with a Odoo Python backend/database. I just want to know, How to start designing it in Designer?


Eolinwen | 2020-08-23 17:01:27 UTC | #2

Hi Jonathan_Ray_Pereira and welcome to the forum.

I told you two things.

1 - if you have never use Qt Designer, you should take a look at this tutorial => https://www.pythonguis.com/courses/qt-creator/creating-dialogs-qt-designer/. Keep in mind that you want to make a big app and you should well take in hand the software.

Packaging Python Applications with PyInstaller by Martin Fitzpatrick — This step-by-step guide walks you through packaging your own Python applications from simple examples to complete installers and signed executables.

More info Get the book

2 - Before making this application, you must things at all. After, you should take a paper and make a draft and in this one specified all your widgets, your toolbars (if you want to have those),...etc... Why ? Because you will be unable to modify them (except for minor modifications and again)

This screenshot from the qt documentation about how to work an QMainwindow LAYOUT will be helpful for you to understand how get the same things. [url=http://pix.toile-libre.org/?img=1598206458.png][/url]


martin | 2020-09-07 11:43:55 UTC | #3

Hey @Jonathan_Ray_Pereira

I think for an application like this you'd want to look at the Qt model views. Using this approach you have a model which acts as an interface between your data (e.g. your database backend) and the view (what is shown). The layout of that schedule that you show is basically a spreadsheet-like table, so you could use the QTableView.

There is a tutorial on table view models on the site.

In Qt Designer you would be adding the (empty) QTableView to a layout, along with the other widgets shown around it. The actual display/drawing of the schedule would be done in your code, not in Qt Designer, since it's dynamic.

Hope that helps some?


delvian | 2020-10-02 02:03:38 UTC | #4

Hi Jonathan,

Have you managed to get this done yet? I'm the guy that gave you a quote on Fiverr and you said I was too expensive. I can do it cheaper if I'm going to be helping you instead of doing it all myself ;)

Regards, Delvian


Well done, you've finished this tutorial! Mark As Complete
[[ user.completed.length ]] completed [[ user.streak+1 ]] day streak

Where do I begin in creating a scheduling app like this in QT Designer was written by Martin Fitzpatrick .

Martin Fitzpatrick has been developing Python/Qt apps for 8 years. Building desktop applications to make data-analysis tools more user-friendly, Python was the obvious choice. Starting with Tk, later moving to wxWidgets and finally adopting PyQt.