update profile win dimension
This commit is contained in:
parent
1740024f56
commit
c4ce023cb8
@ -6,10 +6,10 @@
|
|||||||
import re
|
import re
|
||||||
|
|
||||||
# --- Version Data (Generated) ---
|
# --- Version Data (Generated) ---
|
||||||
__version__ = "v.1.0.0.2-2-g4c18774-dirty"
|
__version__ = "v.1.0.0.2-1-ga4d6c04"
|
||||||
GIT_COMMIT_HASH = "4c187747c13599290e692c027a93f327288fc68d"
|
GIT_COMMIT_HASH = "a4d6c043e67f3e7a8c5dd092643b595c28dbe25b"
|
||||||
GIT_BRANCH = "master"
|
GIT_BRANCH = "master"
|
||||||
BUILD_TIMESTAMP = "2025-09-23T12:55:03.035782+00:00"
|
BUILD_TIMESTAMP = "2025-06-13T13:57:33.708395+00:00"
|
||||||
IS_GIT_REPO = True
|
IS_GIT_REPO = True
|
||||||
|
|
||||||
# --- Default Values (for comparison or fallback) ---
|
# --- Default Values (for comparison or fallback) ---
|
||||||
|
|||||||
@ -80,7 +80,7 @@ class ProfileManagerWindow(tk.Toplevel):
|
|||||||
# Per ora, usiamo una dimensione fissa come nel tuo codice originale
|
# Per ora, usiamo una dimensione fissa come nel tuo codice originale
|
||||||
|
|
||||||
window_width = 1050
|
window_width = 1050
|
||||||
window_height = 900
|
window_height = 850
|
||||||
|
|
||||||
self.parent_window.update_idletasks()
|
self.parent_window.update_idletasks()
|
||||||
parent_x = self.parent_window.winfo_x()
|
parent_x = self.parent_window.winfo_x()
|
||||||
@ -349,14 +349,12 @@ class ProfileManagerWindow(tk.Toplevel):
|
|||||||
right_pane, text="Analyzed Symbols Summary", padding="10"
|
right_pane, text="Analyzed Symbols Summary", padding="10"
|
||||||
)
|
)
|
||||||
symbols_summary_frame.grid(row=2, column=0, sticky="new", pady=5)
|
symbols_summary_frame.grid(row=2, column=0, sticky="new", pady=5)
|
||||||
symbols_summary_frame.columnconfigure(0, weight=1)
|
symbols_summary_frame.columnconfigure(0, weight=1) # Label si espande
|
||||||
symbols_summary_frame.columnconfigure(1, weight=0)
|
symbols_summary_frame.columnconfigure(1, weight=0) # Bottone fisso
|
||||||
symbols_summary_frame.columnconfigure(2, weight=1)
|
|
||||||
symbols_summary_frame.columnconfigure(3, weight=0)
|
|
||||||
|
|
||||||
# Row 0: Functions and Globals
|
row_s = 0
|
||||||
ttk.Label(symbols_summary_frame, textvariable=self.functions_count_var).grid(
|
ttk.Label(symbols_summary_frame, textvariable=self.functions_count_var).grid(
|
||||||
row=0, column=0, sticky="w", padx=5, pady=2
|
row=row_s, column=0, sticky="w", padx=5, pady=2
|
||||||
)
|
)
|
||||||
self.view_functions_button = ttk.Button(
|
self.view_functions_button = ttk.Button(
|
||||||
symbols_summary_frame,
|
symbols_summary_frame,
|
||||||
@ -365,10 +363,12 @@ class ProfileManagerWindow(tk.Toplevel):
|
|||||||
state=tk.DISABLED,
|
state=tk.DISABLED,
|
||||||
width=8,
|
width=8,
|
||||||
)
|
)
|
||||||
self.view_functions_button.grid(row=0, column=1, padx=(5, 10), pady=2)
|
self.view_functions_button.grid(
|
||||||
|
row=row_s, column=1, padx=(10, 5), pady=2, sticky="w"
|
||||||
|
)
|
||||||
|
row_s += 1
|
||||||
ttk.Label(symbols_summary_frame, textvariable=self.variables_count_var).grid(
|
ttk.Label(symbols_summary_frame, textvariable=self.variables_count_var).grid(
|
||||||
row=0, column=2, sticky="w", padx=5, pady=2
|
row=row_s, column=0, sticky="w", padx=5, pady=2
|
||||||
)
|
)
|
||||||
self.view_variables_button = ttk.Button(
|
self.view_variables_button = ttk.Button(
|
||||||
symbols_summary_frame,
|
symbols_summary_frame,
|
||||||
@ -377,11 +377,12 @@ class ProfileManagerWindow(tk.Toplevel):
|
|||||||
state=tk.DISABLED,
|
state=tk.DISABLED,
|
||||||
width=8,
|
width=8,
|
||||||
)
|
)
|
||||||
self.view_variables_button.grid(row=0, column=3, padx=(5, 10), pady=2)
|
self.view_variables_button.grid(
|
||||||
|
row=row_s, column=1, padx=(10, 5), pady=2, sticky="w"
|
||||||
# Row 1: Types and Sources
|
)
|
||||||
|
row_s += 1
|
||||||
ttk.Label(symbols_summary_frame, textvariable=self.types_count_var).grid(
|
ttk.Label(symbols_summary_frame, textvariable=self.types_count_var).grid(
|
||||||
row=1, column=0, sticky="w", padx=5, pady=2
|
row=row_s, column=0, sticky="w", padx=5, pady=2
|
||||||
)
|
)
|
||||||
self.view_types_button = ttk.Button(
|
self.view_types_button = ttk.Button(
|
||||||
symbols_summary_frame,
|
symbols_summary_frame,
|
||||||
@ -390,10 +391,12 @@ class ProfileManagerWindow(tk.Toplevel):
|
|||||||
state=tk.DISABLED,
|
state=tk.DISABLED,
|
||||||
width=8,
|
width=8,
|
||||||
)
|
)
|
||||||
self.view_types_button.grid(row=1, column=1, padx=(5, 10), pady=2)
|
self.view_types_button.grid(
|
||||||
|
row=row_s, column=1, padx=(10, 5), pady=2, sticky="w"
|
||||||
|
)
|
||||||
|
row_s += 1
|
||||||
ttk.Label(symbols_summary_frame, textvariable=self.sources_count_var).grid(
|
ttk.Label(symbols_summary_frame, textvariable=self.sources_count_var).grid(
|
||||||
row=1, column=2, sticky="w", padx=5, pady=2
|
row=row_s, column=0, sticky="w", padx=5, pady=2
|
||||||
)
|
)
|
||||||
self.view_sources_button = ttk.Button(
|
self.view_sources_button = ttk.Button(
|
||||||
symbols_summary_frame,
|
symbols_summary_frame,
|
||||||
@ -402,7 +405,10 @@ class ProfileManagerWindow(tk.Toplevel):
|
|||||||
state=tk.DISABLED,
|
state=tk.DISABLED,
|
||||||
width=8,
|
width=8,
|
||||||
)
|
)
|
||||||
self.view_sources_button.grid(row=1, column=3, padx=(5, 10), pady=2)
|
self.view_sources_button.grid(
|
||||||
|
row=row_s, column=1, padx=(10, 5), pady=2, sticky="w"
|
||||||
|
)
|
||||||
|
# row_s += 1 # Non necessario se è l'ultimo
|
||||||
|
|
||||||
# Debug Actions UI
|
# Debug Actions UI
|
||||||
actions_ui_frame = ttk.LabelFrame(
|
actions_ui_frame = ttk.LabelFrame(
|
||||||
@ -417,7 +423,7 @@ class ProfileManagerWindow(tk.Toplevel):
|
|||||||
actions_ui_frame.columnconfigure(2, weight=0) # Bottoni laterali
|
actions_ui_frame.columnconfigure(2, weight=0) # Bottoni laterali
|
||||||
|
|
||||||
self.actions_listbox = tk.Listbox(
|
self.actions_listbox = tk.Listbox(
|
||||||
actions_ui_frame, exportselection=False, selectmode=tk.SINGLE, height=10
|
actions_ui_frame, exportselection=False, selectmode=tk.SINGLE, height=6
|
||||||
)
|
)
|
||||||
self.actions_listbox.grid(
|
self.actions_listbox.grid(
|
||||||
row=0, column=0, sticky="nsew", pady=5, padx=(0, 5)
|
row=0, column=0, sticky="nsew", pady=5, padx=(0, 5)
|
||||||
@ -1401,8 +1407,7 @@ class ProfileManagerWindow(tk.Toplevel):
|
|||||||
self._update_analysis_status_display()
|
self._update_analysis_status_display()
|
||||||
|
|
||||||
def _get_symbols_for_display(
|
def _get_symbols_for_display(
|
||||||
self,
|
self, category: str
|
||||||
category: str
|
|
||||||
) -> List[Union[str, Dict[str, Any]]]:
|
) -> List[Union[str, Dict[str, Any]]]:
|
||||||
# (Implementazione come prima)
|
# (Implementazione come prima)
|
||||||
if self._selected_profile_index is None or not (
|
if self._selected_profile_index is None or not (
|
||||||
@ -1450,9 +1455,7 @@ class ProfileManagerWindow(tk.Toplevel):
|
|||||||
self._show_symbol_list_dialog("Source Files", source_files_list)
|
self._show_symbol_list_dialog("Source Files", source_files_list)
|
||||||
|
|
||||||
def _show_symbol_list_dialog(
|
def _show_symbol_list_dialog(
|
||||||
self,
|
self, symbol_type: str, symbols: List[Union[str, Dict[str, Any]]]
|
||||||
symbol_type: str,
|
|
||||||
symbols: List[Union[str, Dict[str, Any]]],
|
|
||||||
) -> None:
|
) -> None:
|
||||||
# (Implementazione come prima, ma assicurati che file_utils sia importato per calculate_file_checksum)
|
# (Implementazione come prima, ma assicurati che file_utils sia importato per calculate_file_checksum)
|
||||||
if self._selected_profile_index is None:
|
if self._selected_profile_index is None:
|
||||||
|
|||||||
BIN
doc/English-manual.docx
Normal file
BIN
doc/English-manual.docx
Normal file
Binary file not shown.
BIN
doc/English-manual.pdf
Normal file
BIN
doc/English-manual.pdf
Normal file
Binary file not shown.
BIN
doc/Italian-manual.docx
Normal file
BIN
doc/Italian-manual.docx
Normal file
Binary file not shown.
BIN
doc/Italian-manual.pdf
Normal file
BIN
doc/Italian-manual.pdf
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user