개정판 434edcb3
issue #000: add short cut zoom(z), textocr(t), validation(v), lineplace(l), recognition dialog(ctrl+r)
Change-Id: I29003925c5e0213dc5f5cdb74c9259dc2cd16bde
DTI_PID/DTI_PID/MainWindow_UI.py | ||
---|---|---|
162 | 162 |
spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) |
163 | 163 |
self.horizontalLayout_5.addItem(spacerItem1) |
164 | 164 |
self.pushButtonClearLog = QtWidgets.QPushButton(self.tabTerminal) |
165 |
self.pushButtonClearLog.setEnabled(False)
|
|
165 |
self.pushButtonClearLog.setEnabled(True)
|
|
166 | 166 |
self.pushButtonClearLog.setMaximumSize(QtCore.QSize(32, 16777215)) |
167 | 167 |
self.pushButtonClearLog.setObjectName("pushButtonClearLog") |
168 | 168 |
self.horizontalLayout_5.addWidget(self.pushButtonClearLog, 0, QtCore.Qt.AlignRight) |
... | ... | |
519 | 519 |
self.actionOpen.setShortcut(_translate("MainWindow", "Ctrl+O")) |
520 | 520 |
self.actionClose.setText(_translate("MainWindow", "Exit")) |
521 | 521 |
self.actionRecognition.setText(_translate("MainWindow", "Recognize Eng. Info.")) |
522 |
self.actionRecognition.setToolTip(_translate("MainWindow", "Recognize Eng. Info.")) |
|
522 |
self.actionRecognition.setToolTip(_translate("MainWindow", "Recognize Eng. Info.(Ctrl + R)")) |
|
523 |
self.actionRecognition.setShortcut(_translate("MainWindow", "Ctrl+R")) |
|
523 | 524 |
self.actionLine.setText(_translate("MainWindow", "Create Line")) |
524 |
self.actionLine.setToolTip(_translate("MainWindow", "Create Line")) |
|
525 |
self.actionLine.setToolTip(_translate("MainWindow", "Create Line(L)")) |
|
526 |
self.actionLine.setShortcut(_translate("MainWindow", "L")) |
|
525 | 527 |
self.actionValidate.setText(_translate("MainWindow", "Validate")) |
526 |
self.actionValidate.setToolTip(_translate("MainWindow", "Validate")) |
|
528 |
self.actionValidate.setToolTip(_translate("MainWindow", "Validate(V)")) |
|
529 |
self.actionValidate.setShortcut(_translate("MainWindow", "V")) |
|
527 | 530 |
self.actionConfiguration.setText(_translate("MainWindow", "Configuration")) |
528 | 531 |
self.actionArea.setText(_translate("MainWindow", "Setup Area")) |
529 | 532 |
self.actionOCR.setText(_translate("MainWindow", "OCR")) |
530 |
self.actionOCR.setToolTip(_translate("MainWindow", "OCR")) |
|
533 |
self.actionOCR.setToolTip(_translate("MainWindow", "OCR(T)")) |
|
534 |
self.actionOCR.setShortcut(_translate("MainWindow", "T")) |
|
531 | 535 |
self.actionLineRecognition.setText(_translate("MainWindow", "Link Attribute")) |
532 | 536 |
self.actionLineRecognition.setToolTip(_translate("MainWindow", "Link Attribute")) |
533 | 537 |
self.actionGenerateOutput.setText(_translate("MainWindow", "Convert")) |
... | ... | |
537 | 541 |
self.actionInitialize.setText(_translate("MainWindow", "Initialize")) |
538 | 542 |
self.actionImage_Drawing.setText(_translate("MainWindow", "Image Drawing (1)")) |
539 | 543 |
self.actionZoom.setText(_translate("MainWindow", "Zoom")) |
540 |
self.actionZoom.setToolTip(_translate("MainWindow", "Zoom")) |
|
544 |
self.actionZoom.setToolTip(_translate("MainWindow", "Zoom(Z)")) |
|
545 |
self.actionZoom.setShortcut(_translate("MainWindow", "Z")) |
|
541 | 546 |
self.actionFitWindow.setText(_translate("MainWindow", "FitWindow")) |
542 | 547 |
self.actionViewSymbol.setText(_translate("MainWindow", "Symbol (3)")) |
543 | 548 |
self.actionViewText.setText(_translate("MainWindow", "Text (2)")) |
DTI_PID/DTI_PID/UI/MainWindow.ui | ||
---|---|---|
477 | 477 |
<string>Recognize Eng. Info.</string> |
478 | 478 |
</property> |
479 | 479 |
<property name="toolTip"> |
480 |
<string>Recognize Eng. Info.</string> |
|
480 |
<string>Recognize Eng. Info.(Ctrl + R)</string>
|
|
481 | 481 |
</property> |
482 | 482 |
<property name="font"> |
483 | 483 |
<font> |
... | ... | |
486 | 486 |
<bold>true</bold> |
487 | 487 |
</font> |
488 | 488 |
</property> |
489 |
<property name="shortcut"> |
|
490 |
<string>Ctrl+R</string> |
|
491 |
</property> |
|
489 | 492 |
</action> |
490 | 493 |
<action name="actionLine"> |
491 | 494 |
<property name="checkable"> |
... | ... | |
499 | 502 |
<string>Create Line</string> |
500 | 503 |
</property> |
501 | 504 |
<property name="toolTip"> |
502 |
<string>Create Line</string> |
|
505 |
<string>Create Line(L)</string>
|
|
503 | 506 |
</property> |
504 | 507 |
<property name="font"> |
505 | 508 |
<font> |
... | ... | |
508 | 511 |
<bold>true</bold> |
509 | 512 |
</font> |
510 | 513 |
</property> |
514 |
<property name="shortcut"> |
|
515 |
<string>L</string> |
|
516 |
</property> |
|
511 | 517 |
</action> |
512 | 518 |
<action name="actionValidate"> |
513 | 519 |
<property name="icon"> |
... | ... | |
518 | 524 |
<string>Validate</string> |
519 | 525 |
</property> |
520 | 526 |
<property name="toolTip"> |
521 |
<string>Validate</string> |
|
527 |
<string>Validate(V)</string>
|
|
522 | 528 |
</property> |
523 | 529 |
<property name="font"> |
524 | 530 |
<font> |
... | ... | |
527 | 533 |
<bold>true</bold> |
528 | 534 |
</font> |
529 | 535 |
</property> |
536 |
<property name="shortcut"> |
|
537 |
<string>V</string> |
|
538 |
</property> |
|
530 | 539 |
</action> |
531 | 540 |
<action name="actionConfiguration"> |
532 | 541 |
<property name="icon"> |
... | ... | |
572 | 581 |
<string>OCR</string> |
573 | 582 |
</property> |
574 | 583 |
<property name="toolTip"> |
575 |
<string>OCR</string> |
|
584 |
<string>OCR(T)</string>
|
|
576 | 585 |
</property> |
577 | 586 |
<property name="font"> |
578 | 587 |
<font> |
... | ... | |
581 | 590 |
<bold>true</bold> |
582 | 591 |
</font> |
583 | 592 |
</property> |
593 |
<property name="shortcut"> |
|
594 |
<string>T</string> |
|
595 |
</property> |
|
584 | 596 |
</action> |
585 | 597 |
<action name="actionLineRecognition"> |
586 | 598 |
<property name="icon"> |
... | ... | |
695 | 707 |
<string>Zoom</string> |
696 | 708 |
</property> |
697 | 709 |
<property name="toolTip"> |
698 |
<string>Zoom</string> |
|
710 |
<string>Zoom(Z)</string>
|
|
699 | 711 |
</property> |
700 | 712 |
<property name="font"> |
701 | 713 |
<font> |
... | ... | |
704 | 716 |
<bold>true</bold> |
705 | 717 |
</font> |
706 | 718 |
</property> |
719 |
<property name="shortcut"> |
|
720 |
<string>Z</string> |
|
721 |
</property> |
|
707 | 722 |
</action> |
708 | 723 |
<action name="actionFitWindow"> |
709 | 724 |
<property name="icon"> |
내보내기 Unified diff