Skip to content
Snippets Groups Projects
Commit b63ac77b authored by Anders H. Rebner's avatar Anders H. Rebner
Browse files

Endring i to funksjons-docstrings

parent f33d6a6c
No related branches found
No related tags found
1 merge request!21#32 shortcuts fungerer nå ved flere TableModules i samme scene
Pipeline #72830 passed
...@@ -28,7 +28,13 @@ class TableModule(ModuleBase, QTableWidget, metaclass=Meta): ...@@ -28,7 +28,13 @@ class TableModule(ModuleBase, QTableWidget, metaclass=Meta):
""" """
def set_pos(self, pos): def set_pos(self, pos):
"""Set position of widget.""" """Set position of widget.
Parameters
----------
pos : QPoint
Position (x, y).
"""
self.move(pos) self.move(pos)
def __init__(self): def __init__(self):
...@@ -65,9 +71,6 @@ class TableModule(ModuleBase, QTableWidget, metaclass=Meta): ...@@ -65,9 +71,6 @@ class TableModule(ModuleBase, QTableWidget, metaclass=Meta):
the event is sent on to be handled by the superclass (for navigation the event is sent on to be handled by the superclass (for navigation
with arrow-keys for.eg.) with arrow-keys for.eg.)
The combinations used below work on Thomas' machine, but are not
guaranteed to work on all machines. This needs to be checked.
Parameters Parameters
---------- ----------
event : QKeyEvent event : QKeyEvent
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment