aait 2.3.15.992__tar.gz → 2.3.15.993__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.
- {aait-2.3.15.992 → aait-2.3.15.993}/PKG-INFO +1 -1
- {aait-2.3.15.992 → aait-2.3.15.993}/aait.egg-info/PKG-INFO +1 -1
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/widget_positioning.py +49 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWAutoShowCreateInstance.py +117 -25
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWQuadrantclicker.py +20 -1
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owquadrant_clicker.ui +159 -3
- {aait-2.3.15.992 → aait-2.3.15.993}/setup.py +1 -1
- {aait-2.3.15.992 → aait-2.3.15.993}/License.txt +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/aait.egg-info/SOURCES.txt +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/aait.egg-info/dependency_links.txt +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/aait.egg-info/entry_points.txt +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/aait.egg-info/namespace_packages.txt +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/aait.egg-info/requires.txt +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/aait.egg-info/top_level.txt +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/__init__.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/llm/__init__.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/llm/answers.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/llm/answers_llama.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/llm/chunking.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/llm/embeddings.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/llm/lemmes.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/llm/lmstudio.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/llm/process_documents.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/llm/prompt_management.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/llm/resources/__ini__.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/llm/resources/markdown_recipe.json +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/llm/translations.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/optimiser/__init__.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/optimiser/optuna_multi.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/MetManagement.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/OperationSystem.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/SimpleDialogQt.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/__init__.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/aait_repo_file.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/aait_table_viewer.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/base_widget.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/delta_local_shared_fodler.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/import_uic.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/initialize_from_ini.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/mac_utils.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/shared_functions.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/shared_variables.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/subprocess_management.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/thread_management.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/tools/__init__.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/tools/change_owcorpus.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/tools/concat_splitted_pypi.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/tools/first_time_check.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/tools/owcorpus_ok.txt +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/unlink_table_domain.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/utils/windows_utils.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWAAITResourcesManager.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWAccumulator.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWAddColumns.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWApplyRules.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWAutoShowTable.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWCN2rule_view.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWChunking.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWConcatRules.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWConverseLLM.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWCreateEmbeddings.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWDisplayMD.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWEditTable.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWEmptySwitch.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWEndLoop.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWExecuteScript.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWExtraChunks.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWExtractTokens.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWFileMetadata.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWFileSyncChecker.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWFileWithPath.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWFindFilesFromDir.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWFusionNM.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWGenerateQuestions.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWGenerateSynthesis.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWGenerateWord.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWGetPages.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWInputSelector.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWKeywords.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWKeywordsDetection.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWLLMEngine.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWLMStudio.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWLanguageDetection.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWLargeLanguageModel.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWLemmatizer.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWLoadDocuments.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_CE_MiniLML6.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_Embeddings.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_Falcon.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_HelsinkiEnFr.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_HelsinkiFrEn.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_MPNET.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_Mistral.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_Qwen.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_Qwen1B5_Q6.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_Qwen2_5_32B.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_Qwen3B_Q4.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_Qwen7B_Q4.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_Qwen7B_Q6.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_Solar.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_SolarUncensored.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_SpacyMD_EN.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWModel_SpacyMD_FR.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWOperationSystem.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWOptimisation.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWOptimisationSelection.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWOptimisationSendScore.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWProcessDocumentsFromPath.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWQueryLLM.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWRandomData.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWReranking.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWSaveFilepathEntry.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWSelectColumnDynamique.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWSelectRowsDynamic.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWSortAndSelect.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWSplitExcelSheets.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWStartLoop.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWTable2Corpus.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWTranslation.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWTrigger.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/OWUnzipFolder.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/POW_Wfactory.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/__init__.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owMarkdown.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/ow_OperationSystem.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/ow_in_or_out_path.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/ow_widget_random_data.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owaccumulator.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owaddcolumns.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owapplyrules.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owchunking.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owconcatrules.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owconversellm.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owedgellm.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owembeddings.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owemptyswitch.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owendloop.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owexecutescript.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owexecutescript_TEST.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owextrachunks.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owextracttokens.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owfilemetadata.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owfilesyncchecker.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owfilewithpath.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owfindfilesfromdir.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owfusion_nm.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owgenerate_word.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owgeneratequestions.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owgeneratesynthesis.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owgetpages.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owkeyword.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owkeywordsdetection.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owlangdetect.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owlargelanguagemodel.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owlemmatizer.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owllm4all.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owloaddocuments.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owloadworkflow.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_ce_minilml6.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_embeddings.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_falcon.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_helsinki_en_fr.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_helsinki_fr_en.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_mistral.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_mpnet.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_qwen.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_qwen_2.5_32b.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_qwen_instruct_1.5b_q6.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_qwen_instruct_3b_q4.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_qwen_instruct_7b_q4.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_qwen_instruct_7b_q6.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_qwencoder_7b.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_solar.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_solar_uncensored.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_spacymd_en.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owmodel_spacymd_fr.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/ownumberpointinrules.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owprocessdocuments.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owqueryllm.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owreranking.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owsavewithpath.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owselect_column_dynamic.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owselect_row_dynamic.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owsortandselect.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owsplitexcelsheets.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owstartloop.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owtable2corpus.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owtranslation.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owtrigger.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owunzipfolder.ui +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/CN2RuleViewer.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/CreateInstance.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/MDViewer.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/Mistral.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/Table.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/apply_rules.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/blue_down_arrow.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/book.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/category.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/dark_green.txt +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/de.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/document_generator.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/documents.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/edge_llm.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/endloop.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/extra_chunks.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/green_check.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/in_or_out.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/input.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/languages.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/lm_studio.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/local_interf_img_multi_pull.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/local_interf_multi_pull.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/local_interf_pull.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/local_interf_push.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/local_interf_text_pull.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/logo_solar.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/logo_uncensoredsolar.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/logo_upload.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/models.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/operationSystem.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/optimisation.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/optimizer.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/output.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owCN2_intersect_rules.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owaccumulator.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owchunking.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owconversellm.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owedittable.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owembeddings.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owemptyswitch.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owenvinfo.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owexecutescript.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owextracttokens.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owfilemetadata.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owfilesfromdir.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owfilesyncchecker.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owfilewithpath.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owfusion_nm.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owgeneratequestions.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owgeneratesynthesis.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owkeywords.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owkeywordsdetection.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owlargelanguagemodel.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owlemmatizer.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owloaddocuments.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owmodel_ce_minilml6.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owmodel_embeddings.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owmodel_falcon.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owmodel_helsinki_en_fr.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owmodel_helsinki_fr_en.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owmodel_mpnet.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owmodel_spacymd_en.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owmodel_spacymd_fr.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owoptimisation.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owoptimisationselection.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owqueryllm.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owreranking.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owsavefilepathentry.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owselectcolumndynamique.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owsortandselect.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owtable2corpus.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owtranslation.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/owtrigger.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/processdocuments.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/quadrantclicker.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/qwen-color.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/select_dynamic_row.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/splitexcelsheets.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/startloop.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/tools.png +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/widgetFactory.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/icons/zip.svg +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/__init__.py +0 -0
- {aait-2.3.15.992 → aait-2.3.15.993}/setup.cfg +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from AnyQt.QtWidgets import QApplication
|
|
2
2
|
from AnyQt.QtCore import QTimer
|
|
3
|
+
import re
|
|
3
4
|
#allows displaying a widget on opening
|
|
4
5
|
# add (not sure!)
|
|
5
6
|
# save_position = False
|
|
@@ -13,6 +14,37 @@ def show_and_adjust_at_opening(argself,str_position):
|
|
|
13
14
|
argself.show()
|
|
14
15
|
QTimer.singleShot(1000, lambda: adjust_to_quarter(argself,str_position))
|
|
15
16
|
|
|
17
|
+
def _parse_variable_position(spec: str):
|
|
18
|
+
"""
|
|
19
|
+
Attend: vXX_dvYY_hxx_dhyy
|
|
20
|
+
vXX = % de l'écran (Y du coin haut)
|
|
21
|
+
dvYY = % de l'écran (hauteur)
|
|
22
|
+
hxx = % de l'écran (X du coin gauche)
|
|
23
|
+
dhyy = % de l'écran (largeur)
|
|
24
|
+
Retourne (v, dv, h, dh) en int si OK, sinon None.
|
|
25
|
+
"""
|
|
26
|
+
if not isinstance(spec, str):
|
|
27
|
+
return None
|
|
28
|
+
|
|
29
|
+
m = re.fullmatch(r"v(\d{1,3})_dv(\d{1,3})_h(\d{1,3})_dh(\d{1,3})", spec.strip())
|
|
30
|
+
if not m:
|
|
31
|
+
return None
|
|
32
|
+
|
|
33
|
+
v, dv, h, dh = map(int, m.groups())
|
|
34
|
+
|
|
35
|
+
# bornes simples: 0..100
|
|
36
|
+
if any(p < 0 or p > 100 for p in (v, dv, h, dh)):
|
|
37
|
+
return None
|
|
38
|
+
|
|
39
|
+
# éviter taille nulle (tu peux enlever si tu veux autoriser 0)
|
|
40
|
+
if dv == 0 or dh == 0:
|
|
41
|
+
return None
|
|
42
|
+
|
|
43
|
+
# vérifier que le rectangle reste dans l'écran (en %)
|
|
44
|
+
if v + dv > 100 or h + dh > 100:
|
|
45
|
+
return None
|
|
46
|
+
|
|
47
|
+
return v, dv, h, dh
|
|
16
48
|
|
|
17
49
|
def adjust_to_quarter(argself, position: str):
|
|
18
50
|
"""
|
|
@@ -26,6 +58,23 @@ def adjust_to_quarter(argself, position: str):
|
|
|
26
58
|
|
|
27
59
|
sw, sh = screen.width(), screen.height()
|
|
28
60
|
|
|
61
|
+
parsed = _parse_variable_position(position)
|
|
62
|
+
if parsed is not None:
|
|
63
|
+
v, dv, h, dh = parsed
|
|
64
|
+
|
|
65
|
+
# conversion % -> pixels
|
|
66
|
+
y = screen.y() + int(round(sh * (v / 100.0)))
|
|
67
|
+
h_px = int(round(sh * (dv / 100.0)))
|
|
68
|
+
|
|
69
|
+
x = screen.x() + int(round(sw * (h / 100.0)))
|
|
70
|
+
w_px = int(round(sw * (dh / 100.0)))
|
|
71
|
+
|
|
72
|
+
argself.resize(w_px, h_px)
|
|
73
|
+
argself.move(x, y)
|
|
74
|
+
return
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
29
78
|
if position == "fullscreen":
|
|
30
79
|
# full screen
|
|
31
80
|
w, h = sw, sh
|
|
@@ -483,7 +483,7 @@ class OWCreateInstance(OWWidget):
|
|
|
483
483
|
icon = "icons/CreateInstance.svg"
|
|
484
484
|
if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
|
|
485
485
|
icon = "icons_dev/CreateInstance.svg"
|
|
486
|
-
category = "
|
|
486
|
+
category = "AAIT - TOOLBOX"
|
|
487
487
|
keywords = "create instance, simulator"
|
|
488
488
|
priority = 2310
|
|
489
489
|
|
|
@@ -514,6 +514,9 @@ class OWCreateInstance(OWWidget):
|
|
|
514
514
|
append_to_data = Setting(True)
|
|
515
515
|
auto_commit = Setting(True)
|
|
516
516
|
|
|
517
|
+
# NOUVEAU (optionnel): applique automatiquement la référence à l'UI
|
|
518
|
+
auto_apply_reference = Setting(True)
|
|
519
|
+
|
|
517
520
|
def __init__(self):
|
|
518
521
|
super().__init__()
|
|
519
522
|
self.data: Optional[Table] = None
|
|
@@ -559,6 +562,13 @@ class OWCreateInstance(OWWidget):
|
|
|
559
562
|
gui.checkBox(self.buttonsArea, self, "append_to_data",
|
|
560
563
|
"Append this instance to input data",
|
|
561
564
|
callback=self.commit.deferred)
|
|
565
|
+
|
|
566
|
+
gui.checkBox(
|
|
567
|
+
self.buttonsArea, self, "auto_apply_reference",
|
|
568
|
+
self.tr("Auto-apply Reference to UI"),
|
|
569
|
+
callback=self._on_auto_apply_reference_changed
|
|
570
|
+
)
|
|
571
|
+
|
|
562
572
|
gui.rubber(self.buttonsArea)
|
|
563
573
|
gui.auto_apply(self.buttonsArea, self, "auto_commit")
|
|
564
574
|
|
|
@@ -566,8 +576,16 @@ class OWCreateInstance(OWWidget):
|
|
|
566
576
|
widget_positioning.show_and_adjust_at_opening(self,str(self.str_WidgetPositionning))
|
|
567
577
|
|
|
568
578
|
|
|
579
|
+
def _on_auto_apply_reference_changed(self):
|
|
580
|
+
# si on active, on applique tout de suite si possible
|
|
581
|
+
if self.auto_apply_reference:
|
|
582
|
+
self._apply_reference_to_ui()
|
|
583
|
+
|
|
569
584
|
def __filter_edit_changed(self):
|
|
570
585
|
self.proxy_model.setFilterFixedString(self.filter_edit.text().strip())
|
|
586
|
+
# si référence active + auto, réapplique sur les variables visibles
|
|
587
|
+
if self.auto_apply_reference and self.reference is not None:
|
|
588
|
+
self._apply_reference_to_ui()
|
|
571
589
|
|
|
572
590
|
def __table_data_changed(self):
|
|
573
591
|
self.commit.deferred()
|
|
@@ -591,6 +609,51 @@ class OWCreateInstance(OWWidget):
|
|
|
591
609
|
actions.append(action)
|
|
592
610
|
return actions
|
|
593
611
|
|
|
612
|
+
|
|
613
|
+
def _apply_reference_to_ui(self, indices: List[QModelIndex] = None):
|
|
614
|
+
if not self.data or self.reference is None:
|
|
615
|
+
return
|
|
616
|
+
if len(self.reference) < 1:
|
|
617
|
+
return
|
|
618
|
+
|
|
619
|
+
ref_table = self.reference # garde une Table, pas RowInstance
|
|
620
|
+
|
|
621
|
+
self.model.dataChanged.disconnect(self.__table_data_changed)
|
|
622
|
+
try:
|
|
623
|
+
if indices is not None:
|
|
624
|
+
source_indexes = indices # indices source (menu)
|
|
625
|
+
else:
|
|
626
|
+
source_indexes = []
|
|
627
|
+
for prow in range(self.proxy_model.rowCount()):
|
|
628
|
+
pindex = self.proxy_model.index(prow, self.Header.variable)
|
|
629
|
+
source_indexes.append(self.proxy_model.mapToSource(pindex))
|
|
630
|
+
|
|
631
|
+
for sindex in source_indexes:
|
|
632
|
+
var = self.model.data(sindex, VariableRole)
|
|
633
|
+
if var is None:
|
|
634
|
+
continue
|
|
635
|
+
|
|
636
|
+
if var.name not in ref_table.domain:
|
|
637
|
+
continue
|
|
638
|
+
|
|
639
|
+
ref_var = ref_table.domain[var.name]
|
|
640
|
+
|
|
641
|
+
# (optionnel) garde-fou type
|
|
642
|
+
if (var.is_discrete != ref_var.is_discrete) or \
|
|
643
|
+
(var.is_continuous != ref_var.is_continuous) or \
|
|
644
|
+
(var.is_string != ref_var.is_string) or \
|
|
645
|
+
(var.is_time != ref_var.is_time):
|
|
646
|
+
continue
|
|
647
|
+
|
|
648
|
+
col = ref_table.get_column(ref_var) # OK sur Table
|
|
649
|
+
value = col[0] if len(col) else np.nan
|
|
650
|
+
|
|
651
|
+
self.model.setData(sindex, value, ValueRole)
|
|
652
|
+
|
|
653
|
+
finally:
|
|
654
|
+
self.model.dataChanged.connect(self.__table_data_changed)
|
|
655
|
+
|
|
656
|
+
self.commit.deferred()
|
|
594
657
|
def _initialize_values(self, fun: str, indices: List[QModelIndex] = None):
|
|
595
658
|
cont_fun = {"median": np.nanmedian,
|
|
596
659
|
"mean": np.nanmean,
|
|
@@ -601,41 +664,64 @@ class OWCreateInstance(OWWidget):
|
|
|
601
664
|
"random": disc_random,
|
|
602
665
|
"input": majority}.get(fun, NotImplemented)
|
|
603
666
|
|
|
604
|
-
if not self.data or fun == "input" and not self.reference:
|
|
667
|
+
if not self.data or (fun == "input" and not self.reference):
|
|
605
668
|
return
|
|
606
669
|
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
670
|
+
# "input" devient: appliquer 1 ligne de référence directement aux valeurs UI
|
|
671
|
+
if fun == "input":
|
|
672
|
+
self._apply_reference_to_ui(indices)
|
|
673
|
+
return
|
|
674
|
+
|
|
675
|
+
|
|
613
676
|
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
value = disc_fun(values)
|
|
626
|
-
elif variable.is_string:
|
|
627
|
-
value = ""
|
|
677
|
+
self.model.dataChanged.disconnect(self.__table_data_changed)
|
|
678
|
+
try:
|
|
679
|
+
# correction: rows viennent du proxy -> il faut mapper vers source
|
|
680
|
+
if indices is None:
|
|
681
|
+
proxy_rows = range(self.proxy_model.rowCount())
|
|
682
|
+
source_indexes = [
|
|
683
|
+
self.proxy_model.mapToSource(
|
|
684
|
+
self.proxy_model.index(r, self.Header.variable)
|
|
685
|
+
)
|
|
686
|
+
for r in proxy_rows
|
|
687
|
+
]
|
|
628
688
|
else:
|
|
629
|
-
|
|
689
|
+
# indices venant du menu sont déjà SOURCE
|
|
690
|
+
source_indexes = indices
|
|
691
|
+
|
|
692
|
+
for sindex in source_indexes:
|
|
693
|
+
variable = self.model.data(sindex, VariableRole)
|
|
694
|
+
values = self.model.data(sindex, ValuesRole)
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
if variable.is_continuous:
|
|
703
|
+
value = cont_fun(values)
|
|
704
|
+
value = round(value, variable.number_of_decimals)
|
|
705
|
+
elif variable.is_discrete:
|
|
706
|
+
value = disc_fun(values)
|
|
707
|
+
elif variable.is_string:
|
|
708
|
+
value = ""
|
|
709
|
+
else:
|
|
710
|
+
raise NotImplementedError
|
|
711
|
+
|
|
712
|
+
self.model.setData(sindex, value, ValueRole)
|
|
713
|
+
finally:
|
|
714
|
+
self.model.dataChanged.connect(self.__table_data_changed)
|
|
630
715
|
|
|
631
|
-
self.model.setData(index, value, ValueRole)
|
|
632
|
-
self.model.dataChanged.connect(self.__table_data_changed)
|
|
633
716
|
self.commit.deferred()
|
|
634
717
|
|
|
635
718
|
@Inputs.data
|
|
636
719
|
def set_data(self, data: Table):
|
|
637
720
|
self.data = data
|
|
638
721
|
self._set_model_data()
|
|
722
|
+
# si reference déjà là + auto, appliquer sur UI après refresh du modèle
|
|
723
|
+
if self.auto_apply_reference and self.reference is not None:
|
|
724
|
+
self._apply_reference_to_ui()
|
|
639
725
|
self.commit.now()
|
|
640
726
|
|
|
641
727
|
def _set_model_data(self):
|
|
@@ -654,6 +740,12 @@ class OWCreateInstance(OWWidget):
|
|
|
654
740
|
@Inputs.reference
|
|
655
741
|
def set_reference(self, data: Table):
|
|
656
742
|
self.reference = data
|
|
743
|
+
# mise à jour immédiate de l'UI à l'arrivée de la référence (1 ligne)
|
|
744
|
+
if self.auto_apply_reference:
|
|
745
|
+
self._apply_reference_to_ui()
|
|
746
|
+
else:
|
|
747
|
+
# au moins, un commit pour que l’output reflète les valeurs si besoin
|
|
748
|
+
self.commit.deferred()
|
|
657
749
|
|
|
658
750
|
|
|
659
751
|
@Inputs.input_autoshow
|
|
@@ -18,7 +18,7 @@ class OWQuadrantclicker(widget.OWWidget):
|
|
|
18
18
|
if "site-packages/Orange/widgets" in os.path.dirname(os.path.abspath(__file__)).replace("\\", "/"):
|
|
19
19
|
icon = "icons_dev/quadrantclicker.svg"
|
|
20
20
|
gui = os.path.join(os.path.dirname(os.path.abspath(__file__)), "designer/owquadrant_clicker.ui")
|
|
21
|
-
want_control_area =
|
|
21
|
+
want_control_area = False
|
|
22
22
|
priority = 1089
|
|
23
23
|
|
|
24
24
|
str_checkbox_statut: str = Setting("False")
|
|
@@ -57,11 +57,30 @@ class OWQuadrantclicker(widget.OWWidget):
|
|
|
57
57
|
self.btn_fs.clicked.connect(lambda: self._p("fullscreen"))
|
|
58
58
|
self.btn_disabled.clicked.connect(lambda: self._p("none"))
|
|
59
59
|
|
|
60
|
+
self.pushButton_free.clicked.connect(self.send_free)
|
|
61
|
+
|
|
62
|
+
|
|
60
63
|
self.checkBox.toggled.connect(self.on_checkbox_toggled)
|
|
61
64
|
|
|
62
65
|
if self.str_checkbox_statut != "False":
|
|
63
66
|
QTimer.singleShot(50, self.minimize_all_qmainwindows)
|
|
64
67
|
|
|
68
|
+
def send_free(self):
|
|
69
|
+
delta_h=int(self.spinBox_dh.value())
|
|
70
|
+
if delta_h+int(self.spinBox_h.value())>100:
|
|
71
|
+
delta_h=100-int(self.spinBox_h.value())
|
|
72
|
+
|
|
73
|
+
delta_l=int(self.spinBox_dl.value())
|
|
74
|
+
if delta_l+int(self.spinBox_l.value())>100:
|
|
75
|
+
delta_l=100-int(self.spinBox_l.value())
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
str_value=f"v{str(self.spinBox_h.value())}_dv{str(delta_h)}_h{str(self.spinBox_l.value())}_dh{str(delta_l)}"
|
|
79
|
+
self.label.setText("Selected position : "+str(str_value))
|
|
80
|
+
self.Outputs.output_autoshow.send(str(str_value))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
65
84
|
def _p(self, s: str):
|
|
66
85
|
self.label.setText("Selected position : "+str(s))
|
|
67
86
|
self.Outputs.output_autoshow.send(str(s))
|
{aait-2.3.15.992 → aait-2.3.15.993}/orangecontrib/AAIT/widgets/designer/owquadrant_clicker.ui
RENAMED
|
@@ -32,7 +32,7 @@ QPushButton:pressed, QToolButton:pressed {
|
|
|
32
32
|
<property name="geometry">
|
|
33
33
|
<rect>
|
|
34
34
|
<x>10</x>
|
|
35
|
-
<y>
|
|
35
|
+
<y>470</y>
|
|
36
36
|
<width>631</width>
|
|
37
37
|
<height>16</height>
|
|
38
38
|
</rect>
|
|
@@ -247,8 +247,8 @@ T</string>
|
|
|
247
247
|
<widget class="QLabel" name="label">
|
|
248
248
|
<property name="geometry">
|
|
249
249
|
<rect>
|
|
250
|
-
<x>
|
|
251
|
-
<y>
|
|
250
|
+
<x>10</x>
|
|
251
|
+
<y>450</y>
|
|
252
252
|
<width>541</width>
|
|
253
253
|
<height>21</height>
|
|
254
254
|
</rect>
|
|
@@ -270,6 +270,162 @@ T</string>
|
|
|
270
270
|
<string>Click a quadrant to send the opening position to a compatible widget</string>
|
|
271
271
|
</property>
|
|
272
272
|
</widget>
|
|
273
|
+
<widget class="QGroupBox" name="groupBox">
|
|
274
|
+
<property name="geometry">
|
|
275
|
+
<rect>
|
|
276
|
+
<x>10</x>
|
|
277
|
+
<y>380</y>
|
|
278
|
+
<width>591</width>
|
|
279
|
+
<height>71</height>
|
|
280
|
+
</rect>
|
|
281
|
+
</property>
|
|
282
|
+
<property name="title">
|
|
283
|
+
<string>Free position (%) </string>
|
|
284
|
+
</property>
|
|
285
|
+
<widget class="QSpinBox" name="spinBox_h">
|
|
286
|
+
<property name="geometry">
|
|
287
|
+
<rect>
|
|
288
|
+
<x>90</x>
|
|
289
|
+
<y>10</y>
|
|
290
|
+
<width>42</width>
|
|
291
|
+
<height>22</height>
|
|
292
|
+
</rect>
|
|
293
|
+
</property>
|
|
294
|
+
<property name="maximum">
|
|
295
|
+
<number>100</number>
|
|
296
|
+
</property>
|
|
297
|
+
</widget>
|
|
298
|
+
<widget class="QSpinBox" name="spinBox_dh">
|
|
299
|
+
<property name="geometry">
|
|
300
|
+
<rect>
|
|
301
|
+
<x>260</x>
|
|
302
|
+
<y>10</y>
|
|
303
|
+
<width>42</width>
|
|
304
|
+
<height>22</height>
|
|
305
|
+
</rect>
|
|
306
|
+
</property>
|
|
307
|
+
<property name="minimum">
|
|
308
|
+
<number>10</number>
|
|
309
|
+
</property>
|
|
310
|
+
<property name="maximum">
|
|
311
|
+
<number>100</number>
|
|
312
|
+
</property>
|
|
313
|
+
</widget>
|
|
314
|
+
<widget class="QSpinBox" name="spinBox_l">
|
|
315
|
+
<property name="geometry">
|
|
316
|
+
<rect>
|
|
317
|
+
<x>90</x>
|
|
318
|
+
<y>40</y>
|
|
319
|
+
<width>42</width>
|
|
320
|
+
<height>22</height>
|
|
321
|
+
</rect>
|
|
322
|
+
</property>
|
|
323
|
+
<property name="maximum">
|
|
324
|
+
<number>100</number>
|
|
325
|
+
</property>
|
|
326
|
+
</widget>
|
|
327
|
+
<widget class="QSpinBox" name="spinBox_dl">
|
|
328
|
+
<property name="geometry">
|
|
329
|
+
<rect>
|
|
330
|
+
<x>260</x>
|
|
331
|
+
<y>40</y>
|
|
332
|
+
<width>42</width>
|
|
333
|
+
<height>22</height>
|
|
334
|
+
</rect>
|
|
335
|
+
</property>
|
|
336
|
+
<property name="minimum">
|
|
337
|
+
<number>10</number>
|
|
338
|
+
</property>
|
|
339
|
+
<property name="maximum">
|
|
340
|
+
<number>100</number>
|
|
341
|
+
</property>
|
|
342
|
+
</widget>
|
|
343
|
+
<widget class="QLabel" name="label_3">
|
|
344
|
+
<property name="geometry">
|
|
345
|
+
<rect>
|
|
346
|
+
<x>20</x>
|
|
347
|
+
<y>50</y>
|
|
348
|
+
<width>35</width>
|
|
349
|
+
<height>10</height>
|
|
350
|
+
</rect>
|
|
351
|
+
</property>
|
|
352
|
+
<property name="font">
|
|
353
|
+
<font>
|
|
354
|
+
<pointsize>12</pointsize>
|
|
355
|
+
</font>
|
|
356
|
+
</property>
|
|
357
|
+
<property name="text">
|
|
358
|
+
<string>→</string>
|
|
359
|
+
</property>
|
|
360
|
+
</widget>
|
|
361
|
+
<widget class="QLabel" name="label_4">
|
|
362
|
+
<property name="geometry">
|
|
363
|
+
<rect>
|
|
364
|
+
<x>20</x>
|
|
365
|
+
<y>20</y>
|
|
366
|
+
<width>35</width>
|
|
367
|
+
<height>16</height>
|
|
368
|
+
</rect>
|
|
369
|
+
</property>
|
|
370
|
+
<property name="font">
|
|
371
|
+
<font>
|
|
372
|
+
<pointsize>12</pointsize>
|
|
373
|
+
</font>
|
|
374
|
+
</property>
|
|
375
|
+
<property name="text">
|
|
376
|
+
<string>↓</string>
|
|
377
|
+
</property>
|
|
378
|
+
</widget>
|
|
379
|
+
<widget class="QLabel" name="label_5">
|
|
380
|
+
<property name="geometry">
|
|
381
|
+
<rect>
|
|
382
|
+
<x>190</x>
|
|
383
|
+
<y>20</y>
|
|
384
|
+
<width>35</width>
|
|
385
|
+
<height>16</height>
|
|
386
|
+
</rect>
|
|
387
|
+
</property>
|
|
388
|
+
<property name="font">
|
|
389
|
+
<font>
|
|
390
|
+
<pointsize>11</pointsize>
|
|
391
|
+
</font>
|
|
392
|
+
</property>
|
|
393
|
+
<property name="text">
|
|
394
|
+
<string>↨</string>
|
|
395
|
+
</property>
|
|
396
|
+
</widget>
|
|
397
|
+
<widget class="QLabel" name="label_6">
|
|
398
|
+
<property name="geometry">
|
|
399
|
+
<rect>
|
|
400
|
+
<x>190</x>
|
|
401
|
+
<y>50</y>
|
|
402
|
+
<width>35</width>
|
|
403
|
+
<height>10</height>
|
|
404
|
+
</rect>
|
|
405
|
+
</property>
|
|
406
|
+
<property name="font">
|
|
407
|
+
<font>
|
|
408
|
+
<pointsize>12</pointsize>
|
|
409
|
+
</font>
|
|
410
|
+
</property>
|
|
411
|
+
<property name="text">
|
|
412
|
+
<string>↔</string>
|
|
413
|
+
</property>
|
|
414
|
+
</widget>
|
|
415
|
+
<widget class="QPushButton" name="pushButton_free">
|
|
416
|
+
<property name="geometry">
|
|
417
|
+
<rect>
|
|
418
|
+
<x>380</x>
|
|
419
|
+
<y>30</y>
|
|
420
|
+
<width>56</width>
|
|
421
|
+
<height>17</height>
|
|
422
|
+
</rect>
|
|
423
|
+
</property>
|
|
424
|
+
<property name="text">
|
|
425
|
+
<string>OK</string>
|
|
426
|
+
</property>
|
|
427
|
+
</widget>
|
|
428
|
+
</widget>
|
|
273
429
|
</widget>
|
|
274
430
|
<resources/>
|
|
275
431
|
<connections/>
|
|
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
|
|
|
4
4
|
NAME = "aait"
|
|
5
5
|
|
|
6
6
|
# Version du package PyPI
|
|
7
|
-
VERSION = "2.3.15.
|
|
7
|
+
VERSION = "2.3.15.993" # la version doit être supérieure à la précédente sinon la publication sera refusée
|
|
8
8
|
|
|
9
9
|
# Facultatif / Adaptable à souhait
|
|
10
10
|
AUTHOR = "Orange community"
|
|
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
|