def __init__(self, main_object, is_change=True, parent=None):
    super().__init__(parent=parent)
    self.__obj = main_object
    self.is_change = is_change
    self.initUI()
def __init__(self, main_object, is_change=True, parent=None):
    super().__init__(parent=parent)
    self.__obj = main_object
    self.is_change = is_change
    self.initUI()