# Path: oroboros/gui/app.py
# def appendMultiChart(cht):
# def insertMultiChart(idx, cht):
# def replaceMultiChart(idx, cht):
# def removeMultiChart(idx):
# def replaceChart(idx, num, cht):
# def removeChart(idx, num):
# def filterUpdatedEvent(idx):
# def planetsFilterUpdatedEvent(idx):
# def aspectsFilterUpdatedEvent(idx):
# def orbsFilterUpdatedEvent(idx):
# def aspectsRestrictionsUpdatedEvent(idx):
# def orbsRestrictionsUpdatedEvent(idx):
# def midPointsFilterUpdatedEvent(idx):
# 
# Path: oroboros/gui/chthtml.py
# def html_data(chart):
# def html_planets(plres):
# def _html_planets(res):
# def html_cusps(cuspsres):
# def html_aspects(aspres):
# def _html_aspects(res):
# def html_midpoints(midpres, midpasp):
# def _html_midpoints(res):
# def _html_midp_aspects(res):
# def html_intermidp(aspres):
# def html_intermidpoints(aspres):
# def _html_intermidp_aspects(res):


from PyQt4.QtGui import *
from PyQt4.QtCore import *
from oroboros.gui import app
from oroboros.gui import chthtml
	def reset(self):
		self.createData()
		self.createPlanets()
		self.createHouses()
		self.createAspects()
		if app.desktop.charts[self._idx][self._num]._filter._calc_midp:
			if not self.has_midpoints:
				self.createMidPointsTab()
			self.createMidPoints()
		else:
			if self.has_midpoints:
				self.removeMidPointsTab()
	
	def createData(self):
		txt = chthtml.html_data(
			app.desktop.charts[self._idx][self._num])
		self.textEdit1.setHtml(txt)
	
	def createPlanets(self):
		txt = chthtml.html_planets(
			app.desktop.charts[self._idx][self._num].planets)
		self.textEdit2.setHtml(txt)
	
	def createHouses(self):
		txt = chthtml.html_cusps(
			app.desktop.charts[self._idx][self._num].houses)
		self.textEdit3.setHtml(txt)
	
	def createAspects(self):
		txt = chthtml.html_aspects(

# Path: oroboros/gui/app.py
# def appendMultiChart(cht):
# def insertMultiChart(idx, cht):
# def replaceMultiChart(idx, cht):
# def removeMultiChart(idx):
# def replaceChart(idx, num, cht):
# def removeChart(idx, num):
# def filterUpdatedEvent(idx):
# def planetsFilterUpdatedEvent(idx):
# def aspectsFilterUpdatedEvent(idx):
# def orbsFilterUpdatedEvent(idx):
# def aspectsRestrictionsUpdatedEvent(idx):
# def orbsRestrictionsUpdatedEvent(idx):
# def midPointsFilterUpdatedEvent(idx):
# 
# Path: oroboros/gui/chthtml.py
# def html_data(chart):
# def html_planets(plres):
# def _html_planets(res):
# def html_cusps(cuspsres):
# def html_aspects(aspres):
# def _html_aspects(res):
# def html_midpoints(midpres, midpasp):
# def _html_midpoints(res):
# def _html_midp_aspects(res):
# def html_intermidp(aspres):
# def html_intermidpoints(aspres):
# def _html_intermidp_aspects(res):


# Path: oroboros/gui/dockwidget.py
from PyQt4.QtGui import *
from PyQt4.QtCore import *
from oroboros.gui import app
from oroboros.gui import chthtml

	def reset(self):
		self.createData()
		self.createPlanets()
		self.createHouses()
		self.createAspects()
		if app.desktop.charts[self._idx][self._num]._filter._calc_midp:
			if not self.has_midpoints:
				self.createMidPointsTab()
			self.createMidPoints()
		else:
			if self.has_midpoints:
				self.removeMidPointsTab()
	
	def createData(self):
		txt = chthtml.html_data(
			app.desktop.charts[self._idx][self._num])
		self.textEdit1.setHtml(txt)
	
	def createPlanets(self):
		txt = chthtml.html_planets(
			app.desktop.charts[self._idx][self._num].planets)
		self.textEdit2.setHtml(txt)
	
	def createHouses(self):
		txt = chthtml.html_cusps(
			app.desktop.charts[self._idx][self._num].houses)
		self.textEdit3.setHtml(txt)
	
	def createAspects(self):
		txt = chthtml.html_aspects(

			app.desktop.charts[self._idx][self._num].aspects.sort_by_precision())