Agus_Darmawan

sync_data_from_db_GUI

Jun 20th, 2021 (edited)
557
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # -*- coding: utf-8 -*-
  2.  
  3. # Form implementation generated from reading ui file 'tamu_fix.ui'
  4. #
  5. # Created by: PyQt5 UI code generator 5.15.4
  6. #
  7. # WARNING: Any manual changes made to this file will be lost when pyuic5 is
  8. # run again.  Do not edit this file unless you know what you are doing.
  9.  
  10.  
  11. from PyQt5 import QtCore, QtGui, QtWidgets
  12.  
  13.  
  14. class Ui_Form(object):
  15.     def setupUi(self, Form):
  16.         Form.setObjectName("Form")
  17.         Form.resize(431, 519)
  18.         self.grad = QtWidgets.QLabel(Form)
  19.         self.grad.setGeometry(QtCore.QRect(0, 0, 431, 521))
  20.         self.grad.setStyleSheet("background-color: rgb(0, 68, 206);")
  21.         self.grad.setText("")
  22.         self.grad.setObjectName("grad")
  23.         self.sendandrec = QtWidgets.QTextEdit(Form)
  24.         self.sendandrec.setGeometry(QtCore.QRect(20, 200, 351, 281))
  25.         font = QtGui.QFont()
  26.         font.setFamily("Century Gothic")
  27.         font.setPointSize(10)
  28.         self.sendandrec.setFont(font)
  29.         self.sendandrec.setObjectName("sendandrec")
  30.         self.label_2 = QtWidgets.QLabel(Form)
  31.         self.label_2.setGeometry(QtCore.QRect(240, 80, 81, 31))
  32.         self.label_2.setStyleSheet("font: 75 14pt \"Tahoma\";\n"
  33. "color: rgb(255, 255, 255);")
  34.         self.label_2.setObjectName("label_2")
  35.         self.pushButton = QtWidgets.QPushButton(Form)
  36.         self.pushButton.setGeometry(QtCore.QRect(280, 140, 91, 51))
  37.         font = QtGui.QFont()
  38.         font.setFamily("Arial")
  39.         font.setPointSize(14)
  40.         font.setBold(False)
  41.         font.setItalic(False)
  42.         font.setWeight(50)
  43.         self.pushButton.setFont(font)
  44.         self.pushButton.setStyleSheet("color: rgb(255, 255, 255);\n"
  45. "background-color: rgba(47, 47, 47,200);\n"
  46. "border: none;\n"
  47. "border-radius:25px;\n"
  48. "font: 14pt \"Arial\";")
  49.         self.pushButton.setObjectName("pushButton")
  50.         self.label = QtWidgets.QLabel(Form)
  51.         self.label.setGeometry(QtCore.QRect(10, 20, 371, 61))
  52.         font = QtGui.QFont()
  53.         font.setFamily("Century Gothic")
  54.         font.setPointSize(28)
  55.         self.label.setFont(font)
  56.         self.label.setStyleSheet("color: rgb(255, 255, 255);")
  57.         self.label.setObjectName("label")
  58.         self.sendtext = QtWidgets.QLineEdit(Form)
  59.         self.sendtext.setGeometry(QtCore.QRect(20, 140, 251, 51))
  60.         font = QtGui.QFont()
  61.         font.setFamily("Century Gothic")
  62.         font.setPointSize(10)
  63.         self.sendtext.setFont(font)
  64.         self.sendtext.setStyleSheet("")
  65.         self.sendtext.setObjectName("sendtext")
  66.  
  67.         self.retranslateUi(Form)
  68.         QtCore.QMetaObject.connectSlotsByName(Form)
  69.  
  70.     def retranslateUi(self, Form):
  71.         _translate = QtCore.QCoreApplication.translate
  72.         Form.setWindowTitle(_translate("Form", "Form"))
  73.         self.label_2.setText(_translate("Form", "Tamu"))
  74.         self.pushButton.setText(_translate("Form", "Send"))
  75.         self.label.setText(_translate("Form", "konsultasi hukum"))
  76.  
  77.  
  78. if __name__ == "__main__":
  79.     import sys
  80.     app = QtWidgets.QApplication(sys.argv)
  81.     Form = QtWidgets.QWidget()
  82.     ui = Ui_Form()
  83.     ui.setupUi(Form)
  84.     Form.show()
  85.     sys.exit(app.exec_())
  86.  
RAW Paste Data