# -*- coding: utf-8 -*- # Form implementation generated from reading ui file '/home/super/PycharmProjects/ISAT_with_segment_anything/ui/ISAT_to_LABELME_dialog.ui' # # Created by: PyQt5 UI code generator 5.15.7 # # 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(600, 251) font = QtGui.QFont() font.setFamily("Times New Roman") font.setPointSize(12) Dialog.setFont(font) self.verticalLayout = QtWidgets.QVBoxLayout(Dialog) self.verticalLayout.setObjectName("verticalLayout") self.widget = QtWidgets.QWidget(Dialog) self.widget.setObjectName("widget") self.horizontalLayout = QtWidgets.QHBoxLayout(self.widget) self.horizontalLayout.setContentsMargins(0, 0, 0, 0) self.horizontalLayout.setObjectName("horizontalLayout") self.lineEdit_fromroot = QtWidgets.QLineEdit(self.widget) self.lineEdit_fromroot.setText("") self.lineEdit_fromroot.setObjectName("lineEdit_fromroot") self.horizontalLayout.addWidget(self.lineEdit_fromroot) self.pushButton_fromroot = QtWidgets.QPushButton(self.widget) self.pushButton_fromroot.setMinimumSize(QtCore.QSize(100, 0)) self.pushButton_fromroot.setObjectName("pushButton_fromroot") self.horizontalLayout.addWidget(self.pushButton_fromroot) self.verticalLayout.addWidget(self.widget) self.widget_2 = QtWidgets.QWidget(Dialog) self.widget_2.setObjectName("widget_2") self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.widget_2) self.horizontalLayout_2.setContentsMargins(0, 0, 0, 0) self.horizontalLayout_2.setObjectName("horizontalLayout_2") self.lineEdit_toroot = QtWidgets.QLineEdit(self.widget_2) self.lineEdit_toroot.setObjectName("lineEdit_toroot") self.horizontalLayout_2.addWidget(self.lineEdit_toroot) self.pushButton_toroot = QtWidgets.QPushButton(self.widget_2) self.pushButton_toroot.setMinimumSize(QtCore.QSize(100, 0)) self.pushButton_toroot.setObjectName("pushButton_toroot") self.horizontalLayout_2.addWidget(self.pushButton_toroot) self.verticalLayout.addWidget(self.widget_2) self.widget_3 = QtWidgets.QWidget(Dialog) self.widget_3.setObjectName("widget_3") self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.widget_3) self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0) self.horizontalLayout_3.setObjectName("horizontalLayout_3") spacerItem = QtWidgets.QSpacerItem(469, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_3.addItem(spacerItem) self.checkBox_keepcrowd = QtWidgets.QCheckBox(self.widget_3) self.checkBox_keepcrowd.setObjectName("checkBox_keepcrowd") self.horizontalLayout_3.addWidget(self.checkBox_keepcrowd) self.verticalLayout.addWidget(self.widget_3) self.textBrowser = QtWidgets.QTextBrowser(Dialog) font = QtGui.QFont() font.setFamily("宋体") self.textBrowser.setFont(font) self.textBrowser.setObjectName("textBrowser") self.verticalLayout.addWidget(self.textBrowser) self.progressBar = QtWidgets.QProgressBar(Dialog) self.progressBar.setProperty("value", 24) self.progressBar.setObjectName("progressBar") self.verticalLayout.addWidget(self.progressBar) self.widget_4 = QtWidgets.QWidget(Dialog) self.widget_4.setObjectName("widget_4") self.horizontalLayout_4 = QtWidgets.QHBoxLayout(self.widget_4) self.horizontalLayout_4.setContentsMargins(0, 0, 0, 0) self.horizontalLayout_4.setObjectName("horizontalLayout_4") self.label = QtWidgets.QLabel(self.widget_4) font = QtGui.QFont() font.setPointSize(12) self.label.setFont(font) self.label.setStyleSheet("color: rgb(255, 0, 0);") self.label.setObjectName("label") self.horizontalLayout_4.addWidget(self.label) spacerItem1 = QtWidgets.QSpacerItem(191, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum) self.horizontalLayout_4.addItem(spacerItem1) self.pushButton_cancel = QtWidgets.QPushButton(self.widget_4) self.pushButton_cancel.setObjectName("pushButton_cancel") self.horizontalLayout_4.addWidget(self.pushButton_cancel) self.pushButton_apply = QtWidgets.QPushButton(self.widget_4) self.pushButton_apply.setObjectName("pushButton_apply") self.horizontalLayout_4.addWidget(self.pushButton_apply) self.verticalLayout.addWidget(self.widget_4) self.retranslateUi(Dialog) QtCore.QMetaObject.connectSlotsByName(Dialog) def retranslateUi(self, Dialog): _translate = QtCore.QCoreApplication.translate Dialog.setWindowTitle(_translate("Dialog", "ISAT to LabelMe")) self.lineEdit_fromroot.setPlaceholderText(_translate("Dialog", "ISAT jsons root")) self.pushButton_fromroot.setText(_translate("Dialog", "Jsons root")) self.lineEdit_toroot.setPlaceholderText(_translate("Dialog", "LabelMe jsons save root")) self.pushButton_toroot.setText(_translate("Dialog", "Save root")) self.checkBox_keepcrowd.setText(_translate("Dialog", "Keep crowd")) self.label.setText(_translate("Dialog", "Convert ISAT annotations to LabelMe json.")) self.pushButton_cancel.setText(_translate("Dialog", "cancel")) self.pushButton_apply.setText(_translate("Dialog", "convert"))