Пример #1
0
def main():
    state = AppState()
    #state.sim();
    app = QApplication(sys.argv)
    ex = rucneKomande.rucneProzor(state)
    rez = app.exec_()
    state.close();
    sys.exit(rez)
Пример #2
0
 def rucneWindow(self):
     if isinstance(self.ex, rucneKomande.rucneProzor):
         self.ex.close()
         self.ex = rucneKomande.rucneProzor(self.state)
     else:
         self.ex = rucneKomande.rucneProzor(self.state)