def __init__(self, keys): """ @type ert: res.enkf.EnKFMain """ QAbstractItemModel.__init__(self) self._keys = keys self.__icon = resourceIcon("star_filled.svg")
def __init__(self, ert): """ @type ert: res.enkf.EnKFMain """ QAbstractItemModel.__init__(self) self.__ert = ert self.__icon = resourceIcon("ide/small/bullet_star")
def __init__(self, parent=None): """Constructor.""" QAbstractItemModel.__init__(self, parent) self.abbreviator = Abbreviator() self.testresults = [] try: self.monospace_font = parent.window().editor.get_plugin_font() except AttributeError: # If run standalone for testing self.monospace_font = QFont("Courier New") self.monospace_font.setPointSize(10)
def __init__(self): QAbstractItemModel.__init__(self) self.__data = None
def __init__(self, cases): QAbstractItemModel.__init__(self) self.__data = cases
def __init__(self, source_model: QAbstractItemModel, parent=None) -> None: QAbstractItemModel.__init__(self, parent) self._source_model = source_model self._progress = None self._connect()
def __init__(self, facade: LibresFacade): self.facade = facade QAbstractItemModel.__init__(self) self.__data = []
def __init__(self, tree_root, parent=None): QAbstractItemModel.__init__(self, parent) self.__root = tree_root