I am working in a project which uses pyqt4. Many place I see a situation like
class getWidget():
@classmethod
def get_line(cls,**args)
return line(**args)
@classmethod
def get_label(cls,**args)
return label(**args)
@classmethod
def get_button(cls,**args)
return button(**args)
class line():
...
...
class label():
...
...
class button():
...
...
Whats the idea behind creating such a wrapper around BBB.