diff --git a/ztools/__pycache__/InitGui.cpython-313.pyc b/ztools/__pycache__/InitGui.cpython-313.pyc index 7742236..440e21f 100644 Binary files a/ztools/__pycache__/InitGui.cpython-313.pyc and b/ztools/__pycache__/InitGui.cpython-313.pyc differ diff --git a/ztools/ztools/commands/__pycache__/__init__.cpython-313.pyc b/ztools/ztools/commands/__pycache__/__init__.cpython-313.pyc index 2210b1b..7e19534 100644 Binary files a/ztools/ztools/commands/__pycache__/__init__.cpython-313.pyc and b/ztools/ztools/commands/__pycache__/__init__.cpython-313.pyc differ diff --git a/ztools/ztools/commands/__pycache__/assembly_pattern_commands.cpython-313.pyc b/ztools/ztools/commands/__pycache__/assembly_pattern_commands.cpython-313.pyc new file mode 100644 index 0000000..11fff74 Binary files /dev/null and b/ztools/ztools/commands/__pycache__/assembly_pattern_commands.cpython-313.pyc differ diff --git a/ztools/ztools/commands/__pycache__/datum_commands.cpython-313.pyc b/ztools/ztools/commands/__pycache__/datum_commands.cpython-313.pyc index 7b25fcc..f8f8784 100644 Binary files a/ztools/ztools/commands/__pycache__/datum_commands.cpython-313.pyc and b/ztools/ztools/commands/__pycache__/datum_commands.cpython-313.pyc differ diff --git a/ztools/ztools/commands/__pycache__/pattern_commands.cpython-313.pyc b/ztools/ztools/commands/__pycache__/pattern_commands.cpython-313.pyc new file mode 100644 index 0000000..16e379f Binary files /dev/null and b/ztools/ztools/commands/__pycache__/pattern_commands.cpython-313.pyc differ diff --git a/ztools/ztools/commands/__pycache__/spreadsheet_commands.cpython-312.pyc b/ztools/ztools/commands/__pycache__/spreadsheet_commands.cpython-312.pyc new file mode 100644 index 0000000..e10ae49 Binary files /dev/null and b/ztools/ztools/commands/__pycache__/spreadsheet_commands.cpython-312.pyc differ diff --git a/ztools/ztools/commands/__pycache__/spreadsheet_commands.cpython-313.pyc b/ztools/ztools/commands/__pycache__/spreadsheet_commands.cpython-313.pyc new file mode 100644 index 0000000..d079f3e Binary files /dev/null and b/ztools/ztools/commands/__pycache__/spreadsheet_commands.cpython-313.pyc differ diff --git a/ztools/ztools/commands/spreadsheet_commands.py b/ztools/ztools/commands/spreadsheet_commands.py index d5bf6ec..2642530 100644 --- a/ztools/ztools/commands/spreadsheet_commands.py +++ b/ztools/ztools/commands/spreadsheet_commands.py @@ -520,8 +520,6 @@ class ZTools_SpreadsheetQuickAlias: # Clean the label to make a valid alias # Must be alphanumeric + underscore, start with letter alias = "".join( - c if c.isalnum() or c == "_" else "_" - for c in label_content c if c.isalnum() or c == "_" else "_" for c in label_content ) # Ensure it starts with a letter @@ -544,6 +542,8 @@ class ZTools_SpreadsheetQuickAlias: if aliases_created > 0: App.Console.PrintMessage(f"Created {aliases_created} alias(es)\n") + else: + App.Console.PrintWarning( "No aliases created. Select value cells with labels to the left.\n" ) diff --git a/ztools/ztools/datums/__pycache__/core.cpython-313.pyc b/ztools/ztools/datums/__pycache__/core.cpython-313.pyc index 143cc4b..df75536 100644 Binary files a/ztools/ztools/datums/__pycache__/core.cpython-313.pyc and b/ztools/ztools/datums/__pycache__/core.cpython-313.pyc differ diff --git a/ztools/ztools/resources/__pycache__/icons.cpython-313.pyc b/ztools/ztools/resources/__pycache__/icons.cpython-313.pyc index 27bd1d5..2e35467 100644 Binary files a/ztools/ztools/resources/__pycache__/icons.cpython-313.pyc and b/ztools/ztools/resources/__pycache__/icons.cpython-313.pyc differ diff --git a/ztools/ztools/resources/icons/ztools_spreadsheet_align_center.svg b/ztools/ztools/resources/icons/ztools_spreadsheet_align_center.svg new file mode 100644 index 0000000..b1e2767 --- /dev/null +++ b/ztools/ztools/resources/icons/ztools_spreadsheet_align_center.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/ztools/ztools/resources/icons/ztools_spreadsheet_align_left.svg b/ztools/ztools/resources/icons/ztools_spreadsheet_align_left.svg new file mode 100644 index 0000000..c36df18 --- /dev/null +++ b/ztools/ztools/resources/icons/ztools_spreadsheet_align_left.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/ztools/ztools/resources/icons/ztools_spreadsheet_align_right.svg b/ztools/ztools/resources/icons/ztools_spreadsheet_align_right.svg new file mode 100644 index 0000000..6b3cbbb --- /dev/null +++ b/ztools/ztools/resources/icons/ztools_spreadsheet_align_right.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/ztools/ztools/resources/icons/ztools_spreadsheet_bg_color.svg b/ztools/ztools/resources/icons/ztools_spreadsheet_bg_color.svg new file mode 100644 index 0000000..50082f7 --- /dev/null +++ b/ztools/ztools/resources/icons/ztools_spreadsheet_bg_color.svg @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/ztools/ztools/resources/icons/ztools_spreadsheet_bold.svg b/ztools/ztools/resources/icons/ztools_spreadsheet_bold.svg new file mode 100644 index 0000000..58957e8 --- /dev/null +++ b/ztools/ztools/resources/icons/ztools_spreadsheet_bold.svg @@ -0,0 +1,4 @@ + + + B + \ No newline at end of file diff --git a/ztools/ztools/resources/icons/ztools_spreadsheet_italic.svg b/ztools/ztools/resources/icons/ztools_spreadsheet_italic.svg new file mode 100644 index 0000000..df64883 --- /dev/null +++ b/ztools/ztools/resources/icons/ztools_spreadsheet_italic.svg @@ -0,0 +1,4 @@ + + + I + \ No newline at end of file diff --git a/ztools/ztools/resources/icons/ztools_spreadsheet_quick_alias.svg b/ztools/ztools/resources/icons/ztools_spreadsheet_quick_alias.svg new file mode 100644 index 0000000..86018a8 --- /dev/null +++ b/ztools/ztools/resources/icons/ztools_spreadsheet_quick_alias.svg @@ -0,0 +1,10 @@ + + + + + + + + + + \ No newline at end of file diff --git a/ztools/ztools/resources/icons/ztools_spreadsheet_text_color.svg b/ztools/ztools/resources/icons/ztools_spreadsheet_text_color.svg new file mode 100644 index 0000000..c8ccc22 --- /dev/null +++ b/ztools/ztools/resources/icons/ztools_spreadsheet_text_color.svg @@ -0,0 +1,7 @@ + + + + A + + + \ No newline at end of file diff --git a/ztools/ztools/resources/icons/ztools_spreadsheet_underline.svg b/ztools/ztools/resources/icons/ztools_spreadsheet_underline.svg new file mode 100644 index 0000000..e64192f --- /dev/null +++ b/ztools/ztools/resources/icons/ztools_spreadsheet_underline.svg @@ -0,0 +1,5 @@ + + + U + + \ No newline at end of file