gui-utilities 1.1.3__tar.gz → 1.1.4__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.
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/PKG-INFO +1 -1
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/gui_utilities/gui_utilities.py +4 -5
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/gui_utilities.egg-info/PKG-INFO +1 -1
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/pyproject.toml +1 -1
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/LICENSE +0 -0
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/README.md +0 -0
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/gui_utilities/icons/check.svg +0 -0
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/gui_utilities/icons/focused_hide_text_icon.png +0 -0
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/gui_utilities/icons/focused_show_text_icon.png +0 -0
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/gui_utilities/icons/hide_text_icon.png +0 -0
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/gui_utilities/icons/show_text_icon.png +0 -0
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/gui_utilities/tlds/tlds_list.txt +0 -0
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/gui_utilities.egg-info/SOURCES.txt +0 -0
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/gui_utilities.egg-info/dependency_links.txt +0 -0
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/gui_utilities.egg-info/requires.txt +0 -0
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/gui_utilities.egg-info/top_level.txt +0 -0
- {gui_utilities-1.1.3 → gui_utilities-1.1.4}/setup.cfg +0 -0
|
@@ -360,18 +360,18 @@ def create_checkbox(
|
|
|
360
360
|
font_color = "#ffffff",
|
|
361
361
|
background_color = "#1e1e1e",
|
|
362
362
|
padding = 15,
|
|
363
|
-
indicator_background_color = "#
|
|
363
|
+
indicator_background_color = "#1e1e1e",
|
|
364
364
|
indicator_border_width = 1,
|
|
365
365
|
indicator_border_color = "#5c5c5c",
|
|
366
366
|
indicator_border_radius = 0,
|
|
367
367
|
hover_indicator_background_color = "#333333",
|
|
368
368
|
hover_indicator_border_width = 2,
|
|
369
369
|
hover_indicator_border_color = "#777777",
|
|
370
|
-
pressed_indicator_color = "#0078d7",
|
|
371
370
|
pressed_indicator_background_color = "#4a4a4a",
|
|
372
371
|
pressed_indicator_border_width = 2,
|
|
373
372
|
pressed_indicator_border_color = "#0078d7",
|
|
374
|
-
|
|
373
|
+
checked_indicator_border_width = 2,
|
|
374
|
+
checked_indicator_border_color = "#0078d7",
|
|
375
375
|
):
|
|
376
376
|
checkbox = QCheckBox(text)
|
|
377
377
|
style_sheet = f"""
|
|
@@ -392,12 +392,11 @@ def create_checkbox(
|
|
|
392
392
|
border: {hover_indicator_border_width}px solid {hover_indicator_border_color};
|
|
393
393
|
}}
|
|
394
394
|
QCheckBox::indicator:pressed {{
|
|
395
|
-
color: {pressed_indicator_color};
|
|
396
395
|
background-color: {pressed_indicator_background_color};
|
|
397
396
|
border: {pressed_indicator_border_width}px solid {pressed_indicator_border_color};
|
|
398
397
|
}}
|
|
399
398
|
QCheckBox::indicator:checked {{
|
|
400
|
-
|
|
399
|
+
border: {checked_indicator_border_width}px solid {checked_indicator_border_color};
|
|
401
400
|
}}
|
|
402
401
|
"""
|
|
403
402
|
checkbox.setStyleSheet(style_sheet)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|