import repository from arizona
[raven.git] / apps / ravenpublish / kongscreen.py
1
2 import os
3 import sys
4
5 from PyQt4.QtCore import *
6 from PyQt4.QtGui import *
7
8 from sface.screens.sfascreen import SfaScreen
9 from sface.config import config
10
11 sys.path.append("/usr/local/raven/bin")
12
13 import konggui
14
15 class KongScreen(SfaScreen):
16     def __init__(self, parent):
17         SfaScreen.__init__(self, parent)
18
19         widget = konggui.KongWidget(self)
20
21         self.init(widget, "Kong", "Kong Experiment Control")
22
23     def mainWindowClose(self):
24         self.widget.cleanup()
25
26     def ravenConfigChanged(self):
27         self.widget.loadAndOpen()
28
29