je-editor 0.0.195__py3-none-any.whl → 0.0.197__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.
@@ -1,6 +1,8 @@
1
+ import pathlib
1
2
  from typing import List
2
3
 
3
4
  from PySide6.QtCore import Qt
5
+ from PySide6.QtNetwork import QNetworkCookie
4
6
  from PySide6.QtWebEngineCore import QWebEngineDownloadRequest
5
7
  from PySide6.QtWebEngineWidgets import QWebEngineView
6
8
 
@@ -18,7 +20,6 @@ class BrowserView(QWebEngineView):
18
20
  self.download_list: List[QWebEngineDownloadRequest] = list()
19
21
  self.download_window_list: List[BrowserDownloadWindow] = list()
20
22
  self.page().profile().downloadRequested.connect(self.download_file)
21
- self.setAttribute(Qt.WidgetAttribute.WA_DeleteOnClose)
22
23
 
23
24
  def download_file(self, download_instance: QWebEngineDownloadRequest):
24
25
  jeditor_logger.info("Download File "
@@ -18,12 +18,11 @@ def set_style_menu(ui_we_want_to_set: EditorMain) -> None:
18
18
  ui_we_want_to_set.menu.style_menu = ui_we_want_to_set.menu.addMenu(
19
19
  language_wrapper.language_word_dict.get("style_menu_label")
20
20
  )
21
- for style in [
22
- 'dark_amber.xml', 'dark_blue.xml', 'dark_cyan.xml', 'dark_lightgreen.xml', 'dark_pink.xml',
23
- 'dark_purple.xml', 'dark_red.xml', 'dark_teal.xml', 'dark_yellow.xml', 'light_amber.xml',
24
- 'light_blue.xml', 'light_cyan.xml', 'light_cyan_500.xml', 'light_lightgreen.xml',
25
- 'light_pink.xml', 'light_purple.xml', 'light_red.xml', 'light_teal.xml', 'light_yellow.xml'
26
- ]:
21
+ for style in ['dark_amber.xml', 'dark_blue.xml', 'dark_cyan.xml', 'dark_lightgreen.xml',
22
+ 'dark_pink.xml', 'dark_purple.xml', 'dark_red.xml', 'dark_teal.xml',
23
+ 'dark_yellow.xml', 'light_amber.xml', 'light_blue.xml', 'light_cyan.xml',
24
+ 'light_cyan_500.xml', 'light_lightgreen.xml', 'light_pink.xml', 'light_purple.xml'
25
+ ]:
27
26
  change_style_action = QAction(style, parent=ui_we_want_to_set.menu.style_menu)
28
27
  change_style_action.triggered.connect(
29
28
  lambda checked=False, action=change_style_action: set_style(ui_we_want_to_set, action))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: je_editor
3
- Version: 0.0.195
3
+ Version: 0.0.197
4
4
  Summary: JEditor is basic but powerful editor include GPT
5
5
  Author-email: JE-Chen <jechenmailman@gmail.com>
6
6
  License: MIT
@@ -17,7 +17,7 @@ Classifier: Operating System :: OS Independent
17
17
  Requires-Python: >=3.9
18
18
  Description-Content-Type: text/markdown
19
19
  License-File: LICENSE
20
- Requires-Dist: PySide6==6.7.3
20
+ Requires-Dist: PySide6==6.8.2.1
21
21
  Requires-Dist: qt-material
22
22
  Requires-Dist: yapf
23
23
  Requires-Dist: frontengine
@@ -5,7 +5,7 @@ je_editor/pyside_ui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
5
5
  je_editor/pyside_ui/browser/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  je_editor/pyside_ui/browser/browser_download_window.py,sha256=KEO8AoZYSDuES0z5os9ziD44lS47kIo3kbd5iOUM2Go,2018
7
7
  je_editor/pyside_ui/browser/browser_serach_lineedit.py,sha256=GYX6faCIxl-HtRXHZoc3EAuK6Ll41jgUV3ksawY5rsc,899
8
- je_editor/pyside_ui/browser/browser_view.py,sha256=JNc5zBwhtHiBNLYfcS-TI9RcCe-s7DHPfvMlMc0h8vQ,1663
8
+ je_editor/pyside_ui/browser/browser_view.py,sha256=vH_-Xw1DE5RqTz-wYxkKl0X6tzpcFVKXQqMqay7tJiw,1661
9
9
  je_editor/pyside_ui/browser/browser_widget.py,sha256=0fVnl6ye4FBz3bnxm-0SSEWW8bGlHS5DqQmMew5CKDk,3031
10
10
  je_editor/pyside_ui/code/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
11
  je_editor/pyside_ui/code/running_process_manager.py,sha256=VdfdprPNlPmMySOKDOjEEl5X9IsJVPSDb0a2KDKgiQg,1008
@@ -65,7 +65,7 @@ je_editor/pyside_ui/main_ui/menu/run_menu/under_run_menu/build_program_menu.py,s
65
65
  je_editor/pyside_ui/main_ui/menu/run_menu/under_run_menu/build_shell_menu.py,sha256=KNRNjMyqhaimjOrwuEwtVfGD90xph0VYl25_-kUGllE,2896
66
66
  je_editor/pyside_ui/main_ui/menu/run_menu/under_run_menu/utils.py,sha256=zk5adQ7xidJgzaO81kKxc7LI34jCplcocL6vhacHEec,858
67
67
  je_editor/pyside_ui/main_ui/menu/style_menu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
68
- je_editor/pyside_ui/main_ui/menu/style_menu/build_style_menu.py,sha256=3xM9bLnVVbeDWdbuhO3hNDm6DbiB1dpaJKOoq9xinGU,1873
68
+ je_editor/pyside_ui/main_ui/menu/style_menu/build_style_menu.py,sha256=OjfcjQ7fA1Z1rMwIS9oGkIkC-jy-e0jdGoYo1btTqUQ,1852
69
69
  je_editor/pyside_ui/main_ui/menu/tab_menu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
70
  je_editor/pyside_ui/main_ui/menu/tab_menu/build_tab_menu.py,sha256=Boq4Wnd3dCQhoJrp1cKWZaAV-pOGMidKRPxPVaEp4cE,5723
71
71
  je_editor/pyside_ui/main_ui/menu/text_menu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -101,8 +101,8 @@ je_editor/utils/redirect_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRk
101
101
  je_editor/utils/redirect_manager/redirect_manager_class.py,sha256=RsLRbhBy_YyiwTN5g0YkoobI-BvSdZgX0Ot53nrHm7g,2174
102
102
  je_editor/utils/venv_check/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
103
103
  je_editor/utils/venv_check/check_venv.py,sha256=oCrMdue4NYUUGrVifh_iHFwIgxVx9azYN4jz3Xiulgg,999
104
- je_editor-0.0.195.dist-info/LICENSE,sha256=KMhUHh6pnIUvmXDW-49L_Sz63bqkOlPDqsecaqKiitU,1091
105
- je_editor-0.0.195.dist-info/METADATA,sha256=aS8sqN1DPe0PjD4ombaJG1S8mrulm2hprEnCPCS_KnI,3338
106
- je_editor-0.0.195.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
107
- je_editor-0.0.195.dist-info/top_level.txt,sha256=_9YA7BgxpkmdLs-5V_UQILxClcMRgPyG1a3qaE-Bkcs,10
108
- je_editor-0.0.195.dist-info/RECORD,,
104
+ je_editor-0.0.197.dist-info/LICENSE,sha256=KMhUHh6pnIUvmXDW-49L_Sz63bqkOlPDqsecaqKiitU,1091
105
+ je_editor-0.0.197.dist-info/METADATA,sha256=ZlpfrcjrY4TUpoNSTAHDuFyr2z-FRvNjPv1Ugp9xrQQ,3340
106
+ je_editor-0.0.197.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
107
+ je_editor-0.0.197.dist-info/top_level.txt,sha256=_9YA7BgxpkmdLs-5V_UQILxClcMRgPyG1a3qaE-Bkcs,10
108
+ je_editor-0.0.197.dist-info/RECORD,,