def mouseReleaseEvent(self, event):
        event.ignore()
        state = self.frame_state
        self._refreshCursor(event.pos())
        if state.mouse_title:
            if self.titleBarMouseReleaseEvent(event):
                event.accept()
                state.mouse_title = False
                return
        if self.isWindow() and event.button() == Qt.LeftButton:
            state.resize_border = self.NoBorder
            state.resize_offset = None
            if state.last_size is not None:
                if state.last_size != self.size():
                    self.manager().frame_resized(self)
                del state.last_size
            event.accept()
Create a derived iterator.
dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/docking/q_dock_frame.py/QDockFrame.mouseReleaseEvent--crossover with--dataset/ETHPy150Open ardekantur/pyglet/pyglet/text/runlist.py/OverriddenRunIterator.__init__