프로젝트

일반

사용자정보

개정판 1d8db355

ID1d8db35502f78608522a5481ba361dba7f959cfb
상위 896ccfed
하위 790ecb91, bb29c355

함의성이(가) 5년 이상 전에 추가함

issue #000: fix and manual update

Change-Id: I79b0b26668211af733495454b38e445f672ebc59

차이점 보기:

DTI_PID/DTI_PID/MainWindow_UI.py
1 1
# -*- coding: utf-8 -*-
2 2

  
3
# Form implementation generated from reading ui file '.\UI\MainWindow.ui'
3
# Form implementation generated from reading ui file './UI/MainWindow.ui'
4 4
#
5
# Created by: PyQt5 UI code generator 5.13.0
5
# Created by: PyQt5 UI code generator 5.11.3
6 6
#
7 7
# WARNING! All changes made in this file will be lost!
8 8

  
9

  
10 9
from PyQt5 import QtCore, QtGui, QtWidgets
11 10

  
12

  
13 11
class Ui_MainWindow(object):
14 12
    def setupUi(self, MainWindow):
15 13
        MainWindow.setObjectName("MainWindow")
......
609 607
        self.actionSave.setToolTip(_translate("MainWindow", "Save(Ctrl + S)"))
610 608
        self.actionSave.setShortcut(_translate("MainWindow", "Ctrl+S"))
611 609
        self.actionRotate.setText(_translate("MainWindow", "Rotate"))
612
        self.actionRotate.setToolTip(_translate("MainWindow", "Rotate(Ctrl + R)"))
613
        self.actionRotate.setShortcut(_translate("MainWindow", "Ctrl+R"))
610
        self.actionRotate.setToolTip(_translate("MainWindow", "Rotate(R)"))
614 611
        self.actionFindReplaceText.setText(_translate("MainWindow", "Find/Replace"))
615 612
        self.actionFindReplaceText.setToolTip(_translate("MainWindow", "Fine/Replace"))
613
        self.actionFindReplaceText.setShortcut(_translate("MainWindow", "Ctrl+F"))
616 614
        self.actionReplaceText.setText(_translate("MainWindow", "Modify Text"))
617 615
        self.actionOCR_Training.setText(_translate("MainWindow", "OCR Training"))
618 616
        self.actionOCR_Training_Editor.setText(_translate("MainWindow", "OCR Training Editor"))
......
631 629
        self.actionDataTransfer.setToolTip(_translate("MainWindow", "Data Transfer"))
632 630
        self.actionOPCRelation.setText(_translate("MainWindow", "OPCRelation"))
633 631
        self.actionOPCRelation.setToolTip(_translate("MainWindow", "OPC Relation"))
632

  
634 633
import MainWindow_rc
634

  
635
if __name__ == "__main__":
636
    import sys
637
    app = QtWidgets.QApplication(sys.argv)
638
    MainWindow = QtWidgets.QMainWindow()
639
    ui = Ui_MainWindow()
640
    ui.setupUi(MainWindow)
641
    MainWindow.show()
642
    sys.exit(app.exec_())
643

  
DTI_PID/DTI_PID/TextItemEdit_UI.py
23 23
        self.buttonBox.setObjectName("buttonBox")
24 24
        self.gridLayout.addWidget(self.buttonBox, 4, 2, 1, 2)
25 25
        self.pushButtonFindText = QtWidgets.QPushButton(TextItemEditDialog)
26
        self.pushButtonFindText.setDefault(True)
26 27
        self.pushButtonFindText.setObjectName("pushButtonFindText")
27 28
        self.gridLayout.addWidget(self.pushButtonFindText, 1, 3, 1, 1)
28 29
        self.lineEditFindText = QtWidgets.QLineEdit(TextItemEditDialog)
DTI_PID/DTI_PID/UI/MainWindow.ui
934 934
    <string>Rotate</string>
935 935
   </property>
936 936
   <property name="toolTip">
937
    <string>Rotate(Ctrl + R)</string>
938
   </property>
939
   <property name="shortcut">
940
    <string>Ctrl+R</string>
937
    <string>Rotate(R)</string>
941 938
   </property>
942 939
  </action>
943 940
  <action name="actionFindReplaceText">
......
951 948
   <property name="toolTip">
952 949
    <string>Fine/Replace</string>
953 950
   </property>
951
   <property name="shortcut">
952
    <string>Ctrl+F</string>
953
   </property>
954 954
  </action>
955 955
  <action name="actionReplaceText">
956 956
   <property name="text">
DTI_PID/DTI_PID/UI/TextItemEdit.ui
36 36
     <property name="text">
37 37
      <string>→</string>
38 38
     </property>
39
     <property name="default">
40
      <bool>true</bool>
41
     </property>
39 42
    </widget>
40 43
   </item>
41 44
   <item row="1" column="1" colspan="2">

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)