Finish the modular preference dialog and add a dummy view
This commit is contained in:
@@ -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 *
|
||||
|
||||
|
||||
Reference in New Issue
Block a user