Commits

ecrespo committed 40b6805

Código python de la interfaz gráfica arreglada

Comments (0)

Files changed (1)

src/pysms_send_ui.py

+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'pysms-send.ui'
+#
+# Created: Mon Nov 19 15:04:10 2012
+#      by: PyQt4 UI code generator 4.9.3
+#
+# WARNING! All changes made in this file will be lost!
+
+from PyQt4 import QtCore, QtGui
+
+try:
+    _fromUtf8 = QtCore.QString.fromUtf8
+except AttributeError:
+    _fromUtf8 = lambda s: s
+
+class Ui_pysms(object):
+    def setupUi(self, pysms):
+        pysms.setObjectName(_fromUtf8("pysms"))
+        pysms.resize(749, 430)
+        self.tabWidget = QtGui.QTabWidget(pysms)
+        self.tabWidget.setGeometry(QtCore.QRect(0, 10, 741, 381))
+        self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
+        self.tab = QtGui.QWidget()
+        self.tab.setObjectName(_fromUtf8("tab"))
+        self.groupBox = QtGui.QGroupBox(self.tab)
+        self.groupBox.setGeometry(QtCore.QRect(140, 90, 571, 81))
+        self.groupBox.setObjectName(_fromUtf8("groupBox"))
+        self.numerocelular = QtGui.QLineEdit(self.groupBox)
+        self.numerocelular.setGeometry(QtCore.QRect(200, 30, 113, 20))
+        self.numerocelular.setObjectName(_fromUtf8("numerocelular"))
+        self.label = QtGui.QLabel(self.groupBox)
+        self.label.setGeometry(QtCore.QRect(60, 30, 111, 16))
+        self.label.setObjectName(_fromUtf8("label"))
+        self.individual = QtGui.QRadioButton(self.tab)
+        self.individual.setGeometry(QtCore.QRect(10, 120, 131, 19))
+        self.individual.setObjectName(_fromUtf8("individual"))
+        self.enlista = QtGui.QRadioButton(self.tab)
+        self.enlista.setGeometry(QtCore.QRect(10, 220, 111, 19))
+        self.enlista.setObjectName(_fromUtf8("enlista"))
+        self.groupBox_2 = QtGui.QGroupBox(self.tab)
+        self.groupBox_2.setGeometry(QtCore.QRect(140, 180, 571, 101))
+        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
+        self.listanumeros = QtGui.QComboBox(self.groupBox_2)
+        self.listanumeros.setGeometry(QtCore.QRect(140, 30, 401, 22))
+        self.listanumeros.setObjectName(_fromUtf8("listanumeros"))
+        self.numerolista = QtGui.QComboBox(self.groupBox_2)
+        self.numerolista.setGeometry(QtCore.QRect(140, 60, 401, 22))
+        self.numerolista.setObjectName(_fromUtf8("numerolista"))
+        self.label_4 = QtGui.QLabel(self.groupBox_2)
+        self.label_4.setGeometry(QtCore.QRect(10, 30, 121, 16))
+        self.label_4.setObjectName(_fromUtf8("label_4"))
+        self.label_5 = QtGui.QLabel(self.groupBox_2)
+        self.label_5.setGeometry(QtCore.QRect(10, 70, 121, 16))
+        self.label_5.setObjectName(_fromUtf8("label_5"))
+        self.enviar = QtGui.QPushButton(self.tab)
+        self.enviar.setGeometry(QtCore.QRect(630, 310, 83, 24))
+        self.enviar.setObjectName(_fromUtf8("enviar"))
+        self.mensaje = QtGui.QLineEdit(self.tab)
+        self.mensaje.setGeometry(QtCore.QRect(60, 20, 671, 21))
+        self.mensaje.setObjectName(_fromUtf8("mensaje"))
+        self.label_2 = QtGui.QLabel(self.tab)
+        self.label_2.setGeometry(QtCore.QRect(0, 20, 57, 14))
+        self.label_2.setObjectName(_fromUtf8("label_2"))
+        self.tabWidget.addTab(self.tab, _fromUtf8(""))
+        self.tab_2 = QtGui.QWidget()
+        self.tab_2.setObjectName(_fromUtf8("tab_2"))
+        self.groupBox_3 = QtGui.QGroupBox(self.tab_2)
+        self.groupBox_3.setGeometry(QtCore.QRect(10, 10, 711, 151))
+        self.groupBox_3.setObjectName(_fromUtf8("groupBox_3"))
+        self.insertar = QtGui.QPushButton(self.groupBox_3)
+        self.insertar.setGeometry(QtCore.QRect(580, 60, 83, 24))
+        self.insertar.setObjectName(_fromUtf8("insertar"))
+        self.elista = QtGui.QLineEdit(self.groupBox_3)
+        self.elista.setGeometry(QtCore.QRect(190, 60, 351, 23))
+        self.elista.setObjectName(_fromUtf8("elista"))
+        self.label_11 = QtGui.QLabel(self.groupBox_3)
+        self.label_11.setGeometry(QtCore.QRect(80, 60, 111, 16))
+        self.label_11.setObjectName(_fromUtf8("label_11"))
+        self.eliminar = QtGui.QPushButton(self.tab_2)
+        self.eliminar.setGeometry(QtCore.QRect(590, 180, 83, 24))
+        self.eliminar.setObjectName(_fromUtf8("eliminar"))
+        self.listascelulares = QtGui.QComboBox(self.tab_2)
+        self.listascelulares.setGeometry(QtCore.QRect(200, 180, 361, 22))
+        self.listascelulares.setObjectName(_fromUtf8("listascelulares"))
+        self.label_6 = QtGui.QLabel(self.tab_2)
+        self.label_6.setGeometry(QtCore.QRect(110, 180, 57, 14))
+        self.label_6.setObjectName(_fromUtf8("label_6"))
+        self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
+        self.tab_3 = QtGui.QWidget()
+        self.tab_3.setObjectName(_fromUtf8("tab_3"))
+        self.groupBox_4 = QtGui.QGroupBox(self.tab_3)
+        self.groupBox_4.setGeometry(QtCore.QRect(10, 20, 711, 321))
+        self.groupBox_4.setObjectName(_fromUtf8("groupBox_4"))
+        self.label_7 = QtGui.QLabel(self.groupBox_4)
+        self.label_7.setGeometry(QtCore.QRect(40, 70, 151, 16))
+        self.label_7.setObjectName(_fromUtf8("label_7"))
+        self.cdispositivos = QtGui.QComboBox(self.groupBox_4)
+        self.cdispositivos.setGeometry(QtCore.QRect(190, 70, 251, 22))
+        self.cdispositivos.setObjectName(_fromUtf8("cdispositivos"))
+        self.aplicarconfiguracion = QtGui.QPushButton(self.groupBox_4)
+        self.aplicarconfiguracion.setGeometry(QtCore.QRect(552, 280, 111, 24))
+        self.aplicarconfiguracion.setObjectName(_fromUtf8("aplicarconfiguracion"))
+        self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
+        self.tab_4 = QtGui.QWidget()
+        self.tab_4.setObjectName(_fromUtf8("tab_4"))
+        self.label_3 = QtGui.QLabel(self.tab_4)
+        self.label_3.setGeometry(QtCore.QRect(40, 50, 561, 16))
+        self.label_3.setObjectName(_fromUtf8("label_3"))
+        self.label_8 = QtGui.QLabel(self.tab_4)
+        self.label_8.setGeometry(QtCore.QRect(40, 90, 131, 16))
+        self.label_8.setObjectName(_fromUtf8("label_8"))
+        self.label_9 = QtGui.QLabel(self.tab_4)
+        self.label_9.setGeometry(QtCore.QRect(40, 120, 171, 16))
+        self.label_9.setObjectName(_fromUtf8("label_9"))
+        self.label_10 = QtGui.QLabel(self.tab_4)
+        self.label_10.setGeometry(QtCore.QRect(40, 150, 361, 16))
+        self.label_10.setObjectName(_fromUtf8("label_10"))
+        self.tabWidget.addTab(self.tab_4, _fromUtf8(""))
+        self.salir = QtGui.QPushButton(pysms)
+        self.salir.setGeometry(QtCore.QRect(630, 400, 83, 24))
+        self.salir.setObjectName(_fromUtf8("salir"))
+
+        self.retranslateUi(pysms)
+        self.tabWidget.setCurrentIndex(0)
+        QtCore.QObject.connect(self.salir, QtCore.SIGNAL(_fromUtf8("clicked()")), pysms.close)
+        QtCore.QMetaObject.connectSlotsByName(pysms)
+
+    def retranslateUi(self, pysms):
+        pysms.setWindowTitle(QtGui.QApplication.translate("pysms", "PySMS-send", None, QtGui.QApplication.UnicodeUTF8))
+        self.groupBox.setTitle(QtGui.QApplication.translate("pysms", "Envío de SMS", None, QtGui.QApplication.UnicodeUTF8))
+        self.label.setText(QtGui.QApplication.translate("pysms", "Número Celular", None, QtGui.QApplication.UnicodeUTF8))
+        self.individual.setText(QtGui.QApplication.translate("pysms", "Envío individual", None, QtGui.QApplication.UnicodeUTF8))
+        self.enlista.setText(QtGui.QApplication.translate("pysms", "Envío de lista", None, QtGui.QApplication.UnicodeUTF8))
+        self.groupBox_2.setTitle(QtGui.QApplication.translate("pysms", "Envío de lista de SMS", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_4.setText(QtGui.QApplication.translate("pysms", "Lista de Números", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_5.setText(QtGui.QApplication.translate("pysms", "Número de la lista", None, QtGui.QApplication.UnicodeUTF8))
+        self.enviar.setText(QtGui.QApplication.translate("pysms", "Enviar", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_2.setText(QtGui.QApplication.translate("pysms", "Mensaje", None, QtGui.QApplication.UnicodeUTF8))
+        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), QtGui.QApplication.translate("pysms", "Tab 1", None, QtGui.QApplication.UnicodeUTF8))
+        self.groupBox_3.setTitle(QtGui.QApplication.translate("pysms", "Administración de listas de teléfono:", None, QtGui.QApplication.UnicodeUTF8))
+        self.insertar.setText(QtGui.QApplication.translate("pysms", "Agregar", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_11.setText(QtGui.QApplication.translate("pysms", "Lista a agregar:", None, QtGui.QApplication.UnicodeUTF8))
+        self.eliminar.setText(QtGui.QApplication.translate("pysms", "Eliminar", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_6.setText(QtGui.QApplication.translate("pysms", "Lista:", None, QtGui.QApplication.UnicodeUTF8))
+        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), QtGui.QApplication.translate("pysms", "Tab 2", None, QtGui.QApplication.UnicodeUTF8))
+        self.groupBox_4.setTitle(QtGui.QApplication.translate("pysms", "Configuración de dispositivos Celular", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_7.setText(QtGui.QApplication.translate("pysms", "Tipo de dispositivo", None, QtGui.QApplication.UnicodeUTF8))
+        self.aplicarconfiguracion.setText(QtGui.QApplication.translate("pysms", "Aplicar Cambios", None, QtGui.QApplication.UnicodeUTF8))
+        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), QtGui.QApplication.translate("pysms", "Page", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_3.setText(QtGui.QApplication.translate("pysms", "Pysms-send: Programa para enviar mensajes de texto desde el computador", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_8.setText(QtGui.QApplication.translate("pysms", "Versión 2.0", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_9.setText(QtGui.QApplication.translate("pysms", "Licencia: GPLv3", None, QtGui.QApplication.UnicodeUTF8))
+        self.label_10.setText(QtGui.QApplication.translate("pysms", "Copyright: Ernesto Crespo <ecrespo@gmail.com>", None, QtGui.QApplication.UnicodeUTF8))
+        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_4), QtGui.QApplication.translate("pysms", "Page", None, QtGui.QApplication.UnicodeUTF8))
+        self.salir.setText(QtGui.QApplication.translate("pysms", "&Salir", None, QtGui.QApplication.UnicodeUTF8))
+