pyqttoolkit 0.8.0.post1__tar.gz → 0.8.2__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.
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/PKG-INFO +3 -3
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/_version.py +3 -3
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/models/dicttable.py +6 -3
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/scripting/script_runner.py +15 -2
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/tool_window_service.py +3 -2
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit.egg-info/PKG-INFO +3 -3
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/MANIFEST.in +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/README.md +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/application/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/application/application.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/application/garbage_collector.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/colors/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/config/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/config/base.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/config/composite.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/config/default.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/config/environment.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/config/multi_json_file.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/config/with_signal.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/config/with_value_changed.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/data/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/data/bits.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/data/cache.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/data/interval.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/data/message.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/data/names.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/datetime/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/datetime/datetime.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/datetime/qdatetime.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/dependencies/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/errors/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/exceptions/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/filesystem/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/logs/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/metadata/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/metadata/dataframe_metadata_manager.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/metadata/dict_metadata_manager.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/metadata/id_generator.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/metadata/metadata_manager_base.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/models/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/models/code_text.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/models/dataframetable.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/models/dictpropertytree.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/models/json_text.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/models/list_model.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/models/module.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/models/roles.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/models/series_data.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/models/span.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/models/validation.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/modules/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/modules/events/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/modules/events/add_signal.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/modules/events/module_opening.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/modules/events/rejectable.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/modules/launcher_config.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/modules/module.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/properties/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/properties/auto.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/properties/throttled.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/scripting/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/scripting/script_context.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/scripting/script_template.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/autosave.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/email.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/event_registry.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/file_dialog.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/hotkey_manager.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/link_manager.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/message_board.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/module_service.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/object_converter.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/project_updater.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/task_runner.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/services/theme_manager.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/viewmanagers/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/viewmanagers/tool.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/bulk_value_selector.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/check_box.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/code/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/code/code_edit.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/code/python_syntax.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/combo_box.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/count_selector.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/datetime.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/datetime_range_selector.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/default_text_line_edit.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/delegates.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/dtype_edit.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/editable_combo_box.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/file_selector.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/icon.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/icon_button.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/json_edit.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/labelled.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/layout/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/layout/collabsible.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/layout/group_box.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/layout/group_panel.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/layout/lines.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/layout/link.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/line_edit.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/linkable.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/list_view.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/main_window.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/metadata_selector.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/modulewindow.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/legend_control.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/matplotlib/__init__.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/matplotlib/base.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/matplotlib/colorbar.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/matplotlib/colormap.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/matplotlib/font.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/plot_options.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/plot_toolbar_options.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/size.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/tool_type.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/toolbar.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/popout.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/popup.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/property_tree.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/shrunk_push_button.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/steppable_combo_box.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/styleable.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/table.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/text_edit.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/tool_window.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit.egg-info/SOURCES.txt +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit.egg-info/dependency_links.txt +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit.egg-info/requires.txt +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit.egg-info/top_level.txt +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/setup.cfg +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/setup.py +0 -0
- {pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/versioneer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyqttoolkit
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.2
|
|
4
4
|
Summary: A toolkit for PyQt 5
|
|
5
5
|
Home-page: https://github.com/BitBloomTech/pyqttoolkit
|
|
6
6
|
Author: Bitbloom Ltd
|
|
@@ -12,6 +12,6 @@ Description: # PyQtToolkit
|
|
|
12
12
|
Platform: any
|
|
13
13
|
Requires-Python: >=3.6
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Provides-Extra: publish
|
|
16
|
-
Provides-Extra: ui
|
|
17
15
|
Provides-Extra: test
|
|
16
|
+
Provides-Extra: ui
|
|
17
|
+
Provides-Extra: publish
|
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2025-
|
|
11
|
+
"date": "2025-08-20T11:31:02+0100",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "0.8.
|
|
14
|
+
"full-revisionid": "821c2bf119c1f87df7dabc550793fed84592812d",
|
|
15
|
+
"version": "0.8.2"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -61,11 +61,14 @@ class DictTableModel(QAbstractTableModel):
|
|
|
61
61
|
value = self._value[self._ids[index.row()]].get(self.displayProperties[index.column()])
|
|
62
62
|
if value is None:
|
|
63
63
|
return None
|
|
64
|
-
|
|
65
|
-
return '{:0.2f}'.format(value)
|
|
66
|
-
return value
|
|
64
|
+
return self._format_value(value, index)
|
|
67
65
|
return None
|
|
68
66
|
|
|
67
|
+
def _format_value(self, value, index):
|
|
68
|
+
if isinstance(value, float):
|
|
69
|
+
return '{:0.2f}'.format(value)
|
|
70
|
+
return value
|
|
71
|
+
|
|
69
72
|
def setData(self, index, value, role=None):
|
|
70
73
|
role = role or Qt.EditRole
|
|
71
74
|
if role == Qt.EditRole:
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
# along with this program; if not, write to the Free Software Foundation,
|
|
16
16
|
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
17
17
|
from contextlib import contextmanager
|
|
18
|
+
from functools import partial
|
|
18
19
|
import re
|
|
19
20
|
import builtins
|
|
20
21
|
import sys
|
|
@@ -84,7 +85,19 @@ class ScriptRunner:
|
|
|
84
85
|
|
|
85
86
|
def compile(self, script):
|
|
86
87
|
return compile(script, 'code', 'exec')
|
|
87
|
-
|
|
88
|
+
|
|
89
|
+
def _patch_plt_show(self, module):
|
|
90
|
+
def plt_show_as_show_figure(plt, block=None):
|
|
91
|
+
# Block is not used in the context of the script runner
|
|
92
|
+
for no, label in zip(plt.get_fignums(), plt.get_figlabels()):
|
|
93
|
+
self._context.show_figure(plt.figure(no), str(label))
|
|
94
|
+
plt.close('all')
|
|
95
|
+
if module.__name__ == 'matplotlib.pyplot':
|
|
96
|
+
module.show = partial(plt_show_as_show_figure, module)
|
|
97
|
+
if module.__name__ == 'matplotlib':
|
|
98
|
+
module.pyplot.show = partial(plt_show_as_show_figure, module.pyplot)
|
|
99
|
+
return module
|
|
100
|
+
|
|
88
101
|
def _import(self, import_function):
|
|
89
102
|
def _(module_name, *args, **kwargs):
|
|
90
103
|
if any(re.match(m, module_name) for m in self._disallowed_modules):
|
|
@@ -94,7 +107,7 @@ class ScriptRunner:
|
|
|
94
107
|
module = import_function(module_name, *args, **kwargs)
|
|
95
108
|
if module_name in 'importlib':
|
|
96
109
|
module.import_module = self._import(importlib.import_module)
|
|
97
|
-
return module
|
|
110
|
+
return self._patch_plt_show(module)
|
|
98
111
|
except KeyError:
|
|
99
112
|
raise ImportError('Module not found')
|
|
100
113
|
return _
|
|
@@ -25,8 +25,9 @@ class ToolWindowService:
|
|
|
25
25
|
self._dependency_container = dependency_contianer
|
|
26
26
|
self._active_tools = []
|
|
27
27
|
|
|
28
|
-
def open(self, parent, model, name):
|
|
29
|
-
|
|
28
|
+
def open(self, parent, model, name, *args, extras=None):
|
|
29
|
+
extras = {'parent': None, **(extras or {})}
|
|
30
|
+
view = self._dependency_container.resolve_for(type(model), QWidget, extras, *args)
|
|
30
31
|
if hasattr(model, 'showButtons'):
|
|
31
32
|
show_buttons = model.showButtons
|
|
32
33
|
else:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: pyqttoolkit
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.2
|
|
4
4
|
Summary: A toolkit for PyQt 5
|
|
5
5
|
Home-page: https://github.com/BitBloomTech/pyqttoolkit
|
|
6
6
|
Author: Bitbloom Ltd
|
|
@@ -12,6 +12,6 @@ Description: # PyQtToolkit
|
|
|
12
12
|
Platform: any
|
|
13
13
|
Requires-Python: >=3.6
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Provides-Extra: publish
|
|
16
|
-
Provides-Extra: ui
|
|
17
15
|
Provides-Extra: test
|
|
16
|
+
Provides-Extra: ui
|
|
17
|
+
Provides-Extra: publish
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/metadata/dataframe_metadata_manager.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyqttoolkit-0.8.0.post1 → pyqttoolkit-0.8.2}/pyqttoolkit/views/plot/plot_toolbar_options.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|