oqtopus 0.1.21__tar.gz → 0.1.22__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.
- {oqtopus-0.1.21 → oqtopus-0.1.22}/PKG-INFO +1 -1
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/main_dialog.py +4 -2
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/utils/plugin_utils.py +5 -2
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus.egg-info/PKG-INFO +1 -1
- {oqtopus-0.1.21 → oqtopus-0.1.22}/LICENSE +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/README.md +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/__init__.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/core/module.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/core/module_asset.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/core/module_package.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/core/modules_config.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/core/package_prepare_task.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/__init__.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/about_dialog.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/database_connection_widget.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/database_create_dialog.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/database_duplicate_dialog.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/logs_widget.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/module_selection_widget.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/module_widget.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/parameters_groupbox.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/plugin_widget.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/project_widget.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/gui/settings_dialog.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/oqtopus.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/oqtopus_plugin.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/ui/__init__.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/ui/about_dialog.ui +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/ui/database_connection_widget.ui +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/ui/database_create_dialog.ui +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/ui/database_duplicate_dialog.ui +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/ui/logs_widget.ui +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/ui/main_dialog.ui +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/ui/module_selection_widget.ui +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/ui/module_widget.ui +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/ui/plugin_widget.ui +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/ui/project_widget.ui +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/ui/settings_dialog.ui +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/utils/__init__.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/utils/qt_utils.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/utils/tmmtlogging.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus/utils/translation.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus.egg-info/SOURCES.txt +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus.egg-info/dependency_links.txt +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus.egg-info/requires.txt +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/oqtopus.egg-info/top_level.txt +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/pyproject.toml +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/requirements.txt +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/setup.cfg +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/tests/__init__.py +0 -0
- {oqtopus-0.1.21 → oqtopus-0.1.22}/tests/test_plugin_load.py +0 -0
|
@@ -53,10 +53,12 @@ DIALOG_UI = PluginUtils.get_ui_class("main_dialog.ui")
|
|
|
53
53
|
|
|
54
54
|
class MainDialog(QDialog, DIALOG_UI):
|
|
55
55
|
|
|
56
|
-
def __init__(self, modules_config_path, parent=None):
|
|
56
|
+
def __init__(self, modules_config_path, about_dialog_cls=None, parent=None):
|
|
57
57
|
QDialog.__init__(self, parent)
|
|
58
58
|
self.setupUi(self)
|
|
59
59
|
|
|
60
|
+
self.__about_dialog_cls = about_dialog_cls or AboutDialog
|
|
61
|
+
|
|
60
62
|
self.buttonBox.rejected.connect(self.__closeDialog)
|
|
61
63
|
self.buttonBox.helpRequested.connect(self.__helpRequested)
|
|
62
64
|
|
|
@@ -136,7 +138,7 @@ class MainDialog(QDialog, DIALOG_UI):
|
|
|
136
138
|
dlg.exec()
|
|
137
139
|
|
|
138
140
|
def __show_about_dialog(self):
|
|
139
|
-
dialog =
|
|
141
|
+
dialog = self.__about_dialog_cls(self)
|
|
140
142
|
dialog.exec()
|
|
141
143
|
|
|
142
144
|
def __moduleSelection_loadingStarted(self):
|
|
@@ -95,8 +95,11 @@ class PluginUtils:
|
|
|
95
95
|
return ini_text.value("version")
|
|
96
96
|
|
|
97
97
|
@staticmethod
|
|
98
|
-
def init_logger():
|
|
99
|
-
|
|
98
|
+
def init_logger(logs_directory=None):
|
|
99
|
+
if logs_directory is not None:
|
|
100
|
+
PluginUtils.logsDirectory = logs_directory
|
|
101
|
+
else:
|
|
102
|
+
PluginUtils.logsDirectory = f"{PluginUtils.plugin_root_path()}/logs"
|
|
100
103
|
|
|
101
104
|
directory = QDir(PluginUtils.logsDirectory)
|
|
102
105
|
if not directory.exists():
|
|
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
|