Skip to content

Instantly share code, notes, and snippets.

View incognitozen's full-sized avatar

Dave Thorno incognitozen

  • Hpad
View GitHub Profile
@incognitozen
incognitozen / PyQt5WindowChangeExample.py
Created May 6, 2020 12:49 — forked from MalloyDelacroix/PyQt5WindowChangeExample.py
A PyQt5 example of how to switch between multiple windows.
import sys
from PyQt5 import QtCore, QtWidgets
class MainWindow(QtWidgets.QWidget):
switch_window = QtCore.pyqtSignal(str)
def __init__(self):
QtWidgets.QWidget.__init__(self)