MoleditPy-linux 2.4.9__py3-none-any.whl → 2.5.0__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.
- moleditpy_linux/modules/constants.py +1 -1
- moleditpy_linux/modules/main_window_main_init.py +18 -1
- {moleditpy_linux-2.4.9.dist-info → moleditpy_linux-2.5.0.dist-info}/METADATA +1 -1
- {moleditpy_linux-2.4.9.dist-info → moleditpy_linux-2.5.0.dist-info}/RECORD +8 -8
- {moleditpy_linux-2.4.9.dist-info → moleditpy_linux-2.5.0.dist-info}/WHEEL +0 -0
- {moleditpy_linux-2.4.9.dist-info → moleditpy_linux-2.5.0.dist-info}/entry_points.txt +0 -0
- {moleditpy_linux-2.4.9.dist-info → moleditpy_linux-2.5.0.dist-info}/licenses/LICENSE +0 -0
- {moleditpy_linux-2.4.9.dist-info → moleditpy_linux-2.5.0.dist-info}/top_level.txt +0 -0
|
@@ -499,6 +499,7 @@ class MainWindowMainInit(object):
|
|
|
499
499
|
self.addToolBar(Qt.ToolBarArea.TopToolBarArea, self.plugin_toolbar)
|
|
500
500
|
self.plugin_toolbar.hide()
|
|
501
501
|
|
|
502
|
+
|
|
502
503
|
# Initialize menu bar (and populate toolbars) AFTER all toolbars are created
|
|
503
504
|
self.init_menu_bar()
|
|
504
505
|
|
|
@@ -799,7 +800,7 @@ class MainWindowMainInit(object):
|
|
|
799
800
|
toolbar.addAction(self.edit_3d_action)
|
|
800
801
|
|
|
801
802
|
# 3Dスタイル変更ボタンとメニューを作成
|
|
802
|
-
|
|
803
|
+
# Reverted to original location and added immediate update for plugins
|
|
803
804
|
self.style_button = QToolButton()
|
|
804
805
|
self.style_button.setText("3D Style")
|
|
805
806
|
self.style_button.setPopupMode(QToolButton.ToolButtonPopupMode.InstantPopup)
|
|
@@ -836,6 +837,22 @@ class MainWindowMainInit(object):
|
|
|
836
837
|
style_menu.addAction(stick_action)
|
|
837
838
|
style_group.addAction(stick_action)
|
|
838
839
|
|
|
840
|
+
# --- Fix for Custom 3D Styles from Plugins ---
|
|
841
|
+
# Since style_button is created after plugins are discovered/menus init,
|
|
842
|
+
# we need to manually trigger the update/injection of custom styles here.
|
|
843
|
+
if self.plugin_manager and self.plugin_manager.custom_3d_styles:
|
|
844
|
+
# Add separator
|
|
845
|
+
style_menu.addSeparator()
|
|
846
|
+
|
|
847
|
+
for style_name in self.plugin_manager.custom_3d_styles:
|
|
848
|
+
# Avoid duplicates just in case
|
|
849
|
+
if not any(a.text() == style_name for a in style_menu.actions()):
|
|
850
|
+
action = QAction(style_name, self, checkable=True)
|
|
851
|
+
action.triggered.connect(lambda checked=False, s=style_name: self.set_3d_style(s))
|
|
852
|
+
style_menu.addAction(action)
|
|
853
|
+
style_group.addAction(action)
|
|
854
|
+
|
|
855
|
+
|
|
839
856
|
quit_shortcut = QShortcut(QKeySequence("Ctrl+Q"), self)
|
|
840
857
|
quit_shortcut.activated.connect(self.close)
|
|
841
858
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MoleditPy-linux
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.5.0
|
|
4
4
|
Summary: A cross-platform, simple, and intuitive molecular structure editor built in Python. It allows 2D molecular drawing and 3D structure visualization. It supports exporting structure files for input to DFT calculation software.
|
|
5
5
|
Author-email: HiroYokoyama <titech.yoko.hiro@gmail.com>
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -12,7 +12,7 @@ moleditpy_linux/modules/bond_item.py,sha256=21oX1sR5kpY-MlfUsmekkV6XATVwIAhmsH1U
|
|
|
12
12
|
moleditpy_linux/modules/bond_length_dialog.py,sha256=6bFPGssnqlgINuqpxLv-OhjMH3_hspnaH8QtorAyu2M,14782
|
|
13
13
|
moleditpy_linux/modules/calculation_worker.py,sha256=KiGQY7i-QCQofEoE0r65KoQgpEGFcbhmxWv6egfkUdc,42324
|
|
14
14
|
moleditpy_linux/modules/color_settings_dialog.py,sha256=Ow44BhCOLo0AFb6klO001k6B4drOgKX9DeNBQhZLp5o,15474
|
|
15
|
-
moleditpy_linux/modules/constants.py,sha256=
|
|
15
|
+
moleditpy_linux/modules/constants.py,sha256=3xT6rZMT_ArPpTc6QOYNLYaipq_C7KX7_qixiWJHPxI,4702
|
|
16
16
|
moleditpy_linux/modules/constrained_optimization_dialog.py,sha256=REsk4ePsqNmAGPMTS_jckeM7jexrU3krwun8sKqKUCs,30062
|
|
17
17
|
moleditpy_linux/modules/custom_interactor_style.py,sha256=LDNODMJoNHGe1AUSrvqv6PdeJm-hpPmSpWINppnJLt0,38942
|
|
18
18
|
moleditpy_linux/modules/custom_qt_interactor.py,sha256=vCZsDfRO-FtphD5cTP7Ps-5rpHZMIGloaoe6EaKzrsw,4139
|
|
@@ -25,7 +25,7 @@ moleditpy_linux/modules/main_window_dialog_manager.py,sha256=QR96LqHAPSOShXbc9cK
|
|
|
25
25
|
moleditpy_linux/modules/main_window_edit_3d.py,sha256=CUArB5wcsgq1C7LygAEC6URlbnn4RhRYDa5n-Y-etWI,19731
|
|
26
26
|
moleditpy_linux/modules/main_window_edit_actions.py,sha256=drVXRFpSOhILYfApcSro9zssnDw-a8F7wNcfQ3xQukw,69412
|
|
27
27
|
moleditpy_linux/modules/main_window_export.py,sha256=_Vd7MeP_xaLWDYDm3-ZIZiPuAXhP-AvrQbi7Yx3Jy3c,43020
|
|
28
|
-
moleditpy_linux/modules/main_window_main_init.py,sha256=
|
|
28
|
+
moleditpy_linux/modules/main_window_main_init.py,sha256=kvNuFxUinCPfBZ_qKE9iSybNFeN-onfmn_ER18_hnVI,97531
|
|
29
29
|
moleditpy_linux/modules/main_window_molecular_parsers.py,sha256=KR6vzuqc3nutOcorpYr0QOyX3MFBcxTwDhZX96VgJ9Q,48291
|
|
30
30
|
moleditpy_linux/modules/main_window_project_io.py,sha256=TWwtuKDuvgcvPZ9IGmW8r1EJJOrgxrIJRnxe_f4C1oM,17149
|
|
31
31
|
moleditpy_linux/modules/main_window_string_importers.py,sha256=v47wOd4RtjKYcF-aLP-mogGGdYTpTEo3dDyAu79_5MM,10782
|
|
@@ -51,9 +51,9 @@ moleditpy_linux/modules/assets/file_icon.ico,sha256=yyVj084A7HuMNbV073cE_Ag3Ne40
|
|
|
51
51
|
moleditpy_linux/modules/assets/icon.icns,sha256=wD5R6-Vw7K662tVKhu2E1ImN0oUuyAP4youesEQsn9c,139863
|
|
52
52
|
moleditpy_linux/modules/assets/icon.ico,sha256=RfgFcx7-dHY_2STdsOQCQziY5SNhDr3gPnjO6jzEDPI,147975
|
|
53
53
|
moleditpy_linux/modules/assets/icon.png,sha256=kCFN1WacYIdy0GN6SFEbNA00ef39pCczBnFdkkBI8Bs,147110
|
|
54
|
-
moleditpy_linux-2.
|
|
55
|
-
moleditpy_linux-2.
|
|
56
|
-
moleditpy_linux-2.
|
|
57
|
-
moleditpy_linux-2.
|
|
58
|
-
moleditpy_linux-2.
|
|
59
|
-
moleditpy_linux-2.
|
|
54
|
+
moleditpy_linux-2.5.0.dist-info/licenses/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
55
|
+
moleditpy_linux-2.5.0.dist-info/METADATA,sha256=-N1v5RKpAk7zMxo57et4lFgaFFb4Tj2OT0cnDXzbMvs,60708
|
|
56
|
+
moleditpy_linux-2.5.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
57
|
+
moleditpy_linux-2.5.0.dist-info/entry_points.txt,sha256=-OzipSi__yVwlimNtu3eiRP5t5UMg55Cs0udyhXYiyw,60
|
|
58
|
+
moleditpy_linux-2.5.0.dist-info/top_level.txt,sha256=qyqe-hDYL6CXyin9E5Me5rVl3PG84VqiOjf9bQvfJLs,16
|
|
59
|
+
moleditpy_linux-2.5.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|