aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjonas <schmid@stettbacher.ch>2020-10-13 17:18:45 +0200
committerjonas <schmid@stettbacher.ch>2020-10-13 17:18:45 +0200
commit072ff55b00863102405366a81a412c8bbebdad43 (patch)
tree6d76e4ca203aa7f34c347aaad3e0b96958bd735f
parentSeparate build and run commands correctly. (diff)
downloado3000-python-binding-072ff55b00863102405366a81a412c8bbebdad43.tar.gz
o3000-python-binding-072ff55b00863102405366a81a412c8bbebdad43.zip
Add further persons/workers to the selection list.
Diffstat (limited to '')
-rw-r--r--image-record-annotate.py9
1 files changed, 3 insertions, 6 deletions
diff --git a/image-record-annotate.py b/image-record-annotate.py
index d206bca..341cfe4 100644
--- a/image-record-annotate.py
+++ b/image-record-annotate.py
@@ -128,14 +128,11 @@ class CamControlPanel(tk.Frame):
self.exposure_time.value = 0.02
self.sensitivity.value = 1.5
configure()
-
-
class AnnotationPanel(tk.Frame):
- _PERSONS = ["nobody", "kris", "stefan", "sophia", "jonas", "juerg", "petar"]
- _PERSONS = ["nobody", "kris", "stefan", "sophia", "jonas", "juerg", "petar"]
+ _PERSONS = ["nobody", "kris", "stefan", "sophia", "jonas", "juerg", "petar", "matthias", "felix", "patrickb",'patrickk','patrick','anne','stefan','margaret','michi','guenter','daniel']
_POSES = ["no pose", "sleeping", "typing", "writting", "tinkering"]
def __init__(self, *args, **kwargs):
@@ -152,13 +149,13 @@ class AnnotationPanel(tk.Frame):
tk.Label(self,text='Person:').grid(column=0, row=2, sticky='w')
- self.person_list = tk.Listbox(self, exportselection=False)
+ self.person_list = tk.Listbox(self, exportselection=False, height=20)
self.person_list.grid(column=0, row=3)
[self.person_list.insert(tk.END, item) for item in self._PERSONS]
tk.Label(self,text='Pose:').grid(column=1, row=2, sticky='w')
- self.pose_list = tk.Listbox(self, selectmode=tk.SINGLE, exportselection=False)
+ self.pose_list = tk.Listbox(self, selectmode=tk.SINGLE, exportselection=False, height=20)
self.pose_list.grid(column=1, row=3)
[self.pose_list.insert(tk.END, item) for item in self._POSES]