main file for binary creation

This commit is contained in:
WorldTeacher
2024-02-09 13:16:22 +01:00
parent 925a3c5033
commit 0400a225d1

20
main.py
View File

@@ -1,6 +1,20 @@
from src.logic import userInterface
from src.logic.dataclass import Subjects
from src.ui.widgets.graph import GraphWidget
def display_graph():
import sys
from PyQt6 import QtWidgets
app = QtWidgets.QApplication(sys.argv)
data = {
"x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
"y": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10],
"y2": [10, 9, 8, 7, 6, 5, 4, 3, 2, 1],
}
widget = GraphWidget(data=data, legend_labels=["+", "-"])
widget.show()
sys.exit(app.exec())
if __name__ == '__main__':
userInterface.launch_gui()
# print(Subjects.get_index("Physik"))
# print(SEMAP_MEDIA_ACCOUNTS)
# display_graph()