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

# Form implementation generated from reading ui file 'Dlg_DownloadDBR.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_DownloadDBR(object):
    def setupUi(self, Dialog_DownloadDBR):
        Dialog_DownloadDBR.setObjectName("Dialog_DownloadDBR")
        Dialog_DownloadDBR.resize(401, 518)
        self.layoutWidget = QtWidgets.QWidget(Dialog_DownloadDBR)
        self.layoutWidget.setGeometry(QtCore.QRect(90, 430, 281, 26))
        self.layoutWidget.setObjectName("layoutWidget")
        self.gridLayout_2 = QtWidgets.QGridLayout(self.layoutWidget)
        self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.outPath = QtWidgets.QLineEdit(self.layoutWidget)
        self.outPath.setReadOnly(True)
        self.outPath.setObjectName("outPath")
        self.gridLayout_2.addWidget(self.outPath, 0, 0, 1, 1)
        self.btn_browse = QtWidgets.QPushButton(self.layoutWidget)
        self.btn_browse.setObjectName("btn_browse")
        self.gridLayout_2.addWidget(self.btn_browse, 0, 1, 1, 1)
        self.horizontalLayoutWidget = QtWidgets.QWidget(Dialog_DownloadDBR)
        self.horizontalLayoutWidget.setGeometry(QtCore.QRect(90, 31, 281, 31))
        self.horizontalLayoutWidget.setObjectName("horizontalLayoutWidget")
        self.horizontalLayout = QtWidgets.QHBoxLayout(self.horizontalLayoutWidget)
        self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.btn_checkcon = QtWidgets.QPushButton(self.horizontalLayoutWidget)
        self.btn_checkcon.setObjectName("btn_checkcon")
        self.horizontalLayout.addWidget(self.btn_checkcon)
        self.btn_start = QtWidgets.QPushButton(self.horizontalLayoutWidget)
        self.btn_start.setObjectName("btn_start")
        self.horizontalLayout.addWidget(self.btn_start)
        self.btn_stop = QtWidgets.QPushButton(self.horizontalLayoutWidget)
        self.btn_stop.setObjectName("btn_stop")
        self.horizontalLayout.addWidget(self.btn_stop)
        self.lbl_database1 = QtWidgets.QLabel(Dialog_DownloadDBR)
        self.lbl_database1.setGeometry(QtCore.QRect(20, 35, 62, 24))
        self.lbl_database1.setObjectName("lbl_database1")
        self.lbl_database_2 = QtWidgets.QLabel(Dialog_DownloadDBR)
        self.lbl_database_2.setGeometry(QtCore.QRect(20, 88, 62, 24))
        self.lbl_database_2.setObjectName("lbl_database_2")
        self.lbl_database_3 = QtWidgets.QLabel(Dialog_DownloadDBR)
        self.lbl_database_3.setGeometry(QtCore.QRect(21, 138, 62, 24))
        self.lbl_database_3.setObjectName("lbl_database_3")
        self.lbl_database_4 = QtWidgets.QLabel(Dialog_DownloadDBR)
        self.lbl_database_4.setGeometry(QtCore.QRect(21, 179, 62, 24))
        self.lbl_database_4.setObjectName("lbl_database_4")
        self.lbl_database_5 = QtWidgets.QLabel(Dialog_DownloadDBR)
        self.lbl_database_5.setGeometry(QtCore.QRect(21, 219, 62, 24))
        self.lbl_database_5.setObjectName("lbl_database_5")
        self.lbl_database_6 = QtWidgets.QLabel(Dialog_DownloadDBR)
        self.lbl_database_6.setGeometry(QtCore.QRect(21, 259, 62, 24))
        self.lbl_database_6.setObjectName("lbl_database_6")
        self.lbl_database_7 = QtWidgets.QLabel(Dialog_DownloadDBR)
        self.lbl_database_7.setGeometry(QtCore.QRect(21, 301, 60, 20))
        self.lbl_database_7.setObjectName("lbl_database_7")
        self.lbl_database_8 = QtWidgets.QLabel(Dialog_DownloadDBR)
        self.lbl_database_8.setGeometry(QtCore.QRect(21, 341, 60, 20))
        self.lbl_database_8.setObjectName("lbl_database_8")
        self.lbl_database_9 = QtWidgets.QLabel(Dialog_DownloadDBR)
        self.lbl_database_9.setGeometry(QtCore.QRect(20, 389, 60, 20))
        self.lbl_database_9.setObjectName("lbl_database_9")
        self.lbl_database_10 = QtWidgets.QLabel(Dialog_DownloadDBR)
        self.lbl_database_10.setGeometry(QtCore.QRect(21, 433, 60, 20))
        self.lbl_database_10.setObjectName("lbl_database_10")
        self.inHost = QtWidgets.QComboBox(Dialog_DownloadDBR)
        self.inHost.setGeometry(QtCore.QRect(90, 90, 279, 22))
        self.inHost.setObjectName("inHost")
        self.inUsername = QtWidgets.QLineEdit(Dialog_DownloadDBR)
        self.inUsername.setGeometry(QtCore.QRect(90, 180, 279, 22))
        self.inUsername.setObjectName("inUsername")
        self.inPort = QtWidgets.QLineEdit(Dialog_DownloadDBR)
        self.inPort.setGeometry(QtCore.QRect(90, 140, 279, 22))
        self.inPort.setObjectName("inPort")
        self.inPassword = QtWidgets.QLineEdit(Dialog_DownloadDBR)
        self.inPassword.setGeometry(QtCore.QRect(90, 220, 279, 22))
        self.inPassword.setEchoMode(QtWidgets.QLineEdit.Password)
        self.inPassword.setObjectName("inPassword")
        self.inProvince = QtWidgets.QComboBox(Dialog_DownloadDBR)
        self.inProvince.setGeometry(QtCore.QRect(90, 260, 279, 22))
        self.inProvince.setObjectName("inProvince")
        self.inDistrict = QtWidgets.QComboBox(Dialog_DownloadDBR)
        self.inDistrict.setGeometry(QtCore.QRect(90, 300, 279, 22))
        self.inDistrict.setObjectName("inDistrict")
        self.inCommune = QtWidgets.QComboBox(Dialog_DownloadDBR)
        self.inCommune.setGeometry(QtCore.QRect(90, 340, 279, 22))
        self.inCommune.setObjectName("inCommune")
        self.outProjection = QgsProjectionSelectionWidget(Dialog_DownloadDBR)
        self.outProjection.setEnabled(True)
        self.outProjection.setGeometry(QtCore.QRect(90, 390, 281, 20))
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.outProjection.sizePolicy().hasHeightForWidth())
        self.outProjection.setSizePolicy(sizePolicy)
        self.outProjection.setFocusPolicy(QtCore.Qt.StrongFocus)
        self.outProjection.setAcceptDrops(True)
        self.outProjection.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.outProjection.setObjectName("outProjection")
        self.btn_download = QtWidgets.QPushButton(Dialog_DownloadDBR)
        self.btn_download.setGeometry(QtCore.QRect(295, 470, 75, 24))
        self.btn_download.setObjectName("btn_download")
        self.btn_cancel = QtWidgets.QPushButton(Dialog_DownloadDBR)
        self.btn_cancel.setGeometry(QtCore.QRect(210, 470, 75, 24))
        self.btn_cancel.setObjectName("btn_cancel")

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

    def retranslateUi(self, Dialog_DownloadDBR):
        _translate = QtCore.QCoreApplication.translate
        Dialog_DownloadDBR.setWindowTitle(_translate("Dialog_DownloadDBR", "Q5PFES - Download bản đồ DBR"))
        self.btn_browse.setText(_translate("Dialog_DownloadDBR", "Browse"))
        self.btn_checkcon.setText(_translate("Dialog_DownloadDBR", "KIỂM TRA"))
        self.btn_start.setText(_translate("Dialog_DownloadDBR", "KHỞI ĐỘNG"))
        self.btn_stop.setText(_translate("Dialog_DownloadDBR", "DỪNG"))
        self.lbl_database1.setText(_translate("Dialog_DownloadDBR", "Kết nối"))
        self.lbl_database_2.setText(_translate("Dialog_DownloadDBR", "Máy chủ"))
        self.lbl_database_3.setText(_translate("Dialog_DownloadDBR", "Cổng"))
        self.lbl_database_4.setText(_translate("Dialog_DownloadDBR", "Tài khoản"))
        self.lbl_database_5.setText(_translate("Dialog_DownloadDBR", "Mật khẩu"))
        self.lbl_database_6.setText(_translate("Dialog_DownloadDBR", "Tỉnh"))
        self.lbl_database_7.setText(_translate("Dialog_DownloadDBR", "Huyện"))
        self.lbl_database_8.setText(_translate("Dialog_DownloadDBR", "Xã"))
        self.lbl_database_9.setText(_translate("Dialog_DownloadDBR", "Hệ tọa độ"))
        self.lbl_database_10.setText(_translate("Dialog_DownloadDBR", "Lưu thành"))
        self.btn_download.setText(_translate("Dialog_DownloadDBR", "Download"))
        self.btn_cancel.setText(_translate("Dialog_DownloadDBR", "Cancel"))
from qgsprojectionselectionwidget import QgsProjectionSelectionWidget


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    Dialog_DownloadDBR = QtWidgets.QDialog()
    ui = Ui_Dialog_DownloadDBR()
    ui.setupUi(Dialog_DownloadDBR)
    Dialog_DownloadDBR.show()
    sys.exit(app.exec_())
