gui-utilities 1.2.21__py3-none-any.whl → 1.2.23__py3-none-any.whl
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.
- gui_utilities/gui_utilities.py +6 -4
- {gui_utilities-1.2.21.dist-info → gui_utilities-1.2.23.dist-info}/METADATA +1 -1
- {gui_utilities-1.2.21.dist-info → gui_utilities-1.2.23.dist-info}/RECORD +6 -6
- {gui_utilities-1.2.21.dist-info → gui_utilities-1.2.23.dist-info}/WHEEL +0 -0
- {gui_utilities-1.2.21.dist-info → gui_utilities-1.2.23.dist-info}/licenses/LICENSE +0 -0
- {gui_utilities-1.2.21.dist-info → gui_utilities-1.2.23.dist-info}/top_level.txt +0 -0
gui_utilities/gui_utilities.py
CHANGED
|
@@ -540,8 +540,7 @@ def create_information_message_box(
|
|
|
540
540
|
message_box = QDialog()
|
|
541
541
|
message_box.setObjectName("message_box")
|
|
542
542
|
message_box.setWindowFlags(Qt.WindowType.FramelessWindowHint)
|
|
543
|
-
message_box.
|
|
544
|
-
message_box.setMaximumWidth(360)
|
|
543
|
+
message_box.setFixedWidth(360)
|
|
545
544
|
style_sheet = f"""
|
|
546
545
|
QDialog#message_box {{
|
|
547
546
|
background-color: {background_color};
|
|
@@ -570,6 +569,8 @@ def create_information_message_box(
|
|
|
570
569
|
border_radius = label_border_radius
|
|
571
570
|
)
|
|
572
571
|
main_layout.addWidget(text_label)
|
|
572
|
+
text_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
|
573
|
+
text_label.setWordWrap(True)
|
|
573
574
|
accept_button = create_button(
|
|
574
575
|
text = button_text,
|
|
575
576
|
font_family = button_font_family,
|
|
@@ -648,8 +649,7 @@ def create_confirmation_message_box(
|
|
|
648
649
|
confirm_message_box = QDialog()
|
|
649
650
|
confirm_message_box.setObjectName("confirm_message_box")
|
|
650
651
|
confirm_message_box.setWindowFlags(Qt.WindowType.FramelessWindowHint)
|
|
651
|
-
confirm_message_box.
|
|
652
|
-
confirm_message_box.setMaximumWidth(360)
|
|
652
|
+
confirm_message_box.setFixedWidth(360)
|
|
653
653
|
style_sheet = f"""
|
|
654
654
|
QDialog#confirm_message_box {{
|
|
655
655
|
background-color: {background_color};
|
|
@@ -678,6 +678,8 @@ def create_confirmation_message_box(
|
|
|
678
678
|
border_radius = label_border_radius
|
|
679
679
|
)
|
|
680
680
|
main_layout.addWidget(text_label)
|
|
681
|
+
text_label.setAlignment(Qt.AlignmentFlag.AlignCenter)
|
|
682
|
+
text_label.setWordWrap(True)
|
|
681
683
|
buttons_layout = QHBoxLayout()
|
|
682
684
|
main_layout.addLayout(buttons_layout)
|
|
683
685
|
buttons_layout.setSpacing(button_spacing)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
gui_utilities/gui_utilities.py,sha256=
|
|
1
|
+
gui_utilities/gui_utilities.py,sha256=0uj4O8GWvrKBPtuLKPnaVIMc3d1T0s8cCPtnUiKqCEA,42105
|
|
2
2
|
gui_utilities/icons/focused_hide_text_icon.png,sha256=0Ysx7vC-mEVfuSBWx1Zw-UhpqvrTCcIvnQ926wFmuK4,13084
|
|
3
3
|
gui_utilities/icons/focused_show_text_icon.png,sha256=gmZU7RR4FN-9VSzpD00ZkQ8UGbihO2y808Kh3b_TaEg,6739
|
|
4
4
|
gui_utilities/icons/hide_text_icon.png,sha256=f5jq6KaAygWNjzP_Ah6dw6eu8q5ml3m56JTeNSTSgEU,7207
|
|
5
5
|
gui_utilities/icons/show_text_icon.png,sha256=8Vdp2XickPEM-eTb1-qBXf3qmHldSzllMZZfObir9p8,5376
|
|
6
6
|
gui_utilities/tlds/tlds_list.txt,sha256=wIWmAQGVNsY0ZJy7qPW8kItDTCE4PTq8wcUhC2hpjkw,10916
|
|
7
|
-
gui_utilities-1.2.
|
|
8
|
-
gui_utilities-1.2.
|
|
9
|
-
gui_utilities-1.2.
|
|
10
|
-
gui_utilities-1.2.
|
|
11
|
-
gui_utilities-1.2.
|
|
7
|
+
gui_utilities-1.2.23.dist-info/licenses/LICENSE,sha256=NNoMFs43kWl1J-aqq7_EsPlBjL5XTccWjZlwrlCR-Xc,1093
|
|
8
|
+
gui_utilities-1.2.23.dist-info/METADATA,sha256=kzPxt8y6zg71vG7y1n87NOETcnH1DCaYnjF3WMTmF9Y,266
|
|
9
|
+
gui_utilities-1.2.23.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
10
|
+
gui_utilities-1.2.23.dist-info/top_level.txt,sha256=c4C84nMT41keiX9b1AJJZDBU3kA38c7vOmP9kDie8Lk,14
|
|
11
|
+
gui_utilities-1.2.23.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|