def __init__(self, *args):
     super(OknoDruzyny, self).__init__(*args)
     self.ui = Ui_oknoDruzynyForm()
     self.ui.setupUi(self)
class OknoDruzyny(QtGui.QWidget):
    def __init__(self, *args):
        super(OknoDruzyny, self).__init__(*args)
        self.ui = Ui_oknoDruzynyForm()
        self.ui.setupUi(self)