# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'DataSetFormatDialog.ui'
#
# Created by: PyQt5 UI code generator 5.11.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_DataSetFormatDialog(object):
    def setupUi(self, DataSetFormatDialog):
        DataSetFormatDialog.setObjectName("DataSetFormatDialog")
        DataSetFormatDialog.resize(351, 451)
        self.verticalLayout = QtWidgets.QVBoxLayout(DataSetFormatDialog)
        self.verticalLayout.setContentsMargins(11, 11, 11, 11)
        self.verticalLayout.setSpacing(6)
        self.verticalLayout.setObjectName("verticalLayout")
        self.widget_outpath = BrowseFilePath(DataSetFormatDialog)
        self.widget_outpath.setObjectName("widget_outpath")
        self.verticalLayout.addWidget(self.widget_outpath)
        self.unify_categories = QtWidgets.QCheckBox(DataSetFormatDialog)
        self.unify_categories.setObjectName("unify_categories")
        self.verticalLayout.addWidget(self.unify_categories)
        self.debug_mode = QtWidgets.QCheckBox(DataSetFormatDialog)
        self.debug_mode.setObjectName("debug_mode")
        self.verticalLayout.addWidget(self.debug_mode)
        self.groupBox_2 = QtWidgets.QGroupBox(DataSetFormatDialog)
        self.groupBox_2.setObjectName("groupBox_2")
        self.gridLayout = QtWidgets.QGridLayout(self.groupBox_2)
        self.gridLayout.setContentsMargins(11, 11, 11, 11)
        self.gridLayout.setSpacing(6)
        self.gridLayout.setObjectName("gridLayout")
        self.slider_train = SliderAndSpinBoxWidget(self.groupBox_2)
        self.slider_train.setObjectName("slider_train")
        self.gridLayout.addWidget(self.slider_train, 0, 0, 1, 1)
        self.slider_minival = SliderAndSpinBoxWidget(self.groupBox_2)
        self.slider_minival.setObjectName("slider_minival")
        self.gridLayout.addWidget(self.slider_minival, 1, 0, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.widget_2 = QtWidgets.QWidget(DataSetFormatDialog)
        self.widget_2.setObjectName("widget_2")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.widget_2)
        self.horizontalLayout_3.setContentsMargins(11, 11, 11, 11)
        self.horizontalLayout_3.setSpacing(6)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.image_w = QtWidgets.QLabel(self.widget_2)
        self.image_w.setObjectName("image_w")
        self.horizontalLayout_3.addWidget(self.image_w)
        self.image_size_w = QtWidgets.QLineEdit(self.widget_2)
        self.image_size_w.setReadOnly(True)
        self.image_size_w.setObjectName("image_size_w")
        self.horizontalLayout_3.addWidget(self.image_size_w)
        self.image_h = QtWidgets.QLabel(self.widget_2)
        self.image_h.setObjectName("image_h")
        self.horizontalLayout_3.addWidget(self.image_h)
        self.image_size_h = QtWidgets.QLineEdit(self.widget_2)
        self.image_size_h.setReadOnly(True)
        self.image_size_h.setObjectName("image_size_h")
        self.horizontalLayout_3.addWidget(self.image_size_h)
        self.verticalLayout.addWidget(self.widget_2)
        self.widget_3 = QtWidgets.QWidget(DataSetFormatDialog)
        self.widget_3.setObjectName("widget_3")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.widget_3)
        self.horizontalLayout_2.setContentsMargins(11, 11, 11, 11)
        self.horizontalLayout_2.setSpacing(6)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label_7 = QtWidgets.QLabel(self.widget_3)
        self.label_7.setObjectName("label_7")
        self.horizontalLayout_2.addWidget(self.label_7)
        self.color_b = QtWidgets.QSpinBox(self.widget_3)
        self.color_b.setMaximum(255)
        self.color_b.setProperty("value", 0)
        self.color_b.setObjectName("color_b")
        self.horizontalLayout_2.addWidget(self.color_b)
        self.label_8 = QtWidgets.QLabel(self.widget_3)
        self.label_8.setObjectName("label_8")
        self.horizontalLayout_2.addWidget(self.label_8)
        self.color_g = QtWidgets.QSpinBox(self.widget_3)
        self.color_g.setMaximum(255)
        self.color_g.setProperty("value", 0)
        self.color_g.setObjectName("color_g")
        self.horizontalLayout_2.addWidget(self.color_g)
        self.label_9 = QtWidgets.QLabel(self.widget_3)
        self.label_9.setObjectName("label_9")
        self.horizontalLayout_2.addWidget(self.label_9)
        self.color_r = QtWidgets.QSpinBox(self.widget_3)
        self.color_r.setMaximum(255)
        self.color_r.setProperty("value", 0)
        self.color_r.setObjectName("color_r")
        self.horizontalLayout_2.addWidget(self.color_r)
        spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
        self.horizontalLayout_2.addItem(spacerItem)
        self.verticalLayout.addWidget(self.widget_3)
        self.groupBox_4 = QtWidgets.QGroupBox(DataSetFormatDialog)
        self.groupBox_4.setObjectName("groupBox_4")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.groupBox_4)
        self.gridLayout_2.setContentsMargins(11, 11, 11, 11)
        self.gridLayout_2.setSpacing(6)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.mask_separation_linewidth = QtWidgets.QSpinBox(self.groupBox_4)
        self.mask_separation_linewidth.setProperty("value", 3)
        self.mask_separation_linewidth.setObjectName("mask_separation_linewidth")
        self.gridLayout_2.addWidget(self.mask_separation_linewidth, 0, 1, 1, 1)
        self.cityscapes_hierarchy_format = QtWidgets.QCheckBox(self.groupBox_4)
        self.cityscapes_hierarchy_format.setObjectName("cityscapes_hierarchy_format")
        self.gridLayout_2.addWidget(self.cityscapes_hierarchy_format, 1, 0, 1, 2)
        self.label_5 = QtWidgets.QLabel(self.groupBox_4)
        self.label_5.setObjectName("label_5")
        self.gridLayout_2.addWidget(self.label_5, 0, 0, 1, 1)
        self.verticalLayout.addWidget(self.groupBox_4)
        self.widget = QtWidgets.QWidget(DataSetFormatDialog)
        self.widget.setObjectName("widget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.widget)
        self.horizontalLayout.setContentsMargins(11, 11, 11, 11)
        self.horizontalLayout.setSpacing(6)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.generate_voc = QtWidgets.QCheckBox(self.widget)
        self.generate_voc.setChecked(True)
        self.generate_voc.setObjectName("generate_voc")
        self.horizontalLayout.addWidget(self.generate_voc)
        self.generate_coco = QtWidgets.QCheckBox(self.widget)
        self.generate_coco.setObjectName("generate_coco")
        self.horizontalLayout.addWidget(self.generate_coco)
        self.generate_cityscapes = QtWidgets.QCheckBox(self.widget)
        self.generate_cityscapes.setObjectName("generate_cityscapes")
        self.horizontalLayout.addWidget(self.generate_cityscapes)
        self.verticalLayout.addWidget(self.widget)
        self.start_format_dataset = QtWidgets.QPushButton(DataSetFormatDialog)
        self.start_format_dataset.setObjectName("start_format_dataset")
        self.verticalLayout.addWidget(self.start_format_dataset)
        spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
        self.verticalLayout.addItem(spacerItem1)

        self.retranslateUi(DataSetFormatDialog)
        QtCore.QMetaObject.connectSlotsByName(DataSetFormatDialog)

    def retranslateUi(self, DataSetFormatDialog):
        _translate = QtCore.QCoreApplication.translate
        DataSetFormatDialog.setWindowTitle(_translate("DataSetFormatDialog", "Data Format"))
        self.unify_categories.setText(_translate("DataSetFormatDialog", "unify categories"))
        self.debug_mode.setText(_translate("DataSetFormatDialog", "debug mode"))
        self.groupBox_2.setTitle(_translate("DataSetFormatDialog", "Train Setting"))
        self.image_w.setText(_translate("DataSetFormatDialog", "COCO_width"))
        self.image_h.setText(_translate("DataSetFormatDialog", "COCO_height"))
        self.label_7.setText(_translate("DataSetFormatDialog", "B"))
        self.label_8.setText(_translate("DataSetFormatDialog", "G"))
        self.label_9.setText(_translate("DataSetFormatDialog", "R"))
        self.groupBox_4.setTitle(_translate("DataSetFormatDialog", "mask"))
        self.cityscapes_hierarchy_format.setText(_translate("DataSetFormatDialog", "contours + hierarchy format for cityscape"))
        self.label_5.setText(_translate("DataSetFormatDialog", "separation linewidth"))
        self.generate_voc.setText(_translate("DataSetFormatDialog", "VOC"))
        self.generate_coco.setText(_translate("DataSetFormatDialog", "COCO"))
        self.generate_cityscapes.setText(_translate("DataSetFormatDialog", "Cityscapes"))
        self.start_format_dataset.setText(_translate("DataSetFormatDialog", "Start Format DataSet"))

from ui.BrowseFilePath import BrowseFilePath
from ui.SliderAndSpinBoxWidget import SliderAndSpinBoxWidget
