Skip to content

Instantly share code, notes, and snippets.

View MalloyDelacroix's full-sized avatar

MalloyDelacroix MalloyDelacroix

  • Bowling Green, KY
View GitHub Profile
@MalloyDelacroix
MalloyDelacroix / StarRating.jsx
Created March 16, 2021 15:00
Simple React Star Rating Bar
import React from 'react';
import PropTypes from 'prop-types';
import './star-rating.scss';
class StarRating extends React.Component {
constructor(props) {
super(props);
@MalloyDelacroix
MalloyDelacroix / PyQt5WindowChangeExample.py
Last active July 4, 2023 09:05
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)