je-editor 0.0.86__py3-none-any.whl → 0.0.88__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
1
- from PySide6.QtWidgets import QMainWindow, QScrollArea, QGridLayout, QWidget, QTabWidget
1
+ from PySide6.QtWidgets import QMainWindow, QScrollArea, QGridLayout, QWidget
2
2
 
3
3
  from je_editor.pyside_ui.code_editor.code_edit_plaintext import CodeEditor
4
4
  from je_editor.pyside_ui.code_result.code_record import CodeRecord
@@ -26,3 +26,4 @@ def set_ui(ui_we_want_to_set: QMainWindow):
26
26
  ui_we_want_to_set.grid_layout.setColumnStretch(1, 10)
27
27
  ui_we_want_to_set.grid_layout.addWidget(ui_we_want_to_set.code_edit_scroll_area, 0, 1)
28
28
  ui_we_want_to_set.grid_layout.addWidget(ui_we_want_to_set.code_result_scroll_area, 1, 1)
29
+
@@ -1,4 +1,4 @@
1
- from PySide6.QtGui import QAction
1
+ from PySide6.QtGui import QAction, QKeySequence, Qt
2
2
  from PySide6.QtWidgets import QMainWindow
3
3
 
4
4
  from je_editor.pyside_ui.file_dialog.open_file_dialog import choose_file_get_open_filename
@@ -7,13 +7,17 @@ from je_editor.pyside_ui.file_dialog.save_file_dialog import choose_file_get_sav
7
7
 
8
8
  def set_file_menu(ui_we_want_to_set: QMainWindow):
9
9
  ui_we_want_to_set.file_menu.open_file_action = QAction("Open File")
10
- ui_we_want_to_set.file_menu.open_file_action.setShortcut("Ctrl+o")
10
+ ui_we_want_to_set.file_menu.open_file_action.setShortcut(
11
+ QKeySequence(Qt.Key.Key_F, Qt.Key.Key_O)
12
+ )
11
13
  ui_we_want_to_set.file_menu.open_file_action.triggered.connect(
12
14
  lambda: choose_file_get_open_filename(parent_qt_instance=ui_we_want_to_set)
13
15
  )
14
16
  ui_we_want_to_set.file_menu.addAction(ui_we_want_to_set.file_menu.open_file_action)
15
17
  ui_we_want_to_set.file_menu.save_file_action = QAction("Save File")
16
- ui_we_want_to_set.file_menu.save_file_action.setShortcut("Ctrl+s")
18
+ ui_we_want_to_set.file_menu.save_file_action.setShortcut(
19
+ QKeySequence(Qt.Key.Key_F, Qt.Key.Key_S)
20
+ )
17
21
  ui_we_want_to_set.file_menu.save_file_action.triggered.connect(
18
22
  lambda: choose_file_get_save_filename(parent_qt_instance=ui_we_want_to_set)
19
23
  )
@@ -1,4 +1,4 @@
1
- from PySide6.QtGui import QAction
1
+ from PySide6.QtGui import QAction, QKeySequence, Qt
2
2
  from PySide6.QtWidgets import QMainWindow, QMessageBox
3
3
 
4
4
  from je_editor.pyside_ui.code_process.code_exec import exec_manage
@@ -11,22 +11,34 @@ def set_run_menu(ui_we_want_to_set: QMainWindow):
11
11
  ui_we_want_to_set.run_menu.run_program_action.triggered.connect(
12
12
  lambda: run_program(ui_we_want_to_set)
13
13
  )
14
+ ui_we_want_to_set.run_menu.run_program_action.setShortcut(
15
+ QKeySequence(Qt.Key.Key_R, Qt.Key.Key_F1)
16
+ )
14
17
  ui_we_want_to_set.run_menu.addAction(ui_we_want_to_set.run_menu.run_program_action)
15
18
  ui_we_want_to_set.run_menu.run_on_shell_action = QAction("Run On Shell")
16
19
  ui_we_want_to_set.run_menu.run_on_shell_action.triggered.connect(
17
20
  lambda: shell_exec(ui_we_want_to_set)
18
21
  )
22
+ ui_we_want_to_set.run_menu.run_on_shell_action.setShortcut(
23
+ QKeySequence(Qt.Key.Key_R, Qt.Key.Key_F2)
24
+ )
19
25
  ui_we_want_to_set.run_menu.addAction(ui_we_want_to_set.run_menu.run_on_shell_action)
20
26
  ui_we_want_to_set.run_menu.clean_result_action = QAction("Clean Result")
21
27
  ui_we_want_to_set.run_menu.clean_result_action.triggered.connect(
22
28
  lambda: clean_result(ui_we_want_to_set)
23
29
  )
30
+ ui_we_want_to_set.run_menu.clean_result_action.setShortcut(
31
+ QKeySequence(Qt.Key.Key_R, Qt.Key.Key_F3)
32
+ )
24
33
  ui_we_want_to_set.run_menu.addAction(ui_we_want_to_set.run_menu.clean_result_action)
25
34
 
26
35
  ui_we_want_to_set.run_menu.stop_program_action = QAction("Stop Program")
27
36
  ui_we_want_to_set.run_menu.stop_program_action.triggered.connect(
28
37
  stop_program
29
38
  )
39
+ ui_we_want_to_set.run_menu.stop_program_action.setShortcut(
40
+ QKeySequence(Qt.Key.Key_R, Qt.Key.Key_F4)
41
+ )
30
42
  ui_we_want_to_set.run_menu.addAction(ui_we_want_to_set.run_menu.stop_program_action)
31
43
  # Run help menu
32
44
  ui_we_want_to_set.run_menu.run_help_menu = ui_we_want_to_set.run_menu.addMenu("Run Help")
@@ -1,10 +1,12 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: je-editor
3
- Version: 0.0.86
4
- Summary: Simple editor for ITE
5
- Author-email: JE-Chen <zenmailman@gmail.com>
3
+ Version: 0.0.88
4
+ Summary: JEditor is basic but powerful editor for python
5
+ Author-email: JE-Chen <jechenmailman@gmail.com>
6
6
  License: MIT
7
7
  Project-URL: Homepage, https://github.com/JE-Chen/je_editor
8
+ Project-URL: Documentation, https://je-editor.readthedocs.io/en/latest/
9
+ Project-URL: Code, https://github.com/JE-Chen/je_editor
8
10
  Classifier: Programming Language :: Python :: 3.7
9
11
  Classifier: Development Status :: 2 - Pre-Alpha
10
12
  Classifier: Environment :: Win32 (MS Windows)
@@ -23,6 +25,24 @@ Requires-Dist: yapf
23
25
 
24
26
  ---
25
27
 
28
+ [![Downloads](https://static.pepy.tech/badge/je-editor)](https://pepy.tech/project/je-editor)
29
+
30
+
31
+ [![Codacy Badge](https://app.codacy.com/project/badge/Grade/825a90622a224207be4abe869775b50a)](https://www.codacy.com/gh/JE-Chen/je_editor/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=JE-Chen/je_editor&amp;utm_campaign=Badge_Grade)
32
+
33
+ [![CircleCI](https://dl.circleci.com/status-badge/img/gh/Intergration-Automation-Testing/je_editor/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/Intergration-Automation-Testing/je_editor/tree/main)
34
+
35
+ [![JE_Editor GitHub Actions Dev](https://github.com/JE-Chen/je_editor/actions/workflows/je-editor-github-actions_dev.yml/badge.svg?branch=dev)](https://github.com/JE-Chen/je_editor/actions/workflows/je-editor-github-actions_dev.yml)
36
+
37
+ [![JE_Editor GitHub Actions Stable](https://github.com/JE-Chen/je_editor/actions/workflows/je-editor-github-actions_stable.yml/badge.svg?branch=main)](https://github.com/JE-Chen/je_editor/actions/workflows/je-editor-github-actions_stable.yml)
38
+
39
+ ### Document
40
+
41
+ [![Documentation Status](https://readthedocs.org/projects/je-editor/badge/?version=latest)](https://je-editor.readthedocs.io/en/latest/?badge=latest)
42
+
43
+ ---
44
+
45
+
26
46
  ![Editor Picture](image/JEditor.png)
27
47
  > * Project Kanban https://github.com/orgs/Intergration-Automation-Testing/projects/2
28
48
  > * JEditor is a simple text editor, but it has all the necessary features.
@@ -40,20 +60,6 @@ Requires-Dist: yapf
40
60
 
41
61
  ---
42
62
 
43
- [![Codacy Badge](https://app.codacy.com/project/badge/Grade/825a90622a224207be4abe869775b50a)](https://www.codacy.com/gh/JE-Chen/je_editor/dashboard?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=JE-Chen/je_editor&amp;utm_campaign=Badge_Grade)
44
-
45
- [![CircleCI](https://dl.circleci.com/status-badge/img/gh/Integrated-Testing-Environment/je_editor/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/Integrated-Testing-Environment/je_editor/tree/main)
46
-
47
- [![JE_Editor GitHub Actions Dev](https://github.com/JE-Chen/je_editor/actions/workflows/je-editor-github-actions_dev.yml/badge.svg?branch=dev)](https://github.com/JE-Chen/je_editor/actions/workflows/je-editor-github-actions_dev.yml)
48
-
49
- [![JE_Editor GitHub Actions Stable](https://github.com/JE-Chen/je_editor/actions/workflows/je-editor-github-actions_stable.yml/badge.svg?branch=main)](https://github.com/JE-Chen/je_editor/actions/workflows/je-editor-github-actions_stable.yml)
50
-
51
- ### Document
52
-
53
- [![Documentation Status](https://readthedocs.org/projects/je-editor/badge/?version=latest)](https://je-editor.readthedocs.io/en/latest/?badge=latest)
54
-
55
- ---
56
-
57
63
  ## Requires
58
64
 
59
65
  ```
@@ -19,18 +19,18 @@ je_editor/pyside_ui/main_ui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMp
19
19
  je_editor/pyside_ui/main_ui/editor_main_ui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
20
  je_editor/pyside_ui/main_ui/editor_main_ui/main_editor.py,sha256=xrOMI7p7xXjNovaBal-EtYa3NlDQRROsBtxMcNmXzs0,4835
21
21
  je_editor/pyside_ui/main_ui_setting/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
- je_editor/pyside_ui/main_ui_setting/ui_setting.py,sha256=DUjrrkI_8ijSL8e9iy2IMwee0R9EWucEGk0O0e2QyvM,1653
22
+ je_editor/pyside_ui/main_ui_setting/ui_setting.py,sha256=PqKiuepGRTLp_tlp52mk_M_q6GIjpvnT8cldMhs2X4E,1643
23
23
  je_editor/pyside_ui/menu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  je_editor/pyside_ui/menu/menu_bar/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
25
25
  je_editor/pyside_ui/menu/menu_bar/set_menu_bar.py,sha256=nHTLYVl8-4LTp4XmK19q6H5UQQk9QK5Xf13WdWDch0Q,1118
26
26
  je_editor/pyside_ui/menu/menu_bar/check_style_menu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
27
27
  je_editor/pyside_ui/menu/menu_bar/check_style_menu/build_check_style_menu.py,sha256=0lcjp1rz58_68SKZ3uiSuKibmw58kSQ1MGHX0KFUgSc,1734
28
28
  je_editor/pyside_ui/menu/menu_bar/file_menu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
- je_editor/pyside_ui/menu/menu_bar/file_menu/build_file_menu.py,sha256=YvQs5MS_lo4QpL1K-07aNyl7tBeHWOUv8Sw6u5OSKiI,1114
29
+ je_editor/pyside_ui/menu/menu_bar/file_menu/build_file_menu.py,sha256=MnMcMEzB391RIs97GcNKuciG3GwjFtavZIdsXQSj5Go,1228
30
30
  je_editor/pyside_ui/menu/menu_bar/help_menu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
31
  je_editor/pyside_ui/menu/menu_bar/help_menu/build_help_menu.py,sha256=17mk5RJ6rzsMCnCGP_HCJUQUIX-nrPuzP7ZMTed1VnE,1319
32
32
  je_editor/pyside_ui/menu/menu_bar/run_menu/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
33
- je_editor/pyside_ui/menu/menu_bar/run_menu/build_run_menu.py,sha256=LJWDrrFm6-VVKZ0qfbDRhXoKjNWplx6IVsWdgpjaHcI,3632
33
+ je_editor/pyside_ui/menu/menu_bar/run_menu/build_run_menu.py,sha256=43DmeB1ImQk3WMZAtL2rYV2rAAPgVfkT2eYHSZ2DxVk,4141
34
34
  je_editor/pyside_ui/search_ui/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
35
35
  je_editor/pyside_ui/search_ui/search_error_box.py,sha256=ost5tDwCJp6izbJNDb4jPJrrOpoNAuDkhpROW9R02NQ,865
36
36
  je_editor/pyside_ui/search_ui/search_text_box.py,sha256=DRtJ3QHu-QzvGwIRLebzCgpVV17apNB2-4Q3tsBwnSM,857
@@ -38,7 +38,6 @@ je_editor/pyside_ui/shell_process/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeR
38
38
  je_editor/pyside_ui/shell_process/shell_exec.py,sha256=g6Q9qnynneZQ9y9BS4HIFACMyyU52KJutVNmtXZLISk,6068
39
39
  je_editor/pyside_ui/syntax/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
40
40
  je_editor/pyside_ui/syntax/python_syntax.py,sha256=C5Ie5y57Pm_oVJIzpNCOtVAItHp_sq-zbn_sJMgVVNE,3749
41
- je_editor/pyside_ui/tab_widget/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
42
41
  je_editor/pyside_ui/treeview/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
43
42
  je_editor/pyside_ui/treeview/project_treeview/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
44
43
  je_editor/pyside_ui/treeview/project_treeview/set_project_treeview.py,sha256=uMPJpQe-iXJw_JnS1eXpm-MWzXAcloCdXD07a5eWY48,1961
@@ -55,8 +54,8 @@ je_editor/utils/json_format/__init__.py,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_X
55
54
  je_editor/utils/json_format/json_process.py,sha256=Ic-OpIueSYmtWgnHPP_RzM3dlSmKTsGdLm22pypLb5M,983
56
55
  je_editor/utils/redirect_manager/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
57
56
  je_editor/utils/redirect_manager/redirect_manager_class.py,sha256=0HX7XyFhN8cFaZefKUsE1MrpQIcnLozrvNTMOsfV5zU,1991
58
- je_editor-0.0.86.dist-info/LICENSE,sha256=YcSMBs2sED35BtlErMkfIDye9Oo-3SYmUJiZJOpa34g,1085
59
- je_editor-0.0.86.dist-info/METADATA,sha256=7_5dN3oDo759wegc7WZr5GmoB3_S29OqFYzleh48LRM,2904
60
- je_editor-0.0.86.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
61
- je_editor-0.0.86.dist-info/top_level.txt,sha256=_9YA7BgxpkmdLs-5V_UQILxClcMRgPyG1a3qaE-Bkcs,10
62
- je_editor-0.0.86.dist-info/RECORD,,
57
+ je_editor-0.0.88.dist-info/LICENSE,sha256=YcSMBs2sED35BtlErMkfIDye9Oo-3SYmUJiZJOpa34g,1085
58
+ je_editor-0.0.88.dist-info/METADATA,sha256=bz3BUgksQBQqlhxe8rV0rJ0yw0FPmKwIPUDlj5taCN8,3166
59
+ je_editor-0.0.88.dist-info/WHEEL,sha256=pkctZYzUS4AYVn6dJ-7367OJZivF2e8RA9b_ZBjif18,92
60
+ je_editor-0.0.88.dist-info/top_level.txt,sha256=_9YA7BgxpkmdLs-5V_UQILxClcMRgPyG1a3qaE-Bkcs,10
61
+ je_editor-0.0.88.dist-info/RECORD,,
File without changes