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

# Form implementation generated from reading ui file 'ui\mainwindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(861, 734)
        self.centralwidget = QtWidgets.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.pushButton_download_from_orthanc_to_drive = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_download_from_orthanc_to_drive.setGeometry(QtCore.QRect(270, 570, 231, 23))
        self.pushButton_download_from_orthanc_to_drive.setObjectName("pushButton_download_from_orthanc_to_drive")
        self.label = QtWidgets.QLabel(self.centralwidget)
        self.label.setGeometry(QtCore.QRect(40, 10, 541, 31))
        font = QtGui.QFont()
        font.setPointSize(14)
        self.label.setFont(font)
        self.label.setObjectName("label")
        self.lineEdit_absolute_download_dir_path = QtWidgets.QLineEdit(self.centralwidget)
        self.lineEdit_absolute_download_dir_path.setGeometry(QtCore.QRect(40, 530, 741, 20))
        self.lineEdit_absolute_download_dir_path.setObjectName("lineEdit_absolute_download_dir_path")
        self.pushButton_select_download_dir = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_select_download_dir.setGeometry(QtCore.QRect(40, 500, 151, 23))
        self.pushButton_select_download_dir.setObjectName("pushButton_select_download_dir")
        self.tabWidget = QtWidgets.QTabWidget(self.centralwidget)
        self.tabWidget.setGeometry(QtCore.QRect(40, 110, 781, 281))
        self.tabWidget.setObjectName("tabWidget")
        self.tab = QtWidgets.QWidget()
        self.tab.setObjectName("tab")
        self.label_3 = QtWidgets.QLabel(self.tab)
        self.label_3.setGeometry(QtCore.QRect(10, 70, 541, 16))
        self.label_3.setObjectName("label_3")
        self.pushButton_select_excel_file = QtWidgets.QPushButton(self.tab)
        self.pushButton_select_excel_file.setGeometry(QtCore.QRect(150, 10, 75, 23))
        self.pushButton_select_excel_file.setObjectName("pushButton_select_excel_file")
        self.lineEdit_excel_absolute_file_path = QtWidgets.QLineEdit(self.tab)
        self.lineEdit_excel_absolute_file_path.setGeometry(QtCore.QRect(10, 40, 741, 20))
        self.lineEdit_excel_absolute_file_path.setObjectName("lineEdit_excel_absolute_file_path")
        self.label_2 = QtWidgets.QLabel(self.tab)
        self.label_2.setGeometry(QtCore.QRect(10, 10, 241, 16))
        self.label_2.setObjectName("label_2")
        self.pushButton_load_into_orthanc_by_excel = QtWidgets.QPushButton(self.tab)
        self.pushButton_load_into_orthanc_by_excel.setGeometry(QtCore.QRect(210, 220, 231, 23))
        self.pushButton_load_into_orthanc_by_excel.setObjectName("pushButton_load_into_orthanc_by_excel")
        self.tabWidget.addTab(self.tab, "")
        self.tab_2 = QtWidgets.QWidget()
        self.tab_2.setObjectName("tab_2")
        self.pushButton_getwebsitetoenter = QtWidgets.QPushButton(self.tab_2)
        self.pushButton_getwebsitetoenter.setGeometry(QtCore.QRect(240, 50, 171, 23))
        self.pushButton_getwebsitetoenter.setObjectName("pushButton_getwebsitetoenter")
        self.tabWidget.addTab(self.tab_2, "")
        self.tab_3 = QtWidgets.QWidget()
        self.tab_3.setObjectName("tab_3")
        self.groupBox = QtWidgets.QGroupBox(self.tab_3)
        self.groupBox.setGeometry(QtCore.QRect(20, 10, 651, 211))
        self.groupBox.setObjectName("groupBox")
        self.lineEdit_ncn_givenname = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_ncn_givenname.setGeometry(QtCore.QRect(150, 100, 113, 20))
        self.lineEdit_ncn_givenname.setObjectName("lineEdit_ncn_givenname")
        self.label_6 = QtWidgets.QLabel(self.groupBox)
        self.label_6.setGeometry(QtCore.QRect(76, 100, 61, 20))
        self.label_6.setObjectName("label_6")
        self.lineEdit_ncn_studydateto = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_ncn_studydateto.setGeometry(QtCore.QRect(290, 160, 113, 20))
        self.lineEdit_ncn_studydateto.setObjectName("lineEdit_ncn_studydateto")
        self.label_10 = QtWidgets.QLabel(self.groupBox)
        self.label_10.setGeometry(QtCore.QRect(270, 130, 47, 13))
        self.label_10.setObjectName("label_10")
        self.label_4 = QtWidgets.QLabel(self.groupBox)
        self.label_4.setGeometry(QtCore.QRect(90, 40, 47, 13))
        self.label_4.setObjectName("label_4")
        self.label_8 = QtWidgets.QLabel(self.groupBox)
        self.label_8.setGeometry(QtCore.QRect(50, 160, 81, 20))
        self.label_8.setObjectName("label_8")
        self.lineEdit_ncn_familyname = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_ncn_familyname.setGeometry(QtCore.QRect(150, 70, 113, 20))
        self.lineEdit_ncn_familyname.setObjectName("lineEdit_ncn_familyname")
        self.lineEdit_ncn_studydatefrom = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_ncn_studydatefrom.setGeometry(QtCore.QRect(150, 160, 113, 20))
        self.lineEdit_ncn_studydatefrom.setObjectName("lineEdit_ncn_studydatefrom")
        self.lineEdit_ncn_birthdatefrom = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_ncn_birthdatefrom.setGeometry(QtCore.QRect(150, 130, 113, 20))
        self.lineEdit_ncn_birthdatefrom.setObjectName("lineEdit_ncn_birthdatefrom")
        self.label_5 = QtWidgets.QLabel(self.groupBox)
        self.label_5.setGeometry(QtCore.QRect(76, 70, 61, 20))
        self.label_5.setObjectName("label_5")
        self.lineEdit_ncn_patientid = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_ncn_patientid.setGeometry(QtCore.QRect(150, 40, 113, 20))
        self.lineEdit_ncn_patientid.setObjectName("lineEdit_ncn_patientid")
        self.lineEdit_ncn_birthdateto = QtWidgets.QLineEdit(self.groupBox)
        self.lineEdit_ncn_birthdateto.setGeometry(QtCore.QRect(290, 130, 113, 20))
        self.lineEdit_ncn_birthdateto.setObjectName("lineEdit_ncn_birthdateto")
        self.label_7 = QtWidgets.QLabel(self.groupBox)
        self.label_7.setGeometry(QtCore.QRect(66, 130, 71, 20))
        self.label_7.setObjectName("label_7")
        self.label_9 = QtWidgets.QLabel(self.groupBox)
        self.label_9.setGeometry(QtCore.QRect(270, 160, 47, 13))
        self.label_9.setObjectName("label_9")
        self.label_11 = QtWidgets.QLabel(self.groupBox)
        self.label_11.setGeometry(QtCore.QRect(430, 20, 81, 16))
        self.label_11.setObjectName("label_11")
        self.spinBox_loadrowsfrom = QtWidgets.QSpinBox(self.groupBox)
        self.spinBox_loadrowsfrom.setGeometry(QtCore.QRect(520, 20, 61, 22))
        self.spinBox_loadrowsfrom.setMinimum(1)
        self.spinBox_loadrowsfrom.setProperty("value", 1)
        self.spinBox_loadrowsfrom.setObjectName("spinBox_loadrowsfrom")
        self.label_12 = QtWidgets.QLabel(self.groupBox)
        self.label_12.setGeometry(QtCore.QRect(430, 50, 81, 16))
        self.label_12.setObjectName("label_12")
        self.spinBox_loadrowsto = QtWidgets.QSpinBox(self.groupBox)
        self.spinBox_loadrowsto.setGeometry(QtCore.QRect(520, 50, 61, 22))
        self.spinBox_loadrowsto.setMinimum(1)
        self.spinBox_loadrowsto.setMaximum(99999)
        self.spinBox_loadrowsto.setProperty("value", 100)
        self.spinBox_loadrowsto.setObjectName("spinBox_loadrowsto")
        self.pushButton_load_into_orthanc_by_notion = QtWidgets.QPushButton(self.tab_3)
        self.pushButton_load_into_orthanc_by_notion.setGeometry(QtCore.QRect(240, 230, 231, 23))
        self.pushButton_load_into_orthanc_by_notion.setObjectName("pushButton_load_into_orthanc_by_notion")
        self.tabWidget.addTab(self.tab_3, "")
        self.pushButton_start_orthanc = QtWidgets.QPushButton(self.centralwidget)
        self.pushButton_start_orthanc.setGeometry(QtCore.QRect(300, 60, 131, 23))
        self.pushButton_start_orthanc.setObjectName("pushButton_start_orthanc")
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtWidgets.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 861, 21))
        self.menubar.setObjectName("menubar")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtWidgets.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)

        self.retranslateUi(MainWindow)
        self.tabWidget.setCurrentIndex(1)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        _translate = QtCore.QCoreApplication.translate
        MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
        self.pushButton_download_from_orthanc_to_drive.setText(_translate("MainWindow", "download from orthanc to Drive"))
        self.label.setText(_translate("MainWindow", "Download data from Pacs system into a local orthanc database"))
        self.pushButton_select_download_dir.setText(_translate("MainWindow", "select download Dir"))
        self.label_3.setText(_translate("MainWindow", "Columnnames must be: PatientID, FamilyName, GivenName, BirthDate, StudyDate"))
        self.pushButton_select_excel_file.setText(_translate("MainWindow", "select File"))
        self.label_2.setText(_translate("MainWindow", "select Data by Exel file"))
        self.pushButton_load_into_orthanc_by_excel.setText(_translate("MainWindow", "load into orthanc"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "load by Excel"))
        self.pushButton_getwebsitetoenter.setText(_translate("MainWindow", "get website to enter"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "specify by hand"))
        self.groupBox.setTitle(_translate("MainWindow", "specify Column naming"))
        self.label_6.setText(_translate("MainWindow", "GivenName"))
        self.label_10.setText(_translate("MainWindow", "To"))
        self.label_4.setText(_translate("MainWindow", "PatientID"))
        self.label_8.setText(_translate("MainWindow", "StudyDateFrom"))
        self.lineEdit_ncn_birthdatefrom.setText(_translate("MainWindow", "birth_date"))
        self.label_5.setText(_translate("MainWindow", "FamilyName"))
        self.lineEdit_ncn_patientid.setText(_translate("MainWindow", "hospital_specific_PID"))
        self.lineEdit_ncn_birthdateto.setText(_translate("MainWindow", "birth_date"))
        self.label_7.setText(_translate("MainWindow", "BirthDateFrom"))
        self.label_9.setText(_translate("MainWindow", "To"))
        self.label_11.setText(_translate("MainWindow", "load rows from "))
        self.label_12.setText(_translate("MainWindow", "load rows to"))
        self.pushButton_load_into_orthanc_by_notion.setText(_translate("MainWindow", "load into orthanc"))
        self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "load by Notion"))
        self.pushButton_start_orthanc.setText(_translate("MainWindow", "start orthanc"))
