V5 komplett: Auth, Admin, Federation, Channels, Devices, Cockpit, Profil, Autotext-Fix, Uebersetzer-Fix

Made-with: Cursor
This commit is contained in:
2026-04-20 14:38:16 +02:00
parent c53bba4587
commit dcce7107ab
9 changed files with 2254 additions and 320 deletions

View File

@@ -69,10 +69,7 @@ def _draw_module_icon(c: tk.Canvas, key: str):
fill=fg, outline="")
elif key == "kg":
c.create_rectangle(10, 12, s - 10, s - 7, outline=fg, width=2)
c.create_rectangle(14, 8, s - 14, 15, outline=fg, width=1.5)
c.create_line(m, 18, m, s - 10, fill=fg, width=2.5)
c.create_line(14, m + 2, s - 14, m + 2, fill=fg, width=2.5)
c.create_text(m, m, text="AzA", font=("Segoe UI", 11, "bold"), fill=fg)
elif key == "notizen":
c.create_oval(m - 5, 7, m + 5, 19, outline=fg, width=2)
@@ -250,7 +247,7 @@ class AzaLauncher(tk.Tk):
title_block = tk.Frame(title_row, bg=BG)
title_block.pack(side="left", anchor="w")
aza_lbl = tk.Label(title_block, text="AZA",
aza_lbl = tk.Label(title_block, text="AzA",
font=(FONT_FAMILY, 24, "bold"), fg=ACCENT, bg=BG,
cursor="hand2")
aza_lbl.pack(anchor="w")
@@ -531,10 +528,15 @@ class AzaLauncher(tk.Tk):
top_row = tk.Frame(inner, bg=_cbg, cursor=_cursor)
top_row.pack(fill="x", pady=(0, 10))
icon_cv = tk.Canvas(top_row, width=_ICON_SZ, height=_ICON_SZ,
bg=icon_color, highlightthickness=0, cursor=_cursor)
icon_cv.pack(side="left")
_draw_module_icon(icon_cv, mod_key)
if mod_key == "kg" and self._logo_img:
icon_lbl = tk.Label(top_row, image=self._logo_img, bg=_cbg, cursor=_cursor)
icon_lbl.image = self._logo_img
icon_lbl.pack(side="left")
else:
icon_cv = tk.Canvas(top_row, width=_ICON_SZ, height=_ICON_SZ,
bg=icon_color, highlightthickness=0, cursor=_cursor)
icon_cv.pack(side="left")
_draw_module_icon(icon_cv, mod_key)
lbl_title = tk.Label(inner, text=label, font=(FONT_FAMILY, 12, "bold"),
fg=_text_fg, bg=_cbg, anchor="w", cursor=_cursor)