ViewManager/ViewManager.py

changeset 4917
682750cc7bd5
parent 4913
e16573640cb8
child 5006
82e91d2f59a1
equal deleted inserted replaced
4915:8081031061a2 4917:682750cc7bd5
83 """ 83 """
84 self.gotFocus.emit() 84 self.gotFocus.emit()
85 super(QuickSearchLineEdit, self).focusInEvent(evt) # pass it on 85 super(QuickSearchLineEdit, self).focusInEvent(evt) # pass it on
86 86
87 87
88 class ViewManager(QWidget):##QObject): 88 class ViewManager(QWidget):
89 """ 89 """
90 Base class inherited by all specific viewmanager classes. 90 Base class inherited by all specific viewmanager classes.
91 91
92 It defines the interface to be implemented by specific 92 It defines the interface to be implemented by specific
93 viewmanager classes and all common methods. 93 viewmanager classes and all common methods.
448 def mainWidget(self): 448 def mainWidget(self):
449 """ 449 """
450 Public method to return a reference to the main Widget of a 450 Public method to return a reference to the main Widget of a
451 specific view manager subclass. 451 specific view manager subclass.
452 452
453 @return reference to the main widget
454 @rtype QWidget
455 @exception RuntimeError Not implemented 453 @exception RuntimeError Not implemented
456 """ 454 """
457 raise RuntimeError('Not implemented') 455 raise RuntimeError('Not implemented')
458 456
459 ##################################################################### 457 #####################################################################

eric ide

mercurial