Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'QDropEvent' object has no attribute 'pos' #276

Open
tlambert03 opened this issue Aug 10, 2023 · 0 comments
Open

AttributeError: 'QDropEvent' object has no attribute 'pos' #276

tlambert03 opened this issue Aug 10, 2023 · 0 comments

Comments

@tlambert03
Copy link
Member

seeing this issue with the stage widget in napari micromanager. Haven't dug deeper

AttributeError                            Traceback (most recent call last)
File ~/dev/self/napari-micromanager/src/napari_micromanager/_gui_objects/_stages_widget.py:62, in MMStagesWidget.dropEvent(self=<napari_micromanager._gui_objects._stages_widget.MMStagesWidget object>, event=<PyQt6.QtGui.QDropEvent object>)
     61 def dropEvent(self, event: QDropEvent) -> None:
---> 62     pos = event.pos()
        event = <PyQt6.QtGui.QDropEvent object at 0x292e07eb0>
     64     wdgs: List[Tuple[int, _DragGroupBox, int, int]] = []
     65     zones: List[Tuple[int, int]] = []

AttributeError: 'QDropEvent' object has no attribute 'pos'
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
File ~/dev/self/napari-micromanager/src/napari_micromanager/_gui_objects/_stages_widget.py:62, in MMStagesWidget.dropEvent(self=<napari_micromanager._gui_objects._stages_widget.MMStagesWidget object>, event=<PyQt6.QtGui.QDropEvent object>)
     61 def dropEvent(self, event: QDropEvent) -> None:
---> 62     pos = event.pos()
        event = <PyQt6.QtGui.QDropEvent object at 0x292e07eb0>
     64     wdgs: List[Tuple[int, _DragGroupBox, int, int]] = []
     65     zones: List[Tuple[int, int]] = []

AttributeError: 'QDropEvent' object has no attribute 'pos'
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
File ~/dev/self/napari-micromanager/src/napari_micromanager/_gui_objects/_stages_widget.py:62, in MMStagesWidget.dropEvent(self=<napari_micromanager._gui_objects._stages_widget.MMStagesWidget object>, event=<PyQt6.QtGui.QDropEvent object>)
     61 def dropEvent(self, event: QDropEvent) -> None:
---> 62     pos = event.pos()
        event = <PyQt6.QtGui.QDropEvent object at 0x292e07eb0>
     64     wdgs: List[Tuple[int, _DragGroupBox, int, int]] = []
     65     zones: List[Tuple[int, int]] = []

AttributeError: 'QDropEvent' object has no attribute 'pos'
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
File ~/dev/self/napari-micromanager/src/napari_micromanager/_gui_objects/_stages_widget.py:62, in MMStagesWidget.dropEvent(self=<napari_micromanager._gui_objects._stages_widget.MMStagesWidget object>, event=<PyQt6.QtGui.QDropEvent object>)
     61 def dropEvent(self, event: QDropEvent) -> None:
---> 62     pos = event.pos()
        event = <PyQt6.QtGui.QDropEvent object at 0x292e07eb0>
     64     wdgs: List[Tuple[int, _DragGroupBox, int, int]] = []
     65     zones: List[Tuple[int, int]] = []

AttributeError: 'QDropEvent' object has no attribute 'pos'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant