PaIRS-UniNa 0.2.7__cp312-cp312-macosx_11_0_universal2.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- PaIRS_UniNa/Calibration_Tab.py +331 -0
- PaIRS_UniNa/Changes.txt +135 -0
- PaIRS_UniNa/Custom_Top.py +303 -0
- PaIRS_UniNa/Explorer.py +3086 -0
- PaIRS_UniNa/FolderLoop.py +372 -0
- PaIRS_UniNa/Input_Tab.py +722 -0
- PaIRS_UniNa/Input_Tab_CalVi.py +788 -0
- PaIRS_UniNa/Input_Tab_tools.py +3024 -0
- PaIRS_UniNa/Log_Tab.py +110 -0
- PaIRS_UniNa/Output_Tab.py +924 -0
- PaIRS_UniNa/PaIRS.py +18 -0
- PaIRS_UniNa/PaIRS_PIV.py +873 -0
- PaIRS_UniNa/PaIRS_pypacks.py +1376 -0
- PaIRS_UniNa/Process_Tab.py +1757 -0
- PaIRS_UniNa/Process_Tab_CalVi.py +313 -0
- PaIRS_UniNa/Process_Tab_Disp.py +163 -0
- PaIRS_UniNa/Process_Tab_Min.py +120 -0
- PaIRS_UniNa/ResizePopup.py +55 -0
- PaIRS_UniNa/Saving_tools.py +296 -0
- PaIRS_UniNa/TabTools.py +1254 -0
- PaIRS_UniNa/Vis_Tab.py +2148 -0
- PaIRS_UniNa/Vis_Tab_CalVi.py +983 -0
- PaIRS_UniNa/Whatsnew.py +129 -0
- PaIRS_UniNa/_PaIRS_PIV.so +0 -0
- PaIRS_UniNa/__init__.py +6 -0
- PaIRS_UniNa/__main__.py +45 -0
- PaIRS_UniNa/addwidgets_ps.py +1133 -0
- PaIRS_UniNa/calib.py +1488 -0
- PaIRS_UniNa/calibView.py +833 -0
- PaIRS_UniNa/gPaIRS.py +3856 -0
- PaIRS_UniNa/gPalette.py +189 -0
- PaIRS_UniNa/icons/abort.png +0 -0
- PaIRS_UniNa/icons/about.png +0 -0
- PaIRS_UniNa/icons/align_all.png +0 -0
- PaIRS_UniNa/icons/announcement.png +0 -0
- PaIRS_UniNa/icons/automatic_levels_off.png +0 -0
- PaIRS_UniNa/icons/automatic_levels_on.png +0 -0
- PaIRS_UniNa/icons/automatic_off.png +0 -0
- PaIRS_UniNa/icons/automatic_on.png +0 -0
- PaIRS_UniNa/icons/automatic_size_off.png +0 -0
- PaIRS_UniNa/icons/automatic_size_on.png +0 -0
- PaIRS_UniNa/icons/axes.png +0 -0
- PaIRS_UniNa/icons/background.png +0 -0
- PaIRS_UniNa/icons/background_vectors.png +0 -0
- PaIRS_UniNa/icons/bin_off.png +0 -0
- PaIRS_UniNa/icons/bin_on.png +0 -0
- PaIRS_UniNa/icons/browse_file_c.png +0 -0
- PaIRS_UniNa/icons/browse_folder_c.png +0 -0
- PaIRS_UniNa/icons/brush_cursor.png +0 -0
- PaIRS_UniNa/icons/bugfix.png +0 -0
- PaIRS_UniNa/icons/cal_proc.png +0 -0
- PaIRS_UniNa/icons/cal_proc_off.png +0 -0
- PaIRS_UniNa/icons/cal_step.png +0 -0
- PaIRS_UniNa/icons/cal_step_off.png +0 -0
- PaIRS_UniNa/icons/calibrate.png +0 -0
- PaIRS_UniNa/icons/calibration_logo.png +0 -0
- PaIRS_UniNa/icons/change_folder.png +0 -0
- PaIRS_UniNa/icons/change_folder_off.png +0 -0
- PaIRS_UniNa/icons/checklist.png +0 -0
- PaIRS_UniNa/icons/clean.png +0 -0
- PaIRS_UniNa/icons/clean_run.png +0 -0
- PaIRS_UniNa/icons/close.png +0 -0
- PaIRS_UniNa/icons/close_all.png +0 -0
- PaIRS_UniNa/icons/close_project.png +0 -0
- PaIRS_UniNa/icons/close_workspace.png +0 -0
- PaIRS_UniNa/icons/colormap.png +0 -0
- PaIRS_UniNa/icons/colormaps/Accent.png +0 -0
- PaIRS_UniNa/icons/colormaps/BrBG.png +0 -0
- PaIRS_UniNa/icons/colormaps/Dark2.png +0 -0
- PaIRS_UniNa/icons/colormaps/PRGn.png +0 -0
- PaIRS_UniNa/icons/colormaps/Paired.png +0 -0
- PaIRS_UniNa/icons/colormaps/Pastel1.png +0 -0
- PaIRS_UniNa/icons/colormaps/Pastel2.png +0 -0
- PaIRS_UniNa/icons/colormaps/PiYG.png +0 -0
- PaIRS_UniNa/icons/colormaps/PuOr.png +0 -0
- PaIRS_UniNa/icons/colormaps/RdBu.png +0 -0
- PaIRS_UniNa/icons/colormaps/RdGy.png +0 -0
- PaIRS_UniNa/icons/colormaps/RdYlBu.png +0 -0
- PaIRS_UniNa/icons/colormaps/RdYlGn.png +0 -0
- PaIRS_UniNa/icons/colormaps/Set1.png +0 -0
- PaIRS_UniNa/icons/colormaps/Set2.png +0 -0
- PaIRS_UniNa/icons/colormaps/Set3.png +0 -0
- PaIRS_UniNa/icons/colormaps/Spectral.png +0 -0
- PaIRS_UniNa/icons/colormaps/Wistia.png +0 -0
- PaIRS_UniNa/icons/colormaps/afmhot.png +0 -0
- PaIRS_UniNa/icons/colormaps/autumn.png +0 -0
- PaIRS_UniNa/icons/colormaps/binary.png +0 -0
- PaIRS_UniNa/icons/colormaps/blackVector.png +0 -0
- PaIRS_UniNa/icons/colormaps/blueVector.png +0 -0
- PaIRS_UniNa/icons/colormaps/bone.png +0 -0
- PaIRS_UniNa/icons/colormaps/brg.png +0 -0
- PaIRS_UniNa/icons/colormaps/bwr.png +0 -0
- PaIRS_UniNa/icons/colormaps/cividis.png +0 -0
- PaIRS_UniNa/icons/colormaps/cool.png +0 -0
- PaIRS_UniNa/icons/colormaps/coolwarm.png +0 -0
- PaIRS_UniNa/icons/colormaps/copper.png +0 -0
- PaIRS_UniNa/icons/colormaps/cubehelix.png +0 -0
- PaIRS_UniNa/icons/colormaps/cyanVector.png +0 -0
- PaIRS_UniNa/icons/colormaps/flag.png +0 -0
- PaIRS_UniNa/icons/colormaps/gist_heat.png +0 -0
- PaIRS_UniNa/icons/colormaps/gray.png +0 -0
- PaIRS_UniNa/icons/colormaps/greenVector.png +0 -0
- PaIRS_UniNa/icons/colormaps/hot.png +0 -0
- PaIRS_UniNa/icons/colormaps/hsv.png +0 -0
- PaIRS_UniNa/icons/colormaps/inferno.png +0 -0
- PaIRS_UniNa/icons/colormaps/jet.png +0 -0
- PaIRS_UniNa/icons/colormaps/magentaVector.png +0 -0
- PaIRS_UniNa/icons/colormaps/magma.png +0 -0
- PaIRS_UniNa/icons/colormaps/ocean.png +0 -0
- PaIRS_UniNa/icons/colormaps/pink.png +0 -0
- PaIRS_UniNa/icons/colormaps/plasma.png +0 -0
- PaIRS_UniNa/icons/colormaps/prism.png +0 -0
- PaIRS_UniNa/icons/colormaps/rainbow.png +0 -0
- PaIRS_UniNa/icons/colormaps/redVector.png +0 -0
- PaIRS_UniNa/icons/colormaps/seismic.png +0 -0
- PaIRS_UniNa/icons/colormaps/spring.png +0 -0
- PaIRS_UniNa/icons/colormaps/summer.png +0 -0
- PaIRS_UniNa/icons/colormaps/tab10.png +0 -0
- PaIRS_UniNa/icons/colormaps/tab20.png +0 -0
- PaIRS_UniNa/icons/colormaps/tab20b.png +0 -0
- PaIRS_UniNa/icons/colormaps/tab20c.png +0 -0
- PaIRS_UniNa/icons/colormaps/terrain.png +0 -0
- PaIRS_UniNa/icons/colormaps/twilight.png +0 -0
- PaIRS_UniNa/icons/colormaps/viridis.png +0 -0
- PaIRS_UniNa/icons/colormaps/whiteVector.png +0 -0
- PaIRS_UniNa/icons/colormaps/winter.png +0 -0
- PaIRS_UniNa/icons/colormaps/yellowVector.png +0 -0
- PaIRS_UniNa/icons/common_region.png +0 -0
- PaIRS_UniNa/icons/common_region_off.png +0 -0
- PaIRS_UniNa/icons/completed.png +0 -0
- PaIRS_UniNa/icons/contourf_off.png +0 -0
- PaIRS_UniNa/icons/contourf_on.png +0 -0
- PaIRS_UniNa/icons/copy.png +0 -0
- PaIRS_UniNa/icons/copy_process.png +0 -0
- PaIRS_UniNa/icons/copy_process_off.png +0 -0
- PaIRS_UniNa/icons/copygrid.png +0 -0
- PaIRS_UniNa/icons/cursor_lamp.png +0 -0
- PaIRS_UniNa/icons/cut.png +0 -0
- PaIRS_UniNa/icons/cut_warnings.png +0 -0
- PaIRS_UniNa/icons/darkmode.png +0 -0
- PaIRS_UniNa/icons/debug_run.png +0 -0
- PaIRS_UniNa/icons/delete.png +0 -0
- PaIRS_UniNa/icons/deleteErr.png +0 -0
- PaIRS_UniNa/icons/disp_step.png +0 -0
- PaIRS_UniNa/icons/disp_step_off.png +0 -0
- PaIRS_UniNa/icons/down.png +0 -0
- PaIRS_UniNa/icons/edit_list.png +0 -0
- PaIRS_UniNa/icons/editing.png +0 -0
- PaIRS_UniNa/icons/example_list.png +0 -0
- PaIRS_UniNa/icons/find_all_planes.png +0 -0
- PaIRS_UniNa/icons/find_plane.png +0 -0
- PaIRS_UniNa/icons/flaticon_PaIRS.png +0 -0
- PaIRS_UniNa/icons/flaticon_PaIRS_beta.png +0 -0
- PaIRS_UniNa/icons/flaticon_PaIRS_download.png +0 -0
- PaIRS_UniNa/icons/flaticon_PaIRS_download_warning.png +0 -0
- PaIRS_UniNa/icons/flip_y_off.png +0 -0
- PaIRS_UniNa/icons/flip_y_on.png +0 -0
- PaIRS_UniNa/icons/focusErrr.png +0 -0
- PaIRS_UniNa/icons/gear.gif +0 -0
- PaIRS_UniNa/icons/gear.png +0 -0
- PaIRS_UniNa/icons/ger.png +0 -0
- PaIRS_UniNa/icons/greenv.png +0 -0
- PaIRS_UniNa/icons/guide.png +0 -0
- PaIRS_UniNa/icons/icon_CalVi.png +0 -0
- PaIRS_UniNa/icons/icon_PaIRS.png +0 -0
- PaIRS_UniNa/icons/import.png +0 -0
- PaIRS_UniNa/icons/import_set.png +0 -0
- PaIRS_UniNa/icons/information.png +0 -0
- PaIRS_UniNa/icons/input_logo.png +0 -0
- PaIRS_UniNa/icons/issue.png +0 -0
- PaIRS_UniNa/icons/laser_NTR.png +0 -0
- PaIRS_UniNa/icons/laser_TR_double.png +0 -0
- PaIRS_UniNa/icons/laser_TR_single.png +0 -0
- PaIRS_UniNa/icons/link.png +0 -0
- PaIRS_UniNa/icons/linked.png +0 -0
- PaIRS_UniNa/icons/loaded.png +0 -0
- PaIRS_UniNa/icons/loading_2.gif +0 -0
- PaIRS_UniNa/icons/log_logo.png +0 -0
- PaIRS_UniNa/icons/logo_CalVi.png +0 -0
- PaIRS_UniNa/icons/logo_CalVi_completo.png +0 -0
- PaIRS_UniNa/icons/logo_CalVi_party.png +0 -0
- PaIRS_UniNa/icons/logo_PaIRS.png +0 -0
- PaIRS_UniNa/icons/logo_PaIRS_completo.png +0 -0
- PaIRS_UniNa/icons/logo_PaIRS_download.png +0 -0
- PaIRS_UniNa/icons/logo_PaIRS_party_rect.png +0 -0
- PaIRS_UniNa/icons/logo_PaIRS_rect.png +0 -0
- PaIRS_UniNa/icons/logo_opaco.png +0 -0
- PaIRS_UniNa/icons/mask.png +0 -0
- PaIRS_UniNa/icons/measure.png +0 -0
- PaIRS_UniNa/icons/measure_off.png +0 -0
- PaIRS_UniNa/icons/min_proc.png +0 -0
- PaIRS_UniNa/icons/min_proc_off.png +0 -0
- PaIRS_UniNa/icons/min_step.png +0 -0
- PaIRS_UniNa/icons/min_step_off.png +0 -0
- PaIRS_UniNa/icons/minus.png +0 -0
- PaIRS_UniNa/icons/mirror_u.png +0 -0
- PaIRS_UniNa/icons/mirror_v.png +0 -0
- PaIRS_UniNa/icons/mirror_x.png +0 -0
- PaIRS_UniNa/icons/mirror_y.png +0 -0
- PaIRS_UniNa/icons/mtplt.png +0 -0
- PaIRS_UniNa/icons/new.png +0 -0
- PaIRS_UniNa/icons/new_workspace.png +0 -0
- PaIRS_UniNa/icons/news.png +0 -0
- PaIRS_UniNa/icons/normal_run.png +0 -0
- PaIRS_UniNa/icons/open.png +0 -0
- PaIRS_UniNa/icons/open_image.png +0 -0
- PaIRS_UniNa/icons/open_new_window.png +0 -0
- PaIRS_UniNa/icons/open_result.png +0 -0
- PaIRS_UniNa/icons/open_workspace.png +0 -0
- PaIRS_UniNa/icons/output_logo.png +0 -0
- PaIRS_UniNa/icons/paste_above.png +0 -0
- PaIRS_UniNa/icons/paste_below.png +0 -0
- PaIRS_UniNa/icons/pause.png +0 -0
- PaIRS_UniNa/icons/paused.png +0 -0
- PaIRS_UniNa/icons/pencil_bw.png +0 -0
- PaIRS_UniNa/icons/piv_proc.png +0 -0
- PaIRS_UniNa/icons/piv_proc_off.png +0 -0
- PaIRS_UniNa/icons/piv_step.png +0 -0
- PaIRS_UniNa/icons/piv_step_off.png +0 -0
- PaIRS_UniNa/icons/plane.png +0 -0
- PaIRS_UniNa/icons/play.png +0 -0
- PaIRS_UniNa/icons/plus.png +0 -0
- PaIRS_UniNa/icons/process_logo.png +0 -0
- PaIRS_UniNa/icons/process_loop.png +0 -0
- PaIRS_UniNa/icons/project.png +0 -0
- PaIRS_UniNa/icons/pylog.png +0 -0
- PaIRS_UniNa/icons/python_warning.png +0 -0
- PaIRS_UniNa/icons/queue.png +0 -0
- PaIRS_UniNa/icons/quit.png +0 -0
- PaIRS_UniNa/icons/read.png +0 -0
- PaIRS_UniNa/icons/read_list.png +0 -0
- PaIRS_UniNa/icons/redo.png +0 -0
- PaIRS_UniNa/icons/redx.png +0 -0
- PaIRS_UniNa/icons/reset.png +0 -0
- PaIRS_UniNa/icons/reset_levels.png +0 -0
- PaIRS_UniNa/icons/resize_icon.png +0 -0
- PaIRS_UniNa/icons/restore.png +0 -0
- PaIRS_UniNa/icons/restore_undo.png +0 -0
- PaIRS_UniNa/icons/rotate_clock.png +0 -0
- PaIRS_UniNa/icons/rotate_counter.png +0 -0
- PaIRS_UniNa/icons/rotate_v_clock.png +0 -0
- PaIRS_UniNa/icons/rotate_v_counter.png +0 -0
- PaIRS_UniNa/icons/running.gif +0 -0
- PaIRS_UniNa/icons/running.png +0 -0
- PaIRS_UniNa/icons/running_warn.png +0 -0
- PaIRS_UniNa/icons/sandglass.png +0 -0
- PaIRS_UniNa/icons/save.png +0 -0
- PaIRS_UniNa/icons/save_and_stop.png +0 -0
- PaIRS_UniNa/icons/save_cfg.png +0 -0
- PaIRS_UniNa/icons/saveas.png +0 -0
- PaIRS_UniNa/icons/saveas_workspace.png +0 -0
- PaIRS_UniNa/icons/scale_all.png +0 -0
- PaIRS_UniNa/icons/scale_down.png +0 -0
- PaIRS_UniNa/icons/scale_up.png +0 -0
- PaIRS_UniNa/icons/scan_list.png +0 -0
- PaIRS_UniNa/icons/scan_path.png +0 -0
- PaIRS_UniNa/icons/search.png +0 -0
- PaIRS_UniNa/icons/showIW_off.png +0 -0
- PaIRS_UniNa/icons/showIW_on.png +0 -0
- PaIRS_UniNa/icons/show_all.png +0 -0
- PaIRS_UniNa/icons/sort.png +0 -0
- PaIRS_UniNa/icons/sort_reversed.png +0 -0
- PaIRS_UniNa/icons/spiv_proc.png +0 -0
- PaIRS_UniNa/icons/spiv_proc_off.png +0 -0
- PaIRS_UniNa/icons/star.png +0 -0
- PaIRS_UniNa/icons/step_inheritance.png +0 -0
- PaIRS_UniNa/icons/subMIN_off.png +0 -0
- PaIRS_UniNa/icons/subMIN_on.png +0 -0
- PaIRS_UniNa/icons/tom.png +0 -0
- PaIRS_UniNa/icons/trash.png +0 -0
- PaIRS_UniNa/icons/undo.png +0 -0
- PaIRS_UniNa/icons/unedited.png +0 -0
- PaIRS_UniNa/icons/unina_dii.png +0 -0
- PaIRS_UniNa/icons/uninitialized.png +0 -0
- PaIRS_UniNa/icons/unlink.png +0 -0
- PaIRS_UniNa/icons/unwrap_items.png +0 -0
- PaIRS_UniNa/icons/up.png +0 -0
- PaIRS_UniNa/icons/updating_import.gif +0 -0
- PaIRS_UniNa/icons/updating_pairs.gif +0 -0
- PaIRS_UniNa/icons/vectorColor.png +0 -0
- PaIRS_UniNa/icons/vettore.png +0 -0
- PaIRS_UniNa/icons/view.png +0 -0
- PaIRS_UniNa/icons/view_off.png +0 -0
- PaIRS_UniNa/icons/vis_logo.png +0 -0
- PaIRS_UniNa/icons/waiting_circle.png +0 -0
- PaIRS_UniNa/icons/warning.png +0 -0
- PaIRS_UniNa/icons/warning_circle.png +0 -0
- PaIRS_UniNa/icons/window.png +0 -0
- PaIRS_UniNa/icons/workspace.png +0 -0
- PaIRS_UniNa/icons/wrap_items.png +0 -0
- PaIRS_UniNa/icons/write_list.png +0 -0
- PaIRS_UniNa/listLib.py +303 -0
- PaIRS_UniNa/mtfPIV.py +256 -0
- PaIRS_UniNa/parForMulti.py +435 -0
- PaIRS_UniNa/parForWorkers.py +593 -0
- PaIRS_UniNa/pivParFor.py +235 -0
- PaIRS_UniNa/plt_util.py +141 -0
- PaIRS_UniNa/preProcParFor.py +155 -0
- PaIRS_UniNa/procTools.py +1394 -0
- PaIRS_UniNa/readcfg.py +52 -0
- PaIRS_UniNa/rqrdpckgs.txt +9 -0
- PaIRS_UniNa/stereoPivParFor.py +227 -0
- PaIRS_UniNa/tAVarie.py +215 -0
- PaIRS_UniNa/tabSplitter.py +612 -0
- PaIRS_UniNa/ui_Calibration_Tab.py +545 -0
- PaIRS_UniNa/ui_Custom_Top.py +296 -0
- PaIRS_UniNa/ui_Input_Tab.py +1101 -0
- PaIRS_UniNa/ui_Input_Tab_CalVi.py +1283 -0
- PaIRS_UniNa/ui_Log_Tab.py +263 -0
- PaIRS_UniNa/ui_Output_Tab.py +2362 -0
- PaIRS_UniNa/ui_Process_Tab.py +3810 -0
- PaIRS_UniNa/ui_Process_Tab_CalVi.py +1549 -0
- PaIRS_UniNa/ui_Process_Tab_Disp.py +1141 -0
- PaIRS_UniNa/ui_Process_Tab_Min.py +437 -0
- PaIRS_UniNa/ui_ResizePopup.py +204 -0
- PaIRS_UniNa/ui_Vis_Tab.py +1628 -0
- PaIRS_UniNa/ui_Vis_Tab_CalVi.py +1251 -0
- PaIRS_UniNa/ui_Whatsnew.py +132 -0
- PaIRS_UniNa/ui_gPairs.py +877 -0
- PaIRS_UniNa/ui_infoPaIRS.py +551 -0
- PaIRS_UniNa/whatsnew.txt +5 -0
- pairs_unina-0.2.7.dist-info/METADATA +160 -0
- pairs_unina-0.2.7.dist-info/RECORD +325 -0
- pairs_unina-0.2.7.dist-info/WHEEL +5 -0
- pairs_unina-0.2.7.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1,296 @@
|
|
|
1
|
+
from .addwidgets_ps import icons_path
|
|
2
|
+
# -*- coding: utf-8 -*-
|
|
3
|
+
|
|
4
|
+
################################################################################
|
|
5
|
+
## Form generated from reading UI file 'Custom_Top.ui'
|
|
6
|
+
##
|
|
7
|
+
## Created by: Qt User Interface Compiler version 6.7.0
|
|
8
|
+
##
|
|
9
|
+
## WARNING! All changes made in this file will be lost when recompiling UI file!
|
|
10
|
+
################################################################################
|
|
11
|
+
|
|
12
|
+
from PySide6.QtCore import (QCoreApplication, QDate, QDateTime, QLocale,
|
|
13
|
+
QMetaObject, QObject, QPoint, QRect,
|
|
14
|
+
QSize, QTime, QUrl, Qt)
|
|
15
|
+
from PySide6.QtGui import (QBrush, QColor, QConicalGradient, QCursor,
|
|
16
|
+
QFont, QFontDatabase, QGradient, QIcon,
|
|
17
|
+
QImage, QKeySequence, QLinearGradient, QPainter,
|
|
18
|
+
QPalette, QPixmap, QRadialGradient, QTransform)
|
|
19
|
+
from PySide6.QtWidgets import (QAbstractItemView, QApplication, QHBoxLayout, QHeaderView,
|
|
20
|
+
QLabel, QPushButton, QSizePolicy, QSpacerItem,
|
|
21
|
+
QToolButton, QTreeWidgetItem, QVBoxLayout, QWidget)
|
|
22
|
+
|
|
23
|
+
from .addwidgets_ps import myQTreeWidget
|
|
24
|
+
|
|
25
|
+
class Ui_Custom_Top(object):
|
|
26
|
+
def setupUi(self, Custom_Top):
|
|
27
|
+
if not Custom_Top.objectName():
|
|
28
|
+
Custom_Top.setObjectName(u"Custom_Top")
|
|
29
|
+
Custom_Top.resize(480, 480)
|
|
30
|
+
Custom_Top.setMinimumSize(QSize(25, 25))
|
|
31
|
+
icon = QIcon()
|
|
32
|
+
icon.addFile(u""+ icons_path +"process_logo.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
33
|
+
Custom_Top.setWindowIcon(icon)
|
|
34
|
+
self.verticalLayout = QVBoxLayout(Custom_Top)
|
|
35
|
+
self.verticalLayout.setSpacing(3)
|
|
36
|
+
self.verticalLayout.setObjectName(u"verticalLayout")
|
|
37
|
+
self.verticalLayout.setContentsMargins(10, 10, 10, 10)
|
|
38
|
+
self.w_controls = QWidget(Custom_Top)
|
|
39
|
+
self.w_controls.setObjectName(u"w_controls")
|
|
40
|
+
self.w_controls.setMinimumSize(QSize(0, 25))
|
|
41
|
+
self.w_controls.setMaximumSize(QSize(16777215, 25))
|
|
42
|
+
self.horizontalLayout = QHBoxLayout(self.w_controls)
|
|
43
|
+
self.horizontalLayout.setSpacing(5)
|
|
44
|
+
self.horizontalLayout.setObjectName(u"horizontalLayout")
|
|
45
|
+
self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
|
|
46
|
+
self.label_tree = QLabel(self.w_controls)
|
|
47
|
+
self.label_tree.setObjectName(u"label_tree")
|
|
48
|
+
sizePolicy = QSizePolicy(QSizePolicy.Policy.Preferred, QSizePolicy.Policy.Fixed)
|
|
49
|
+
sizePolicy.setHorizontalStretch(0)
|
|
50
|
+
sizePolicy.setVerticalStretch(0)
|
|
51
|
+
sizePolicy.setHeightForWidth(self.label_tree.sizePolicy().hasHeightForWidth())
|
|
52
|
+
self.label_tree.setSizePolicy(sizePolicy)
|
|
53
|
+
self.label_tree.setMinimumSize(QSize(0, 20))
|
|
54
|
+
self.label_tree.setMaximumSize(QSize(150, 20))
|
|
55
|
+
font = QFont()
|
|
56
|
+
font.setPointSize(10)
|
|
57
|
+
font.setBold(False)
|
|
58
|
+
font.setItalic(True)
|
|
59
|
+
self.label_tree.setFont(font)
|
|
60
|
+
self.label_tree.setAlignment(Qt.AlignLeading|Qt.AlignLeft|Qt.AlignVCenter)
|
|
61
|
+
|
|
62
|
+
self.horizontalLayout.addWidget(self.label_tree)
|
|
63
|
+
|
|
64
|
+
self.hs = QSpacerItem(40, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
65
|
+
|
|
66
|
+
self.horizontalLayout.addItem(self.hs)
|
|
67
|
+
|
|
68
|
+
self.button_down = QToolButton(self.w_controls)
|
|
69
|
+
self.button_down.setObjectName(u"button_down")
|
|
70
|
+
self.button_down.setMinimumSize(QSize(25, 25))
|
|
71
|
+
self.button_down.setMaximumSize(QSize(25, 25))
|
|
72
|
+
icon1 = QIcon()
|
|
73
|
+
icon1.addFile(u""+ icons_path +"down.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
74
|
+
self.button_down.setIcon(icon1)
|
|
75
|
+
self.button_down.setIconSize(QSize(18, 18))
|
|
76
|
+
self.button_down.setArrowType(Qt.NoArrow)
|
|
77
|
+
|
|
78
|
+
self.horizontalLayout.addWidget(self.button_down)
|
|
79
|
+
|
|
80
|
+
self.button_up = QToolButton(self.w_controls)
|
|
81
|
+
self.button_up.setObjectName(u"button_up")
|
|
82
|
+
self.button_up.setMinimumSize(QSize(25, 25))
|
|
83
|
+
self.button_up.setMaximumSize(QSize(25, 25))
|
|
84
|
+
icon2 = QIcon()
|
|
85
|
+
icon2.addFile(u""+ icons_path +"up.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
86
|
+
self.button_up.setIcon(icon2)
|
|
87
|
+
self.button_up.setIconSize(QSize(18, 18))
|
|
88
|
+
self.button_up.setArrowType(Qt.NoArrow)
|
|
89
|
+
|
|
90
|
+
self.horizontalLayout.addWidget(self.button_up)
|
|
91
|
+
|
|
92
|
+
self.button_import = QToolButton(self.w_controls)
|
|
93
|
+
self.button_import.setObjectName(u"button_import")
|
|
94
|
+
self.button_import.setMinimumSize(QSize(25, 25))
|
|
95
|
+
self.button_import.setMaximumSize(QSize(25, 25))
|
|
96
|
+
icon3 = QIcon()
|
|
97
|
+
icon3.addFile(u""+ icons_path +"import.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
98
|
+
self.button_import.setIcon(icon3)
|
|
99
|
+
self.button_import.setIconSize(QSize(18, 18))
|
|
100
|
+
|
|
101
|
+
self.horizontalLayout.addWidget(self.button_import)
|
|
102
|
+
|
|
103
|
+
self.button_edit = QToolButton(self.w_controls)
|
|
104
|
+
self.button_edit.setObjectName(u"button_edit")
|
|
105
|
+
self.button_edit.setMinimumSize(QSize(25, 25))
|
|
106
|
+
self.button_edit.setMaximumSize(QSize(25, 25))
|
|
107
|
+
icon4 = QIcon()
|
|
108
|
+
icon4.addFile(u""+ icons_path +"pencil_bw.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
109
|
+
self.button_edit.setIcon(icon4)
|
|
110
|
+
self.button_edit.setIconSize(QSize(18, 18))
|
|
111
|
+
|
|
112
|
+
self.horizontalLayout.addWidget(self.button_edit)
|
|
113
|
+
|
|
114
|
+
self.button_undo = QToolButton(self.w_controls)
|
|
115
|
+
self.button_undo.setObjectName(u"button_undo")
|
|
116
|
+
self.button_undo.setMinimumSize(QSize(25, 25))
|
|
117
|
+
self.button_undo.setMaximumSize(QSize(25, 25))
|
|
118
|
+
icon5 = QIcon()
|
|
119
|
+
icon5.addFile(u""+ icons_path +"undo.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
120
|
+
self.button_undo.setIcon(icon5)
|
|
121
|
+
self.button_undo.setIconSize(QSize(20, 20))
|
|
122
|
+
self.button_undo.setArrowType(Qt.NoArrow)
|
|
123
|
+
|
|
124
|
+
self.horizontalLayout.addWidget(self.button_undo)
|
|
125
|
+
|
|
126
|
+
self.button_restore = QToolButton(self.w_controls)
|
|
127
|
+
self.button_restore.setObjectName(u"button_restore")
|
|
128
|
+
self.button_restore.setMinimumSize(QSize(25, 25))
|
|
129
|
+
self.button_restore.setMaximumSize(QSize(25, 25))
|
|
130
|
+
icon6 = QIcon()
|
|
131
|
+
icon6.addFile(u""+ icons_path +"restore.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
132
|
+
self.button_restore.setIcon(icon6)
|
|
133
|
+
self.button_restore.setIconSize(QSize(20, 20))
|
|
134
|
+
|
|
135
|
+
self.horizontalLayout.addWidget(self.button_restore)
|
|
136
|
+
|
|
137
|
+
self.button_delete = QToolButton(self.w_controls)
|
|
138
|
+
self.button_delete.setObjectName(u"button_delete")
|
|
139
|
+
self.button_delete.setMinimumSize(QSize(25, 25))
|
|
140
|
+
self.button_delete.setMaximumSize(QSize(25, 25))
|
|
141
|
+
icon7 = QIcon()
|
|
142
|
+
icon7.addFile(u""+ icons_path +"delete.png", QSize(), QIcon.Normal, QIcon.Off)
|
|
143
|
+
self.button_delete.setIcon(icon7)
|
|
144
|
+
self.button_delete.setIconSize(QSize(20, 20))
|
|
145
|
+
|
|
146
|
+
self.horizontalLayout.addWidget(self.button_delete)
|
|
147
|
+
|
|
148
|
+
|
|
149
|
+
self.verticalLayout.addWidget(self.w_controls)
|
|
150
|
+
|
|
151
|
+
self.tree = myQTreeWidget(Custom_Top)
|
|
152
|
+
__qtreewidgetitem = QTreeWidgetItem(self.tree)
|
|
153
|
+
__qtreewidgetitem.setFlags(Qt.ItemIsSelectable|Qt.ItemIsEditable|Qt.ItemIsDragEnabled|Qt.ItemIsDropEnabled|Qt.ItemIsUserCheckable|Qt.ItemIsEnabled);
|
|
154
|
+
__qtreewidgetitem1 = QTreeWidgetItem(self.tree)
|
|
155
|
+
__qtreewidgetitem1.setFlags(Qt.ItemIsSelectable|Qt.ItemIsEditable|Qt.ItemIsDragEnabled|Qt.ItemIsDropEnabled|Qt.ItemIsUserCheckable|Qt.ItemIsEnabled);
|
|
156
|
+
self.tree.setObjectName(u"tree")
|
|
157
|
+
self.tree.setStyleSheet(u"QTreeView::item:selected {\n"
|
|
158
|
+
" border: 1px solid blue;\n"
|
|
159
|
+
" background-color: rgb(214, 226, 255);\n"
|
|
160
|
+
" color: black\n"
|
|
161
|
+
"}\n"
|
|
162
|
+
"QTreeView::item:!selected:focus{\n"
|
|
163
|
+
" border: none;\n"
|
|
164
|
+
" background-color: rgba(214, 226, 255, 33);\n"
|
|
165
|
+
" color: black\n"
|
|
166
|
+
"}\n"
|
|
167
|
+
"")
|
|
168
|
+
self.tree.setEditTriggers(QAbstractItemView.DoubleClicked|QAbstractItemView.EditKeyPressed)
|
|
169
|
+
self.tree.setDragEnabled(True)
|
|
170
|
+
self.tree.setDragDropMode(QAbstractItemView.InternalMove)
|
|
171
|
+
self.tree.setDefaultDropAction(Qt.MoveAction)
|
|
172
|
+
self.tree.setAlternatingRowColors(True)
|
|
173
|
+
self.tree.setIndentation(10)
|
|
174
|
+
self.tree.setUniformRowHeights(True)
|
|
175
|
+
self.tree.setItemsExpandable(False)
|
|
176
|
+
self.tree.setSortingEnabled(False)
|
|
177
|
+
self.tree.setHeaderHidden(True)
|
|
178
|
+
self.tree.setColumnCount(1)
|
|
179
|
+
|
|
180
|
+
self.verticalLayout.addWidget(self.tree)
|
|
181
|
+
|
|
182
|
+
self.w_buttons = QWidget(Custom_Top)
|
|
183
|
+
self.w_buttons.setObjectName(u"w_buttons")
|
|
184
|
+
self.horizontalLayout_2 = QHBoxLayout(self.w_buttons)
|
|
185
|
+
self.horizontalLayout_2.setObjectName(u"horizontalLayout_2")
|
|
186
|
+
self.hs_2 = QSpacerItem(172, 20, QSizePolicy.Policy.Expanding, QSizePolicy.Policy.Minimum)
|
|
187
|
+
|
|
188
|
+
self.horizontalLayout_2.addItem(self.hs_2)
|
|
189
|
+
|
|
190
|
+
self.button_cancel = QPushButton(self.w_buttons)
|
|
191
|
+
self.button_cancel.setObjectName(u"button_cancel")
|
|
192
|
+
|
|
193
|
+
self.horizontalLayout_2.addWidget(self.button_cancel)
|
|
194
|
+
|
|
195
|
+
self.button_done = QPushButton(self.w_buttons)
|
|
196
|
+
self.button_done.setObjectName(u"button_done")
|
|
197
|
+
|
|
198
|
+
self.horizontalLayout_2.addWidget(self.button_done)
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
self.verticalLayout.addWidget(self.w_buttons)
|
|
202
|
+
|
|
203
|
+
QWidget.setTabOrder(self.tree, self.button_down)
|
|
204
|
+
QWidget.setTabOrder(self.button_down, self.button_up)
|
|
205
|
+
QWidget.setTabOrder(self.button_up, self.button_import)
|
|
206
|
+
QWidget.setTabOrder(self.button_import, self.button_edit)
|
|
207
|
+
QWidget.setTabOrder(self.button_edit, self.button_undo)
|
|
208
|
+
QWidget.setTabOrder(self.button_undo, self.button_restore)
|
|
209
|
+
QWidget.setTabOrder(self.button_restore, self.button_delete)
|
|
210
|
+
QWidget.setTabOrder(self.button_delete, self.button_done)
|
|
211
|
+
QWidget.setTabOrder(self.button_done, self.button_cancel)
|
|
212
|
+
|
|
213
|
+
self.retranslateUi(Custom_Top)
|
|
214
|
+
|
|
215
|
+
QMetaObject.connectSlotsByName(Custom_Top)
|
|
216
|
+
# setupUi
|
|
217
|
+
|
|
218
|
+
def retranslateUi(self, Custom_Top):
|
|
219
|
+
Custom_Top.setWindowTitle(QCoreApplication.translate("Custom_Top", u"Custom types of process", None))
|
|
220
|
+
#if QT_CONFIG(tooltip)
|
|
221
|
+
self.label_tree.setToolTip("")
|
|
222
|
+
#endif // QT_CONFIG(tooltip)
|
|
223
|
+
self.label_tree.setText(QCoreApplication.translate("Custom_Top", u"Available processes", None))
|
|
224
|
+
#if QT_CONFIG(tooltip)
|
|
225
|
+
self.button_down.setToolTip(QCoreApplication.translate("Custom_Top", u"Move item down in the list", None))
|
|
226
|
+
#endif // QT_CONFIG(tooltip)
|
|
227
|
+
self.button_down.setText("")
|
|
228
|
+
#if QT_CONFIG(shortcut)
|
|
229
|
+
self.button_down.setShortcut(QCoreApplication.translate("Custom_Top", u"Ctrl+Down", None))
|
|
230
|
+
#endif // QT_CONFIG(shortcut)
|
|
231
|
+
#if QT_CONFIG(tooltip)
|
|
232
|
+
self.button_up.setToolTip(QCoreApplication.translate("Custom_Top", u"Move item up in the list", None))
|
|
233
|
+
#endif // QT_CONFIG(tooltip)
|
|
234
|
+
self.button_up.setText("")
|
|
235
|
+
#if QT_CONFIG(shortcut)
|
|
236
|
+
self.button_up.setShortcut(QCoreApplication.translate("Custom_Top", u"Ctrl+Up", None))
|
|
237
|
+
#endif // QT_CONFIG(shortcut)
|
|
238
|
+
#if QT_CONFIG(tooltip)
|
|
239
|
+
self.button_import.setToolTip(QCoreApplication.translate("Custom_Top", u"Import process file from disk", None))
|
|
240
|
+
#endif // QT_CONFIG(tooltip)
|
|
241
|
+
self.button_import.setText("")
|
|
242
|
+
#if QT_CONFIG(shortcut)
|
|
243
|
+
self.button_import.setShortcut(QCoreApplication.translate("Custom_Top", u"Ctrl+D", None))
|
|
244
|
+
#endif // QT_CONFIG(shortcut)
|
|
245
|
+
#if QT_CONFIG(tooltip)
|
|
246
|
+
self.button_edit.setToolTip(QCoreApplication.translate("Custom_Top", u"Edit item", None))
|
|
247
|
+
#endif // QT_CONFIG(tooltip)
|
|
248
|
+
#if QT_CONFIG(shortcut)
|
|
249
|
+
self.button_edit.setShortcut(QCoreApplication.translate("Custom_Top", u"F2", None))
|
|
250
|
+
#endif // QT_CONFIG(shortcut)
|
|
251
|
+
#if QT_CONFIG(tooltip)
|
|
252
|
+
self.button_undo.setToolTip(QCoreApplication.translate("Custom_Top", u"Discard changes for item", None))
|
|
253
|
+
#endif // QT_CONFIG(tooltip)
|
|
254
|
+
self.button_undo.setText("")
|
|
255
|
+
#if QT_CONFIG(shortcut)
|
|
256
|
+
self.button_undo.setShortcut(QCoreApplication.translate("Custom_Top", u"Ctrl+Z", None))
|
|
257
|
+
#endif // QT_CONFIG(shortcut)
|
|
258
|
+
#if QT_CONFIG(tooltip)
|
|
259
|
+
self.button_restore.setToolTip(QCoreApplication.translate("Custom_Top", u"Restore item", None))
|
|
260
|
+
#endif // QT_CONFIG(tooltip)
|
|
261
|
+
#if QT_CONFIG(shortcut)
|
|
262
|
+
self.button_restore.setShortcut(QCoreApplication.translate("Custom_Top", u"Ctrl+R", None))
|
|
263
|
+
#endif // QT_CONFIG(shortcut)
|
|
264
|
+
#if QT_CONFIG(tooltip)
|
|
265
|
+
self.button_delete.setToolTip(QCoreApplication.translate("Custom_Top", u"Delete item", None))
|
|
266
|
+
#endif // QT_CONFIG(tooltip)
|
|
267
|
+
#if QT_CONFIG(shortcut)
|
|
268
|
+
self.button_delete.setShortcut(QCoreApplication.translate("Custom_Top", u"Backspace", None))
|
|
269
|
+
#endif // QT_CONFIG(shortcut)
|
|
270
|
+
___qtreewidgetitem = self.tree.headerItem()
|
|
271
|
+
___qtreewidgetitem.setText(0, QCoreApplication.translate("Custom_Top", u"Name", None));
|
|
272
|
+
|
|
273
|
+
__sortingEnabled = self.tree.isSortingEnabled()
|
|
274
|
+
self.tree.setSortingEnabled(False)
|
|
275
|
+
___qtreewidgetitem1 = self.tree.topLevelItem(0)
|
|
276
|
+
___qtreewidgetitem1.setText(0, QCoreApplication.translate("Custom_Top", u"Item 2", None));
|
|
277
|
+
___qtreewidgetitem2 = self.tree.topLevelItem(1)
|
|
278
|
+
___qtreewidgetitem2.setText(0, QCoreApplication.translate("Custom_Top", u"Item 1", None));
|
|
279
|
+
self.tree.setSortingEnabled(__sortingEnabled)
|
|
280
|
+
|
|
281
|
+
#if QT_CONFIG(tooltip)
|
|
282
|
+
self.button_cancel.setToolTip(QCoreApplication.translate("Custom_Top", u"Discard changes", None))
|
|
283
|
+
#endif // QT_CONFIG(tooltip)
|
|
284
|
+
self.button_cancel.setText(QCoreApplication.translate("Custom_Top", u"Cancel", None))
|
|
285
|
+
#if QT_CONFIG(shortcut)
|
|
286
|
+
self.button_cancel.setShortcut(QCoreApplication.translate("Custom_Top", u"Esc", None))
|
|
287
|
+
#endif // QT_CONFIG(shortcut)
|
|
288
|
+
#if QT_CONFIG(tooltip)
|
|
289
|
+
self.button_done.setToolTip(QCoreApplication.translate("Custom_Top", u"Save changes", None))
|
|
290
|
+
#endif // QT_CONFIG(tooltip)
|
|
291
|
+
self.button_done.setText(QCoreApplication.translate("Custom_Top", u"Save", None))
|
|
292
|
+
#if QT_CONFIG(shortcut)
|
|
293
|
+
self.button_done.setShortcut(QCoreApplication.translate("Custom_Top", u"Ctrl+S", None))
|
|
294
|
+
#endif // QT_CONFIG(shortcut)
|
|
295
|
+
# retranslateUi
|
|
296
|
+
|