HomePhabricator
Diffusion MITK 16844f3905fc

Allow disabling of PACS tools by manually ensuring exclusivity

Description

Allow disabling of PACS tools by manually ensuring exclusivity

Summary: Since the corresponding Qt functionality is not available in our version, as described in T28631, I reimplemented the exclusivity of PACS tools myself to allow the user to deselect the currently selected tool by clicking it again. This disables any functions connected to the LMB, but leaves other PACS interactions (e.g. ctrl + RMB) untouched.

Test Plan: Enable PACS like interaction and load any picture, click a selected tool again to deactivate it -> the LMB does nothing, but secondary PACS interactions still work

Reviewers: O3 MITK Reviewer Group II, O1 MITK Reviewer Group I, kalali

Reviewed By: O3 MITK Reviewer Group II, O1 MITK Reviewer Group I, kalali

Subscribers: kalali

Maniphest Tasks: T28631

Differential Revision: https://phabricator.mitk.org/D532

Details

Provenance
s434nAuthored on Aug 25 2021, 2:02 PM
s434nPushed on Aug 25 2021, 4:12 PM
Reviewer
O3: MITK Reviewer Group II
Differential Revision
Restricted Differential Revision
Parents
rMITKd5dffec8590d: Set width of PACS toolbar to fixed size to avoid changing render window size
rMITK234cb93299fe: Fixed T28667 Generalize overwriting of interaction configs when using tools
Branches
Unknown
Tags
Unknown
Tasks
T28631: [PACS] Allow disabling of PACS tools