Finish the modular preference dialog and add a dummy view

This commit is contained in:
cncfanatics
2010-10-14 10:50:10 +02:00
parent 4550e61a37
commit d820791a1a
6 changed files with 84 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ class PreferenceView(object):
@classmethod
def register(cls):
PreferenceView.views[cls.name] = cls
PreferenceView.views[cls.title] = cls()
@classmethod
def getView(cls, name):
@@ -33,10 +33,8 @@ class PreferenceView(object):
def populatePanel(self, panel):
raise NotImplementedError()
def getHeaderText(self, fit):
raise NotImplementedError()
def refreshPanel(self, fit):
raise NotImplementedError()
from gui.builtinStatsViews import *
from gui.builtinPreferenceViews import *