gui-utilities 1.1.4__tar.gz → 1.1.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of gui-utilities might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gui_utilities
3
- Version: 1.1.4
3
+ Version: 1.1.5
4
4
  Summary: Librería de utilidades gráficas en PyQt6
5
5
  Author-email: Guido Iván Gross <grossguidoivan@gmail.com>
6
6
  Requires-Python: >=3.8
@@ -373,7 +373,7 @@ def create_checkbox(
373
373
  checked_indicator_border_width = 2,
374
374
  checked_indicator_border_color = "#0078d7",
375
375
  ):
376
- checkbox = QCheckBox(text)
376
+ check_box = QCheckBox(text)
377
377
  style_sheet = f"""
378
378
  QCheckBox {{
379
379
  font-family: {font_family};
@@ -390,17 +390,29 @@ def create_checkbox(
390
390
  QCheckBox::indicator:hover {{
391
391
  background-color: {hover_indicator_background_color};
392
392
  border: {hover_indicator_border_width}px solid {hover_indicator_border_color};
393
+ image: url("data:image/svg+xml;utf8,\
394
+ <svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'>\
395
+ <path fill='#777777' d='M20.285 6.709l-11.4 11.4-5.185-5.185 1.414-1.414 3.771 3.771 9.986-9.986z'/>\
396
+ </svg>");
393
397
  }}
394
398
  QCheckBox::indicator:pressed {{
395
399
  background-color: {pressed_indicator_background_color};
396
400
  border: {pressed_indicator_border_width}px solid {pressed_indicator_border_color};
401
+ image: url("data:image/svg+xml;utf8,\
402
+ <svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'>\
403
+ <path fill='#0078d7' d='M20.285 6.709l-11.4 11.4-5.185-5.185 1.414-1.414 3.771 3.771 9.986-9.986z'/>\
404
+ </svg>");
397
405
  }}
398
406
  QCheckBox::indicator:checked {{
399
407
  border: {checked_indicator_border_width}px solid {checked_indicator_border_color};
408
+ image: url("data:image/svg+xml;utf8,\
409
+ <svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'>\
410
+ <path fill='#0078d7' d='M20.285 6.709l-11.4 11.4-5.185-5.185 1.414-1.414 3.771 3.771 9.986-9.986z'/>\
411
+ </svg>");
400
412
  }}
401
413
  """
402
- checkbox.setStyleSheet(style_sheet)
403
- return checkbox
414
+ check_box.setStyleSheet(style_sheet)
415
+ return check_box
404
416
 
405
417
  def create_information_message_box(
406
418
  text,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gui_utilities
3
- Version: 1.1.4
3
+ Version: 1.1.5
4
4
  Summary: Librería de utilidades gráficas en PyQt6
5
5
  Author-email: Guido Iván Gross <grossguidoivan@gmail.com>
6
6
  Requires-Python: >=3.8
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "gui_utilities"
3
- version = "1.1.4"
3
+ version = "1.1.5"
4
4
  description = "Librería de utilidades gráficas en PyQt6"
5
5
  authors = [{name = "Guido Iván Gross", email = "grossguidoivan@gmail.com"}]
6
6
  requires-python = ">=3.8"
File without changes
File without changes
File without changes