Skip to content

Commit

Permalink
move menus
Browse files Browse the repository at this point in the history
  • Loading branch information
mattclifford1 committed Feb 9, 2024
1 parent 45226c8 commit 62dd95b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
11 changes: 6 additions & 5 deletions IQM_Vis/UI/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,16 +92,17 @@ def make_menu(self):
quit_action.setStatusTip('Exit application')
quit_action.triggered.connect(self.quit)

self.edit_menu = self.menu_bar.addMenu('Edit')
load_transforms = self.edit_menu.addAction('Load All Transforms')
load_metrics = self.edit_menu.addAction('Load All Metrics')
load_metric_images = self.edit_menu.addAction('Load All Metric Images')
self.get_menu_checkboxes()

self.edit_menu = self.menu_bar.addMenu('Load')
load_transforms = self.edit_menu.addAction('All Transforms')
load_metrics = self.edit_menu.addAction('All Metrics')
load_metric_images = self.edit_menu.addAction('All Metric Images')

load_transforms.triggered.connect(self.load_all_transforms)
load_metrics.triggered.connect(self.load_all_metrics)
load_metric_images.triggered.connect(self.load_all_metric_images)

self.get_menu_checkboxes()

def load_all_transforms(self):
all_trans_iqm_vis = IQM_Vis.transformations.get_all_transforms()
Expand Down
16 changes: 16 additions & 0 deletions requirements-not-pinned.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
numpy>=1.23.4
PyQt6
PyQt6-Qt6
PyQt6-sip
opencv-python-headless>=4.6.0.66
Pillow>=9.2.0
scikit-image>=0.19.3
matplotlib>=3.6.1
torch>=1.13.1
torchmetrics>=1.2.0
lpips>=0.1.4
DISTS-pytorch>=0.1
torchvision>=0.14.1
pandas>=2.0.0
scipy>=1.9.3
notebook

0 comments on commit 62dd95b

Please sign in to comment.