MoleditPy-linux 1.17.0__tar.gz → 1.17.1__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.
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/PKG-INFO +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/pyproject.toml +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/MoleditPy_linux.egg-info/PKG-INFO +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/__init__.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/__main__.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/main.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/__init__.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/about_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/align_plane_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/alignment_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/analysis_window.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/angle_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/atom_item.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/bond_item.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/bond_length_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/calculation_worker.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/color_settings_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/constants.py +2 -2
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/constrained_optimization_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/custom_interactor_style.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/custom_qt_interactor.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/dialog3_d_picking_mixin.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/dihedral_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_app_state.py +9 -0
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_compute.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_dialog_manager.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_edit_3d.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_edit_actions.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_export.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_main_init.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_molecular_parsers.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_project_io.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_string_importers.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_ui_manager.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_view_3d.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window_view_loaders.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/mirror_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/molecular_data.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/molecule_scene.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/move_group_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/periodic_table_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/planarize_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/settings_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/template_preview_item.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/template_preview_view.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/translation_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/user_template_dialog.py +1 -1
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/zoomable_view.py +22 -2
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/LICENSE +0 -0
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/README.md +0 -0
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/setup.cfg +0 -0
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/MoleditPy_linux.egg-info/SOURCES.txt +0 -0
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/MoleditPy_linux.egg-info/dependency_links.txt +0 -0
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/MoleditPy_linux.egg-info/entry_points.txt +0 -0
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/MoleditPy_linux.egg-info/requires.txt +0 -0
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/MoleditPy_linux.egg-info/top_level.txt +0 -0
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/assets/icon.icns +0 -0
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/assets/icon.ico +0 -0
- {moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/assets/icon.png +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MoleditPy-linux
|
|
3
|
-
Version: 1.17.
|
|
3
|
+
Version: 1.17.1
|
|
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
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: MoleditPy-linux
|
|
3
|
-
Version: 1.17.
|
|
3
|
+
Version: 1.17.1
|
|
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
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
# Open Babel is disabled for Linux version
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/about_dialog.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/align_plane_dialog.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/alignment_dialog.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/analysis_window.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/angle_dialog.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import QGraphicsItem
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import QGraphicsItem, QGraphicsScene
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/bond_length_dialog.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/calculation_worker.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtCore import QObject
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
# --- Constants ---
|
|
@@ -16,7 +16,7 @@ from PyQt6.QtGui import QFont, QColor
|
|
|
16
16
|
from rdkit import Chem
|
|
17
17
|
|
|
18
18
|
#Version
|
|
19
|
-
VERSION = '1.17.
|
|
19
|
+
VERSION = '1.17.1'
|
|
20
20
|
|
|
21
21
|
ATOM_RADIUS = 18
|
|
22
22
|
BOND_OFFSET = 3.5
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
import numpy as np
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from pyvistaqt import QtInteractor
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtCore import Qt, QEvent
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/dihedral_dialog.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/main_window.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
import traceback
|
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env python3
|
|
2
2
|
# -*- coding: utf-8 -*-
|
|
3
3
|
|
|
4
|
+
"""
|
|
5
|
+
MoleditPy — A Python-based molecular editing software
|
|
6
|
+
|
|
7
|
+
Author: Hiromichi Yokoyama
|
|
8
|
+
License: GPL-3.0 license
|
|
9
|
+
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
|
+
"""
|
|
12
|
+
|
|
4
13
|
"""
|
|
5
14
|
main_window_app_state.py
|
|
6
15
|
MainWindow (main_window.py) から分離されたモジュール
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/mirror_dialog.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/molecular_data.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from rdkit import Chem
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/molecule_scene.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
import traceback
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/move_group_dialog.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import QDialog, QGridLayout, QPushButton
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/planarize_dialog.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/settings_dialog.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import QGraphicsView
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/translation_dialog.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/zoomable_view.py
RENAMED
|
@@ -7,7 +7,7 @@ MoleditPy — A Python-based molecular editing software
|
|
|
7
7
|
Author: Hiromichi Yokoyama
|
|
8
8
|
License: GPL-3.0 license
|
|
9
9
|
Repo: https://github.com/HiroYokoyama/python_molecular_editor
|
|
10
|
-
DOI 10.5281/zenodo.17268532
|
|
10
|
+
DOI: 10.5281/zenodo.17268532
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
from PyQt6.QtWidgets import (
|
|
@@ -16,7 +16,7 @@ from PyQt6.QtWidgets import (
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
from PyQt6.QtCore import (
|
|
19
|
-
Qt, QPointF
|
|
19
|
+
Qt, QPointF, QEvent
|
|
20
20
|
)
|
|
21
21
|
|
|
22
22
|
class ZoomableView(QGraphicsView):
|
|
@@ -107,3 +107,23 @@ class ZoomableView(QGraphicsView):
|
|
|
107
107
|
event.accept()
|
|
108
108
|
else:
|
|
109
109
|
super().mouseReleaseEvent(event)
|
|
110
|
+
|
|
111
|
+
def viewportEvent(self, event):
|
|
112
|
+
""" Macのトラックパッドなどのネイティブジェスチャー(ピンチ)に対応 """
|
|
113
|
+
if event.type() == QEvent.Type.NativeGesture:
|
|
114
|
+
# ピンチズーム(ZoomNativeGesture)の場合
|
|
115
|
+
if event.gestureType() == Qt.NativeGestureType.ZoomNativeGesture:
|
|
116
|
+
# event.value() は拡大縮小の倍率差分を返します
|
|
117
|
+
# 例: 拡大時は正の値、縮小時は負の値
|
|
118
|
+
factor = 1.0 + event.value()
|
|
119
|
+
|
|
120
|
+
# 既存の最大・最小スケール制限を考慮する場合(オプション)
|
|
121
|
+
current_scale = self.transform().m11()
|
|
122
|
+
min_scale, max_scale = 0.05, 20.0
|
|
123
|
+
|
|
124
|
+
# 制限内であればスケールを適用
|
|
125
|
+
# (厳密に制限を守るならif文でガードしますが、最小実装としては以下で動作します)
|
|
126
|
+
self.scale(factor, factor)
|
|
127
|
+
return True
|
|
128
|
+
|
|
129
|
+
return super().viewportEvent(event)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/MoleditPy_linux.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/MoleditPy_linux.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/MoleditPy_linux.egg-info/top_level.txt
RENAMED
|
File without changes
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/assets/icon.icns
RENAMED
|
File without changes
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/assets/icon.ico
RENAMED
|
File without changes
|
{moleditpy_linux-1.17.0 → moleditpy_linux-1.17.1}/src/moleditpy_linux/modules/assets/icon.png
RENAMED
|
File without changes
|