summaryrefslogtreecommitdiff
path: root/I2C-CONTROLLER/gui.py
diff options
context:
space:
mode:
authornasrlol <nsrddyn@gmail.com>2024-11-27 03:29:03 +0100
committernasrlol <nsrddyn@gmail.com>2024-11-27 03:29:03 +0100
commit446f3d4742f88b09c85e83e96f6505cd3f6302c5 (patch)
treea3e16464ee3cc1f158092fd43806b7686a88c0a3 /I2C-CONTROLLER/gui.py
parentdf6d2c51b15d55a30b8515de637aa7af490b2d95 (diff)
switched to using qt
Diffstat (limited to 'I2C-CONTROLLER/gui.py')
-rw-r--r--I2C-CONTROLLER/gui.py25
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())