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

# Form implementation generated from reading ui file '.\sarcasm_app\ui-files\file_selection.ui'
#
# Created by: PyQt5 UI code generator 5.15.11
#
# 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_Form(object):
    def setupUi(self, Form):
        Form.setObjectName("Form")
        Form.resize(725, 302)
        self.verticalLayout = QtWidgets.QVBoxLayout(Form)
        self.verticalLayout.setObjectName("verticalLayout")
        self.groupBox = QtWidgets.QGroupBox(Form)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.groupBox.setFont(font)
        self.groupBox.setObjectName("groupBox")
        self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.groupBox)
        self.horizontalLayout_2.setObjectName("horizontalLayout_2")
        self.label = QtWidgets.QLabel(self.groupBox)
        self.label.setObjectName("label")
        self.horizontalLayout_2.addWidget(self.label)
        self.le_cell_file = QtWidgets.QLineEdit(self.groupBox)
        self.le_cell_file.setObjectName("le_cell_file")
        self.horizontalLayout_2.addWidget(self.le_cell_file)
        self.btn_search = QtWidgets.QPushButton(self.groupBox)
        self.btn_search.setObjectName("btn_search")
        self.horizontalLayout_2.addWidget(self.btn_search)
        self.btn_open_folder = QtWidgets.QPushButton(self.groupBox)
        self.btn_open_folder.setObjectName("btn_open_folder")
        self.horizontalLayout_2.addWidget(self.btn_open_folder)
        self.verticalLayout.addWidget(self.groupBox)
        self.groupBox_2 = QtWidgets.QGroupBox(Form)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        self.groupBox_2.setMaximumSize(QtCore.QSize(2000, 16777215))
        font = QtGui.QFont()
        font.setPointSize(11)
        self.groupBox_2.setFont(font)
        self.groupBox_2.setObjectName("groupBox_2")
        self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.groupBox_2)
        self.horizontalLayout_3.setObjectName("horizontalLayout_3")
        self.label_2 = QtWidgets.QLabel(self.groupBox_2)
        self.label_2.setMaximumSize(QtCore.QSize(100, 16777215))
        self.label_2.setObjectName("label_2")
        self.horizontalLayout_3.addWidget(self.label_2)
        self.le_frame_time = QtWidgets.QLineEdit(self.groupBox_2)
        self.le_frame_time.setObjectName("le_frame_time")
        self.horizontalLayout_3.addWidget(self.le_frame_time)
        self.label_3 = QtWidgets.QLabel(self.groupBox_2)
        self.label_3.setMaximumSize(QtCore.QSize(100, 16777215))
        self.label_3.setObjectName("label_3")
        self.horizontalLayout_3.addWidget(self.label_3)
        self.le_pixel_size = QtWidgets.QLineEdit(self.groupBox_2)
        self.le_pixel_size.setObjectName("le_pixel_size")
        self.horizontalLayout_3.addWidget(self.le_pixel_size)
        self.btn_store_metadata = QtWidgets.QPushButton(self.groupBox_2)
        self.btn_store_metadata.setMaximumSize(QtCore.QSize(100, 16777215))
        self.btn_store_metadata.setObjectName("btn_store_metadata")
        self.horizontalLayout_3.addWidget(self.btn_store_metadata)
        self.verticalLayout.addWidget(self.groupBox_2)
        self.groupBox_3 = QtWidgets.QGroupBox(Form)
        font = QtGui.QFont()
        font.setPointSize(11)
        self.groupBox_3.setFont(font)
        self.groupBox_3.setObjectName("groupBox_3")
        self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.groupBox_3)
        self.horizontalLayout_5.setObjectName("horizontalLayout_5")
        self.le_parameters_path = QtWidgets.QLineEdit(self.groupBox_3)
        sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(1)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.le_parameters_path.sizePolicy().hasHeightForWidth())
        self.le_parameters_path.setSizePolicy(sizePolicy)
        self.le_parameters_path.setObjectName("le_parameters_path")
        self.horizontalLayout_5.addWidget(self.le_parameters_path)
        self.btn_search_parameters_file = QtWidgets.QPushButton(self.groupBox_3)
        self.btn_search_parameters_file.setObjectName("btn_search_parameters_file")
        self.horizontalLayout_5.addWidget(self.btn_search_parameters_file)
        self.btn_import_parameters = QtWidgets.QPushButton(self.groupBox_3)
        self.btn_import_parameters.setObjectName("btn_import_parameters")
        self.horizontalLayout_5.addWidget(self.btn_import_parameters)
        self.btn_export_parameters = QtWidgets.QPushButton(self.groupBox_3)
        self.btn_export_parameters.setObjectName("btn_export_parameters")
        self.horizontalLayout_5.addWidget(self.btn_export_parameters)
        self.btn_set_to_default = QtWidgets.QPushButton(self.groupBox_3)
        self.btn_set_to_default.setObjectName("btn_set_to_default")
        self.horizontalLayout_5.addWidget(self.btn_set_to_default)
        self.verticalLayout.addWidget(self.groupBox_3)

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

    def retranslateUi(self, Form):
        _translate = QtCore.QCoreApplication.translate
        Form.setWindowTitle(_translate("Form", "Form"))
        self.groupBox.setTitle(_translate("Form", "File Selection"))
        self.label.setText(_translate("Form", "Tif-File"))
        self.btn_search.setText(_translate("Form", "Search"))
        self.btn_open_folder.setText(_translate("Form", "Open folder"))
        self.groupBox_2.setTitle(_translate("Form", "Metadata"))
        self.label_2.setText(_translate("Form", "Frame time [s]"))
        self.label_3.setText(_translate("Form", "Pixel size [µm]"))
        self.btn_store_metadata.setText(_translate("Form", "Store Metadata"))
        self.groupBox_3.setTitle(_translate("Form", "Parameter import/export"))
        self.le_parameters_path.setToolTip(_translate("Form", "<html><head/><body><p><span style=\" font-size:11pt;\">First select a json file (with search or just copy the full path into the first text field, excluding the file name).</span></p><p><span style=\" font-size:11pt;\">The file name has to be declared in the second text field (default value is &quot;parameters.json&quot;).</span></p><p><span style=\" font-size:11pt;\">Then press import (if you want to import a parameter-set).</span></p><p><span style=\" font-size:11pt;\">Or press export (if you want to export the current parameter-set).</span></p><p><br/></p></body></html>"))
        self.le_parameters_path.setPlaceholderText(_translate("Form", " - path to json file for storing analysis parameters - "))
        self.btn_search_parameters_file.setText(_translate("Form", "Search"))
        self.btn_import_parameters.setText(_translate("Form", "Import"))
        self.btn_export_parameters.setText(_translate("Form", "Export"))
        self.btn_set_to_default.setText(_translate("Form", "Reset to default"))


if __name__ == "__main__":
    import sys
    app = QtWidgets.QApplication(sys.argv)
    Form = QtWidgets.QWidget()
    ui = Ui_Form()
    ui.setupUi(Form)
    Form.show()
    sys.exit(app.exec_())
