def __init__(self): QToolWindowInterface.__init__(self) self.controller = None self.title = None self.p_id = None self.main_window = None