Skip to content

Instantly share code, notes, and snippets.

Avatar

MalloyDelacroix MalloyDelacroix

  • Bowling Green, KY
View GitHub Profile
@MalloyDelacroix
MalloyDelacroix / PyQt5WindowChangeExample.py
Last active Oct 15, 2020
A PyQt5 example of how to switch between multiple windows.
View PyQt5WindowChangeExample.py
import sys
from PyQt5 import QtCore, QtWidgets
class MainWindow(QtWidgets.QWidget):
switch_window = QtCore.pyqtSignal(str)
def __init__(self):
QtWidgets.QWidget.__init__(self)
You can’t perform that action at this time.