def __init__(self, commit, repo, path): QListWidgetItem.__init__(self) self.commit = commit self._feature = None self.repo = repo self.path = path self.setText("%s (by %s)" % (commit.message.splitlines()[0], commit.authorname))
def __init__(self, commit, repo, path): QListWidgetItem.__init__(self) self.commit = commit self._feature = None self.repo = repo self.path = path self.setText("%s (by %s)" % (commit.message.splitlines()[0], commit.authorname))
def __init__(self, commit, geogiglayer, fid): QListWidgetItem.__init__(self) self.commit = commit self._feature = None self.geogiglayer = geogiglayer self.fid = fid self.setText( "%s (by %s)" % (commit["message"].splitlines()[0], commit["author"]["name"]))
def __init__(self, commit): QListWidgetItem.__init__(self) self.commit = commit epoch = time.mktime(commit.committerdate.timetuple()) offset = datetime.datetime.fromtimestamp( epoch) - datetime.datetime.utcfromtimestamp(epoch) d = commit.committerdate + offset self.setText( "%s %s" % (d.strftime("[%m/%d/%y %H:%M]"), commit.message.splitlines()[0])) self.setIcon(self.icon)
def __init__(self, image, sort_criteria): QListWidgetItem.__init__(self) self.image = image self.date = iso8601.parse_date(image[PROPERTIES][sort_criteria])
def __init__(self, satellite): QListWidgetItem.__init__(self) self.satellite = satellite
def __init__(self, image, sort_criteria): QListWidgetItem.__init__(self) properties = image[PROPERTIES] self.date = iso8601.parse_date(properties[sort_criteria]).date() self.itemtype = properties[ITEM_TYPE]
def __init__(self, commit): QListWidgetItem.__init__(self) self.commit = commit self.ref = commit.commitid
def __init__(self, text, name, icon, parent, code): QListWidgetItem.__init__(self, icon, text, parent) STDMContent.__init__(self, code) self.Name = name + " " + QApplication.translate("STDMEntity", "Entity")
def __init__(self, scene): QListWidgetItem.__init__(self) self.scene = scene
def __init__(self, commit): QListWidgetItem.__init__(self) self.commit = commit self.ref = commit.commitid