# Path: oroboros/core/cfg.py
# def load():
# def save():
# def _test():
# 
# Path: oroboros/core/desktop.py
# class OpenedCharts(list):
# 	def append(self, cht):
# 	def insert(self, idx, cht):
# 	def __setitem__(self, item):


from PyQt4.QtCore import *
from PyQt4.QtGui import *
from oroboros.core import cfg
from oroboros.core import desktop
#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
Application manager.

"""




##__all__ = []


# singleton
mainwin = None ## main window


def appendMultiChart(cht):
	desktop.charts.append(cht)
	mainwin.addTabs(len(desktop.charts) - 1)

def insertMultiChart(idx, cht):

# Path: oroboros/core/cfg.py
# def load():
# def save():
# def _test():
# 
# Path: oroboros/core/desktop.py
# class OpenedCharts(list):
# 	def append(self, cht):
# 	def insert(self, idx, cht):
# 	def __setitem__(self, item):


# Path: oroboros/gui/app.py
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from oroboros.core import cfg
from oroboros.core import desktop

#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
Application manager.

"""




##__all__ = []


# singleton
mainwin = None ## main window


def appendMultiChart(cht):
	desktop.charts.append(cht)
	mainwin.addTabs(len(desktop.charts) - 1)

def insertMultiChart(idx, cht):

	desktop.charts.insert(idx, cht)