This commit is contained in:
2024-05-22 18:06:20 +02:00

View File

@@ -31,20 +31,20 @@ class T2000ErdemGUI:
# Eingabefeld für direkte Drehmomentvorgabe
tk.Label(self.root, text="Soll-Drehmoment in Nm:").place(x=10, y=220)
self.torque_value = tk.DoubleVar()
tk.Entry(self.root, textvariable=self.torque_value).place(x=170, y=220)
tk.Entry(self.root, textvariable=self.torque_value).place(x=200, y=220)
# Anzeige für aktuellen Drehwinkel und Drehmoment
tk.Label(self.root, text="Aktueller Drehwinkel:").place(x=10, y=260)
self.current_angle = tk.Label(self.root, text="0" + "°")
self.current_angle.place(x=170, y=260)
self.current_angle.place(x=200, y=260)
tk.Label(self.root, text="Aktuelles Drehmoment:").place(x=10, y=300)
self.current_torque = tk.Label(self.root, text="0" + " Nm")
self.current_torque.place(x=170, y=300)
self.current_torque.place(x=200, y=300)
# Button zum Schließen der Anwendung
self.close_button = tk.Button(self.root, text="Beenden", command=self.close_application)
self.close_button.place(x=350, y=560)
self.close_button.place(x=300, y=560)
# Button zur Erstellung des Diagramms
self.plot_button = tk.Button(self.root, text="Eingaben übernehmen", command=self.on_plot_button_click)