Example #1
0
 def __init__(self):
     QMock.__init__(self)
     self.__enabled = True
Example #2
0
 def __init__(self, text=None, parent=None):
     QMock.__init__(self, parent)
     self.__enabled = True
     self.__checked = False
     self.__text = text
Example #3
0
 def __init__(self, parent=None):
     QMock.__init__(self, parent)
     self.__enabled = True
     self.__actions = []
Example #4
0
 def __init__(self, *args, **kwds):
     kwds.setdefault("returnValues", {}).setdefault("checkState",
         Qt.Unchecked)
     QMock.__init__(self, *args, **kwds)
     self.__checked = False
Example #5
0
 def __init__(self):
     QMock.__init__(self)
     self.__checked = False
     self.mock_group = None
Example #6
0
 def __init__(self):
     QMock.__init__(self)
     self.__checked = True
     self.__checkable = False
Example #7
0
 def __init__(self, *args, **kwds):
     QMock.__init__(self, *args, **kwds)
     self.__btns = {}
     self.__checked = None
Example #8
0
 def __init__(self, *args, **kwds):
     kwds.setdefault("returnValues", {}).setdefault("text", "")
     QMock.__init__(self, *args, **kwds)
     self.mockSetReturnValue("cursorPosition", len(self.text()))