Mercurial > hg > Feedworm
comparison DisplayModel.py @ 217:bb3c851b18b1
add source file endcoding header
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Sun, 27 Apr 2014 05:33:34 +0200 |
parents | c5a427d46703 |
children | 699d8f1cebd4 |
comparison
equal
deleted
inserted
replaced
216:9bc4b2465435 | 217:bb3c851b18b1 |
---|---|
1 | 1 # -*- coding: utf-8 -*- |
2 from PyQt4.QtCore import QAbstractListModel, QModelIndex, QVariant, Qt | 2 from PyQt4.QtCore import QAbstractListModel, QModelIndex, QVariant, Qt |
3 | 3 |
4 class DisplayModel(QAbstractListModel): | 4 class DisplayModel(QAbstractListModel): |
5 def __init__(self, parent=None, list=None, displayAttribute=None, **args): | 5 def __init__(self, parent=None, list=None, displayAttribute=None, **args): |
6 QAbstractListModel.__init__(self, parent, *args) | 6 QAbstractListModel.__init__(self, parent, *args) |