diff options
| author | nasrlol <nsrddyn@gmail.com> | 2024-11-27 03:29:03 +0100 |
|---|---|---|
| committer | nasrlol <nsrddyn@gmail.com> | 2024-11-27 03:29:03 +0100 |
| commit | 446f3d4742f88b09c85e83e96f6505cd3f6302c5 (patch) | |
| tree | a3e16464ee3cc1f158092fd43806b7686a88c0a3 /I2C-CONTROLLER/gui.py | |
| parent | df6d2c51b15d55a30b8515de637aa7af490b2d95 (diff) | |
switched to using qt
Diffstat (limited to 'I2C-CONTROLLER/gui.py')
| -rw-r--r-- | I2C-CONTROLLER/gui.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/I2C-CONTROLLER/gui.py b/I2C-CONTROLLER/gui.py new file mode 100644 index 0000000..a8f1f35 --- /dev/null +++ b/I2C-CONTROLLER/gui.py @@ -0,0 +1,25 @@ +import sys +import PySide6 import QtCore, QtWidgets, QtGui +from ui_form import Ui_GUI # Assuming this is the file generated from your .ui file +# from hardware_driver import custom_greeting, pomodoro, system_readings, display_uptime, recognize_speech, save_notes + + +class gui(QMainWindow): + def __init__(self, parent=None): + super().__init__(parent) + self.ui = Ui_GUI() # Assuming this is the auto-generated UI class + self.ui.setupUi(self) + self.setWindowTitle("LCD1602") + + + + + +if __name__ == "__main__": + app = QApplication(sys.argv) + + widget = gui() + widget.resize(800, 600) + widget.show() + + sys.exit(app.exec()) |
