def __init__(self): QMock.__init__(self) self.__enabled = True
def __init__(self, text=None, parent=None): QMock.__init__(self, parent) self.__enabled = True self.__checked = False self.__text = text
def __init__(self, parent=None): QMock.__init__(self, parent) self.__enabled = True self.__actions = []
def __init__(self, *args, **kwds): kwds.setdefault("returnValues", {}).setdefault("checkState", Qt.Unchecked) QMock.__init__(self, *args, **kwds) self.__checked = False
def __init__(self): QMock.__init__(self) self.__checked = False self.mock_group = None
def __init__(self): QMock.__init__(self) self.__checked = True self.__checkable = False
def __init__(self, *args, **kwds): QMock.__init__(self, *args, **kwds) self.__btns = {} self.__checked = None
def __init__(self, *args, **kwds): kwds.setdefault("returnValues", {}).setdefault("text", "") QMock.__init__(self, *args, **kwds) self.mockSetReturnValue("cursorPosition", len(self.text()))