diff options
Diffstat (limited to 'I2C-CONTROLLER/gui.py')
| -rw-r--r-- | I2C-CONTROLLER/gui.py | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/I2C-CONTROLLER/gui.py b/I2C-CONTROLLER/gui.py deleted file mode 100644 index a8f1f35..0000000 --- a/I2C-CONTROLLER/gui.py +++ /dev/null | |||
| @@ -1,25 +0,0 @@ | |||
| 1 | import sys | ||
| 2 | import PySide6 import QtCore, QtWidgets, QtGui | ||
| 3 | from ui_form import Ui_GUI # Assuming this is the file generated from your .ui file | ||
| 4 | # from hardware_driver import custom_greeting, pomodoro, system_readings, display_uptime, recognize_speech, save_notes | ||
| 5 | |||
| 6 | |||
| 7 | class gui(QMainWindow): | ||
| 8 | def __init__(self, parent=None): | ||
| 9 | super().__init__(parent) | ||
| 10 | self.ui = Ui_GUI() # Assuming this is the auto-generated UI class | ||
| 11 | self.ui.setupUi(self) | ||
| 12 | self.setWindowTitle("LCD1602") | ||
| 13 | |||
| 14 | |||
| 15 | |||
| 16 | |||
| 17 | |||
| 18 | if __name__ == "__main__": | ||
| 19 | app = QApplication(sys.argv) | ||
| 20 | |||
| 21 | widget = gui() | ||
| 22 | widget.resize(800, 600) | ||
| 23 | widget.show() | ||
| 24 | |||
| 25 | sys.exit(app.exec()) | ||
