87 lines
4.1 KiB
Python
87 lines
4.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'extract_po_string_diag.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.15.0
|
|
#
|
|
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
|
|
# run again. Do not edit this file unless you know what you are doing.
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
class Ui_Dialog(object):
|
|
def setupUi(self, Dialog):
|
|
Dialog.setObjectName("Dialog")
|
|
Dialog.resize(879, 721)
|
|
self.verticalLayout = QtWidgets.QVBoxLayout(Dialog)
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
self.gridLayout = QtWidgets.QGridLayout()
|
|
self.gridLayout.setObjectName("gridLayout")
|
|
self.label_2 = QtWidgets.QLabel(Dialog)
|
|
self.label_2.setObjectName("label_2")
|
|
self.gridLayout.addWidget(self.label_2, 2, 0, 1, 1)
|
|
self.filenames = QtWidgets.QComboBox(Dialog)
|
|
self.filenames.setObjectName("filenames")
|
|
self.gridLayout.addWidget(self.filenames, 1, 1, 1, 1)
|
|
self.label_4 = QtWidgets.QLabel(Dialog)
|
|
self.label_4.setObjectName("label_4")
|
|
self.gridLayout.addWidget(self.label_4, 0, 0, 1, 1)
|
|
self.replacementsTemplateButton = QtWidgets.QPushButton(Dialog)
|
|
self.replacementsTemplateButton.setObjectName("replacementsTemplateButton")
|
|
self.gridLayout.addWidget(self.replacementsTemplateButton, 4, 1, 1, 1)
|
|
self.label = QtWidgets.QLabel(Dialog)
|
|
self.label.setObjectName("label")
|
|
self.gridLayout.addWidget(self.label, 1, 0, 1, 1)
|
|
self.label_3 = QtWidgets.QLabel(Dialog)
|
|
self.label_3.setObjectName("label_3")
|
|
self.gridLayout.addWidget(self.label_3, 3, 0, 1, 1)
|
|
self.replacements = QtWidgets.QLineEdit(Dialog)
|
|
self.replacements.setObjectName("replacements")
|
|
self.gridLayout.addWidget(self.replacements, 3, 1, 1, 1)
|
|
self.key = QtWidgets.QLineEdit(Dialog)
|
|
self.key.setObjectName("key")
|
|
self.gridLayout.addWidget(self.key, 2, 1, 1, 1)
|
|
self.search = QtWidgets.QLineEdit(Dialog)
|
|
self.search.setObjectName("search")
|
|
self.gridLayout.addWidget(self.search, 0, 1, 1, 1)
|
|
self.verticalLayout.addLayout(self.gridLayout)
|
|
self.label_5 = QtWidgets.QLabel(Dialog)
|
|
self.label_5.setObjectName("label_5")
|
|
self.verticalLayout.addWidget(self.label_5)
|
|
self.searchMatches = QtWidgets.QListWidget(Dialog)
|
|
self.searchMatches.setObjectName("searchMatches")
|
|
self.verticalLayout.addWidget(self.searchMatches)
|
|
self.label_6 = QtWidgets.QLabel(Dialog)
|
|
self.label_6.setObjectName("label_6")
|
|
self.verticalLayout.addWidget(self.label_6)
|
|
self.preview = QtWidgets.QTextEdit(Dialog)
|
|
self.preview.setObjectName("preview")
|
|
self.verticalLayout.addWidget(self.preview)
|
|
self.addButton = QtWidgets.QPushButton(Dialog)
|
|
self.addButton.setObjectName("addButton")
|
|
self.verticalLayout.addWidget(self.addButton)
|
|
|
|
self.retranslateUi(Dialog)
|
|
QtCore.QMetaObject.connectSlotsByName(Dialog)
|
|
Dialog.setTabOrder(self.search, self.filenames)
|
|
Dialog.setTabOrder(self.filenames, self.key)
|
|
Dialog.setTabOrder(self.key, self.replacements)
|
|
Dialog.setTabOrder(self.replacements, self.replacementsTemplateButton)
|
|
Dialog.setTabOrder(self.replacementsTemplateButton, self.searchMatches)
|
|
Dialog.setTabOrder(self.searchMatches, self.preview)
|
|
Dialog.setTabOrder(self.preview, self.addButton)
|
|
|
|
def retranslateUi(self, Dialog):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
Dialog.setWindowTitle(_translate("Dialog", "Dialog"))
|
|
self.label_2.setText(_translate("Dialog", "Fluent key suffix"))
|
|
self.label_4.setText(_translate("Dialog", "Search:"))
|
|
self.replacementsTemplateButton.setText(_translate("Dialog", "Template"))
|
|
self.label.setText(_translate("Dialog", "Target file"))
|
|
self.label_3.setText(_translate("Dialog", "Replacements"))
|
|
self.label_5.setText(_translate("Dialog", "Matches"))
|
|
self.label_6.setText(_translate("Dialog", "Preview"))
|
|
self.addButton.setText(_translate("Dialog", "Add"))
|