def __init__(self, editor):

		"""
		Constructor.

		Arguments:
		editor	--	A qtquiedit object.
		"""

		self.editor = editor
		self.themeDict = yaml.load(open(self.editor.get_resource( \
			u'themes.yaml')).read())
		self.theme = self.recTheme(self.editor.theme)