Python GUI Project Tutorial Part 04: Make a Subclass for Your UI MainWindow

preview_player
Показать описание
CODE for subclass:
#################################
import sys
from PySide2 import QtWidgets
from Template import Ui_MainWindow

class MainWindow(QtWidgets.QMainWindow, Ui_MainWindow):

def __init__(self):
super(MainWindow, self).__init__()

if __name__ == '__main__':
mainWin = MainWindow()

#################################

In this series, we go through Python Graphical User Interface Application development using Qt Designer, PySide2, and PyInstaller, from design to deployment. I go through an application I developed called Template, and show you how I created this application. This video explains how to go from a .ui file to Python code.

Let's connect!

Рекомендации по теме
Комментарии
Автор

You should really continue this series, people were enjoying it and you broke it down really nicely

nickmarshallvfx
Автор

Duudee make more, ur like the only one who explains it so well

idkwhatnameilikewhy
Автор

Hey, dude! You are awesome! Don't give up on your channel, people like you make this platform a better place for both developers and other people. waiting to see more videos from you :^)

davidissak-zade
Автор

Great tutorial but I don't see part 5 where you write the code for the triggers i.e. signals and slots?

cosmicwarhead
Автор

Correction to line +/- 15 If __name__=='__main__':

warwickrigby
Автор

Great tutorials, shame you did not continue. There is so much crap out there.

warwickrigby
welcome to shbcf.ru