Browse Source

Merge branch 'master' of http://es-lab.de:60080/vreiss/KlausurTool

Nils Dohndorf 7 years ago
parent
commit
16f827d965
1 changed files with 7 additions and 7 deletions
  1. 7 7
      ToolV00.py

+ 7 - 7
ToolV00.py

25
 		global date
25
 		global date
26
 		name  = entry1.get()
26
 		name  = entry1.get()
27
 		date  = entry2.get()
27
 		date  = entry2.get()
28
-		button1.config(text = "Weiter", command = root.destroy)
28
+		root.destroy()
29
+#		button1.config(text = "Weiter", command = root.destroy)
29
 	def VerbergeHilfeName():
30
 	def VerbergeHilfeName():
30
 		button3.config(text = "Hilfe", fg = "green", command = ZeigeHilfeName)
31
 		button3.config(text = "Hilfe", fg = "green", command = ZeigeHilfeName)
31
 	def ZeigeHilfeName():
32
 	def ZeigeHilfeName():
89
 	def WertUebernehmen():
90
 	def WertUebernehmen():
90
 		global ProzentSatz
91
 		global ProzentSatz
91
 		ProzentSatz = float(entry1.get())
92
 		ProzentSatz = float(entry1.get())
92
-		button1.config(text = "Weiter", command = root.destroy)
93
+		root.destroy()
94
+#		button1.config(text = "Weiter", command = root.destroy)
93
 	root = Tk()
95
 	root = Tk()
94
 	root.title("Prozentsatz zum Bestehen")
96
 	root.title("Prozentsatz zum Bestehen")
95
 	Label(root, text = "Prozentsatz").grid(row = 0, column = 0)
97
 	Label(root, text = "Prozentsatz").grid(row = 0, column = 0)
208
 	Farbauswahl = ["red", "black"]
210
 	Farbauswahl = ["red", "black"]
209
 	Farbe = 0
211
 	Farbe = 0
210
 	root = Tk()
212
 	root = Tk()
211
-
213
+	root.title("Notenspiegel")
212
 	for i in range(41):
214
 	for i in range(41):
213
 		if Farbe < 1:
215
 		if Farbe < 1:
214
 			Farbe += 1
216
 			Farbe += 1
268
 	root.mainloop()
270
 	root.mainloop()
269
 def Hauptmenue():
271
 def Hauptmenue():
270
 	def NeueKlausur():
272
 	def NeueKlausur():
271
-		button1.config(text = "", command = mainroot.destroy)
272
-		button2.config(text = "", command = mainroot.destroy)
273
+		mainroot.destroy()
273
 		SchluesselDatenAbfragen()
274
 		SchluesselDatenAbfragen()
274
 		AufgabenPunkteAbfragen()
275
 		AufgabenPunkteAbfragen()
275
 		MindestPunktzahlAbfragen()
276
 		MindestPunktzahlAbfragen()
282
 		TextdateiErstellen()
283
 		TextdateiErstellen()
283
 		Hauptmenue()
284
 		Hauptmenue()
284
 	def AlteKlausur():
285
 	def AlteKlausur():
285
-		button1.config(text = "", command = mainroot.destroy)
286
-		button2.config(text = "", command = mainroot.destroy)
286
+		mainroot.destroy()
287
 		SchluesselDatenAbfragen()
287
 		SchluesselDatenAbfragen()
288
 		if ExistenzPruefung():
288
 		if ExistenzPruefung():
289
 			AufgabenPunkteAbfragen()
289
 			AufgabenPunkteAbfragen()