comparison browser_side/contact.py @ 74:3df602cf700a

browser side: groups design
author Adrien Vigneron <adrienvigneron@mailoo.org>
date Sat, 18 Jun 2011 02:04:06 +0200
parents 9d8e79ac4c9c
children ddfcc4cb6cee
comparison
equal deleted inserted replaced
73:447dc8ac181b 74:3df602cf700a
77 77
78 class GroupList(VerticalPanel): 78 class GroupList(VerticalPanel):
79 79
80 def __init__(self, parent): 80 def __init__(self, parent):
81 VerticalPanel.__init__(self) 81 VerticalPanel.__init__(self)
82 self.setStyleName('groupList')
82 self._parent = parent 83 self._parent = parent
83 84
84 def add(self, group): 85 def add(self, group):
85 _item = GroupLabel(group) 86 _item = GroupLabel(group)
86 _item.addMouseListener(self._parent) 87 _item.addMouseListener(self._parent)