Exemplo n.º 1
0
class Study (QtGui.QWidget, Ui_Study):
    def __init__(self):
        QtGui.QWidget.__init__(self)
        Ui_Study.__init__(self)
        self.setupUi(self)

        self.graphButton.clicked.connect(self.open_graph_window)
        self.expressionSolver.clicked.connect(self.open_expression_renderer)
        self.dictionaryButton.clicked.connect(self.open_dictionary)
        self.greVocaLearnerButton.clicked.connect(self.open_gre_voca_learner)


    def open_graph_window(self):
    	self.graph_window = SimpleGraphWidget()
    	self.graph_window.show()


    def open_expression_renderer(self):
    	self.expression_window = ExpressionForm()
    	self.expression_window.show()

    def open_dictionary(self):
    	self.dictionary_window = DictionaryWidget()
    	self.dictionary_window.show()


    def open_gre_voca_learner(self):
    	self.gre = GreVocaBank()
    	self.gre.show()
Exemplo n.º 2
0
 def open_expression_renderer(self):
 	self.expression_window = ExpressionForm()
 	self.expression_window.show()