void retranslateUi(QDialog AboutTextRecognition) {
   textEdit.setHtml(
       com.trolltech.qt.core.QCoreApplication.translate(
           "AboutTextRecognition",
           "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
               + "<html><head><meta name=\"qrichtext\" content=\"1\" /><title>Image Viewer</title><style type=\"text/css\">\n"
               + "p, li { white-space: pre-wrap; }\n"
               + "</style></head><body style=\" font-family:'MS Shell Dlg 2'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
               + "<p align=\"center\" style=\" margin-top:16px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt; font-weight:600;\"><span style=\" font-size:x-large;\">TextRecognition</span></p>\n"
               + "<p style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;\">This application was written to show the various aspects of TextRecognition library.</p></body></html>"));
   okButton.setText(
       com.trolltech.qt.core.QCoreApplication.translate("AboutTextRecognition", "OK"));
 } // retranslateUi
Пример #2
0
 void retranslateUi(QWidget AnalisisForm) {
   AnalisisForm.setWindowTitle(
       com.trolltech.qt.core.QCoreApplication.translate("AnalisisForm", "Form", null));
   tableWidget.clear();
   tableWidget.setColumnCount(0);
   tableWidget.setRowCount(0);
   groupBox.setTitle(
       com.trolltech.qt.core.QCoreApplication.translate("AnalisisForm", "Acciones", null));
   pasosButton.setText(
       com.trolltech.qt.core.QCoreApplication.translate("AnalisisForm", "Pasos", null));
   completoButton.setText(
       com.trolltech.qt.core.QCoreApplication.translate("AnalisisForm", "Completo", null));
   groupBox_2.setTitle("");
   cerrarButton.setText(
       com.trolltech.qt.core.QCoreApplication.translate("AnalisisForm", "Cerrar", null));
 } // retranslateUi
Пример #3
0
  public void retranslateUi(QWidget Form) {
    this.expandButton.connectSlotsByName();
    this.deleteButton.connectSlotsByName();

    this.expandButton.clicked.connect(this, "big()");
    this.deleteButton.clicked.connect(this, "delete()");

    expand = false;

    this.expandButton.raise();
    this.deleteButton.raise();
    holder.lower();

    fNameLabel.setText(
        com.trolltech.qt.core.QCoreApplication.translate("Form", "First name:", null));
    lNameLabel.setText(
        com.trolltech.qt.core.QCoreApplication.translate("Form", "Last name:", null));
    tLatesLabel.setText(
        com.trolltech.qt.core.QCoreApplication.translate("Form", "Total Lates:", null));
    tAbsentLabel.setText(
        com.trolltech.qt.core.QCoreApplication.translate("Form", "Total Absents:", null));
    cStatusLabel.setText(
        com.trolltech.qt.core.QCoreApplication.translate("Form", "Current Status:", null));
    deleteButton.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", " X", null));
    fname.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "TextLabel", null));
    lname.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "TextLabel", null));
    cStatus.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "TextLabel", null));
    lates.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "TextLabel", null));
    absents.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "TextLabel", null));
    expandButton.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "\\/", null));
    timeLabel.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "Timetable:", null));
    idLabel.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "Student ID:", null));
    id.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "TextLabel", null));
    curLoclabel.setText(
        com.trolltech.qt.core.QCoreApplication.translate("Form", "Current location:", null));
    curLocation.setText(
        com.trolltech.qt.core.QCoreApplication.translate("Form", "TextLabel", null));
    curclaslab.setText(
        com.trolltech.qt.core.QCoreApplication.translate("Form", "Current class:", null));
    currClass.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "TextLabel", null));

    entryLabel.setText(
        com.trolltech.qt.core.QCoreApplication.translate("Form", "Entry Time:", null));
    exitLabel.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "Exit Time:", null));
    entryTime.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "Text Label", null));
    exitTime.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "Text Label", null));
    p1.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "TextLabel", null));
    p2.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "TextLabel", null));
    p3.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "TextLabel", null));
    p4.setText(com.trolltech.qt.core.QCoreApplication.translate("Form", "TextLabel", null));
  } // retranslateUi