File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -95,26 +95,6 @@ def carregar_imagens(self):
9595 print (f"Erro ao carregar logo.png: { e } " )
9696 self .logo_image = None
9797
98- # Carregar Ícones dos Botões
99- self .icones = {}
100- icon_folder = "icons"
101- icon_size = (24 , 24 )
102- icon_files = {
103- "criterio" : "stability_icon.png" ,
104- "analise" : "second_order_icon.png" ,
105- "controladores" : "controller_icon.png"
106- }
107- for key , filename in icon_files .items ():
108- try :
109- path = os .path .join (icon_folder , filename )
110- if os .path .exists (path ):
111- img = Image .open (path ).convert ("RGBA" )
112- self .icones [key ] = ctk .CTkImage (light_image = img , dark_image = img , size = icon_size )
113- else :
114- self .icones [key ] = None
115- except Exception as e :
116- print (f"Erro ao carregar ícone { filename } : { e } " )
117- self .icones [key ] = None
11898
11999 def abrir_janela (self , tipo_janela , titulo ):
120100 """Abre uma nova janela do tipo especificado"""
You can’t perform that action at this time.
0 commit comments