# Path: oroboros/core/cfg.py
# def load():
# def save():
# def _test():
# 
# 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/names.py



import sys
import os.path
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from oroboros.core import cfg
from oroboros.core.orbsfilters import OrbsFilter
from oroboros.gui import app
from oroboros.gui import names
		
		# ### main aspects ###
		mainWidget = QWidget()
		tabs.addTab(mainWidget, tr('Main', 'Main aspects'))
		mainGrid = QGridLayout()
		mainWidget.setLayout(mainGrid)
		x = (0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3)
		y = (0,2,4,6,0,2,4,6,0,2,4,6,0,2,4,6)
		mainAspects = ('Conjunction', 'Opposition', 'Trine', 'Square', 'Sextile',
			'Quincunx', 'SesquiSquare', 'SemiSquare', 'SemiSextile', 'SquiSquare',
			'SquiSextile', 'Quintile', 'BiQuintile', 'SemiQuintile')
		for i, asp in enumerate(mainAspects):
			mainGrid.addWidget(QLabel(names.aspects[asp]), x[i], y[i])
			self._sb[asp] = QDoubleSpinBox(self)
			self._sb[asp].setRange(0, 30)
			self._sb[asp].setButtonSymbols(QAbstractSpinBox.PlusMinus)
			self._sb[asp].setSuffix(tr('\xb0', 'Degrees'))
			mainGrid.addWidget(self._sb[asp], x[i], y[i]+1)
		
		# ### other aspects ###
		otherWidget = QWidget()
		tabs.addTab(otherWidget, tr('Others', 'Other aspects'))
		otherGrid = QGridLayout()
		otherWidget.setLayout(otherGrid)
		x = (0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3)
		y = (0,2,4,6,0,2,4,6,0,2,4,6,0,2,4,6)
		otherAspects = ('Novile', 'BiNovile', 'QuadriNovile', 'SemiNovile',
			'Septile', 'BiSeptile', 'TriSeptile', 'Undecile', 'BiUndecile',
			'TriUndecile', 'QuadUndecile', 'QuinUndecile')
		for i, asp in enumerate(otherAspects):

# Path: oroboros/core/cfg.py
# def load():
# def save():
# def _test():
# 
# 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/names.py



# Path: oroboros/gui/orbfilterdialog.py
import sys
import os.path
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from oroboros.core import cfg
from oroboros.core.orbsfilters import OrbsFilter
from oroboros.gui import app
from oroboros.gui import names

		
		# ### main aspects ###
		mainWidget = QWidget()
		tabs.addTab(mainWidget, tr('Main', 'Main aspects'))
		mainGrid = QGridLayout()
		mainWidget.setLayout(mainGrid)
		x = (0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3)
		y = (0,2,4,6,0,2,4,6,0,2,4,6,0,2,4,6)
		mainAspects = ('Conjunction', 'Opposition', 'Trine', 'Square', 'Sextile',
			'Quincunx', 'SesquiSquare', 'SemiSquare', 'SemiSextile', 'SquiSquare',
			'SquiSextile', 'Quintile', 'BiQuintile', 'SemiQuintile')
		for i, asp in enumerate(mainAspects):
			mainGrid.addWidget(QLabel(names.aspects[asp]), x[i], y[i])
			self._sb[asp] = QDoubleSpinBox(self)
			self._sb[asp].setRange(0, 30)
			self._sb[asp].setButtonSymbols(QAbstractSpinBox.PlusMinus)
			self._sb[asp].setSuffix(tr('\xb0', 'Degrees'))
			mainGrid.addWidget(self._sb[asp], x[i], y[i]+1)
		
		# ### other aspects ###
		otherWidget = QWidget()
		tabs.addTab(otherWidget, tr('Others', 'Other aspects'))
		otherGrid = QGridLayout()
		otherWidget.setLayout(otherGrid)
		x = (0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3)
		y = (0,2,4,6,0,2,4,6,0,2,4,6,0,2,4,6)
		otherAspects = ('Novile', 'BiNovile', 'QuadriNovile', 'SemiNovile',
			'Septile', 'BiSeptile', 'TriSeptile', 'Undecile', 'BiUndecile',
			'TriUndecile', 'QuadUndecile', 'QuinUndecile')
		for i, asp in enumerate(otherAspects):

			otherGrid.addWidget(QLabel(names.aspects[asp]), x[i], y[i])