Full complete rework of the columnViews, Every column should now work

regardless if the type of view it was put in.
This commit is contained in:
cncfanatics
2010-11-11 15:49:05 +01:00
parent 67058d37e7
commit ea66f6f147
30 changed files with 300 additions and 591 deletions

View File

@@ -25,7 +25,7 @@ from util import formatAmount
import wx
class AttributeDisplay(ViewColumn):
name = "Attribute Display"
name = "attr"
def __init__(self, fittingView, params):
ViewColumn.__init__(self, fittingView)
cAttribute = service.Attribute.getInstance()
@@ -67,7 +67,8 @@ class AttributeDisplay(ViewColumn):
def getImageId(self, mod):
return -1
def getParameters(self):
@staticmethod
def getParameters():
return (("attribute", str, None),
("displayName", bool, False),
("showIcon", bool, True))