Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 601 Bytes
import sys
from PyQt5 import QtCore, QtWidgets
def main():
# We need to make the QApplication before our QMainWindow
# We also need to pass in our system argument values (sys.argv)
app = QtWidgets.QApplication(sys.argv)
main_window = QtWidgets.QMainWindow()
# QMainWindow requires a central widget, so we'll just pass in a
# blank widget for now
blank_widget = QtWidgets.QWidget()
# Show our main window
# Start the event loop processing
if __name__ == '__main__':
You can’t perform that action at this time.