From b63ac77b3b4d95a7de23db4e710aef13f8f6bf98 Mon Sep 17 00:00:00 2001 From: "Anders H. Rebner" <anderhre@stud.ntnu.no> Date: Fri, 6 Mar 2020 15:08:10 +0100 Subject: [PATCH] Endring i to funksjons-docstrings --- soitool/modules/module_table.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/soitool/modules/module_table.py b/soitool/modules/module_table.py index 12f64f3..29adbce 100644 --- a/soitool/modules/module_table.py +++ b/soitool/modules/module_table.py @@ -28,7 +28,13 @@ class TableModule(ModuleBase, QTableWidget, metaclass=Meta): """ def set_pos(self, pos): - """Set position of widget.""" + """Set position of widget. + + Parameters + ---------- + pos : QPoint + Position (x, y). + """ self.move(pos) def __init__(self): @@ -65,9 +71,6 @@ class TableModule(ModuleBase, QTableWidget, metaclass=Meta): the event is sent on to be handled by the superclass (for navigation 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 ---------- event : QKeyEvent -- GitLab