Exemple #1
0
class Vtn2(QtGui.QMainWindow):

    def iniciar(self):
        self.ui2 = Ui_inicio()
        self.ui2.setupUi(self)
        self.botones()
        self.show()

    def botones(self):
        self.ui2.exit_i.clicked.connect(self.volver)
        self.ui2.pp_i.clicked.connect(self.pPaciente)
        self.ui2.pm_i.clicked.connect(self.pMedicos)
        self.ui2.pc_i.clicked.connect(self.pCitas)

    def volver(self):
        self.close()
        inicio = Main()
        inicio.__init__().iniciar()

    def pPaciente(self):
        print "entro a pacientes"
        self.v3 = Vtn3()
        self.v3.iniciarP()

    def pMedicos(self):
      print "entro a medico"
      self.v4 =  Vtn4()
      self.v4.iniciarP()

    def pCitas(self):
      print "entro a citas"
      self.v5 =  Vtn5()
      self.v5.iniciarP()
Exemple #2
0
class Vtn2(QtGui.QMainWindow):
    def iniciar(self):
        self.ui2 = Ui_inicio()
        self.ui2.setupUi(self)
        self.botones()
        self.show()

    def botones(self):
        self.ui2.exit_i.clicked.connect(self.volver)
        self.ui2.pp_i.clicked.connect(self.pPaciente)
        self.ui2.pm_i.clicked.connect(self.pMedicos)
        self.ui2.pc_i.clicked.connect(self.pCitas)

    def volver(self):
        self.close()
        inicio = Main()
        inicio.__init__().iniciar()

    def pPaciente(self):
        print "entro a pacientes"
        self.v3 = Vtn3()
        self.v3.iniciarP()

    def pMedicos(self):
        print "entro a medico"
        self.v4 = Vtn4()
        self.v4.iniciarP()

    def pCitas(self):
        print "entro a citas"
        self.v5 = Vtn5()
        self.v5.iniciarP()
Exemple #3
0
class Vtn2(QtGui.QMainWindow):
    def __init__(self):
        super(Vtn2, self).__init__()
        self.ui2 = Ui_inicio()
        self.ui2.setupUi(self)
        self.botones()
        self.show()

    def botones(self):
        self.ui2.exit_i.clicked.connect(self.volver)

    def volver(self):
        inicio = Main()
        inicio.__init__().show()
Exemple #4
0
class Vtn2(QtGui.QMainWindow):
    def __init__(self):
        super(Vtn2, self).__init__()
        self.ui2 = Ui_inicio()
        self.ui2.setupUi(self)
        self.botones()
        self.show()

    def botones(self):
        self.ui2.exit_i.clicked.connect(self.volver)

    def volver(self):
        inicio = Main()
        inicio.__init__().show()
Exemple #5
0
class Vtn2(QtGui.QMainWindow):
    def iniciar(self):
        self.ui2 = Ui_inicio()
        self.ui2.setupUi(self)
        self.botones()
        self.show()

    def botones(self):
        self.ui2.exit_i.clicked.connect(self.volver)
        self.ui2.pp_i.clicked.connect(self.pPaciente)

    def volver(self):
        self.close()
        inicio = Main()
        inicio.__init__().iniciar()

    def pPaciente(self):
        print "entro ctm"
        self.v3 = Vtn3()
        self.v3.iniciarP()
Exemple #6
0
class Vtn2(QtGui.QMainWindow):

    def iniciar(self):
        self.ui2 = Ui_inicio()
        self.ui2.setupUi(self)
        self.botones()
        self.show()

    def botones(self):
        self.ui2.exit_i.clicked.connect(self.volver)
        self.ui2.pp_i.clicked.connect(self.pPaciente)

    def volver(self):
        self.close()
        inicio = Main()
        inicio.__init__().iniciar()

    def pPaciente(self):
        print "entro ctm"
        self.v3 = Vtn3()
        self.v3.iniciarP()
Exemple #7
0
 def __init__(self):
     super(Vtn2, self).__init__()
     self.ui2 = Ui_inicio()
     self.ui2.setupUi(self)
     self.botones()
     self.show()
Exemple #8
0
 def iniciar(self):
     self.ui2 = Ui_inicio()
     self.ui2.setupUi(self)
     self.botones()
     self.show()
Exemple #9
0
 def iniciar(self):
     self.ui2 = Ui_inicio()
     self.ui2.setupUi(self)
     self.botones()
     self.show()
Exemple #10
0
 def __init__(self):
     super(Vtn2, self).__init__()
     self.ui2 = Ui_inicio()
     self.ui2.setupUi(self)
     self.botones()
     self.show()