# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'chooseDownloadDirectory.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_ChooseDownloadDirectory ( object ) :
def setupUi ( self , ChooseDownloadDirectory ) :
ChooseDownloadDirectory . setObjectName ( " ChooseDownloadDirectory " )
ChooseDownloadDirectory . resize ( 410 , 329 )
self . verticalLayout = QtWidgets . QVBoxLayout ( ChooseDownloadDirectory )
self . verticalLayout . setObjectName ( " verticalLayout " )
self . layoutWidget = QtWidgets . QWidget ( ChooseDownloadDirectory )
self . layoutWidget . setObjectName ( " layoutWidget " )
self . formLayout = QtWidgets . QFormLayout ( self . layoutWidget )
self . formLayout . setContentsMargins ( - 1 , - 1 , - 1 , 0 )
self . formLayout . setObjectName ( " formLayout " )
self . label = QtWidgets . QLabel ( self . layoutWidget )
self . label . setWordWrap ( True )
self . label . setObjectName ( " label " )
self . formLayout . setWidget ( 0 , QtWidgets . QFormLayout . FieldRole , self . label )
self . verticalLayout . addWidget ( self . layoutWidget )
self . horizontalLayout_2 = QtWidgets . QHBoxLayout ( )
self . horizontalLayout_2 . setObjectName ( " horizontalLayout_2 " )
self . pathComboBox = QtWidgets . QComboBox ( ChooseDownloadDirectory )
sizePolicy = QtWidgets . QSizePolicy ( QtWidgets . QSizePolicy . Expanding , QtWidgets . QSizePolicy . Fixed )
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
sizePolicy . setHeightForWidth ( self . pathComboBox . sizePolicy ( ) . hasHeightForWidth ( ) )
self . pathComboBox . setSizePolicy ( sizePolicy )
self . pathComboBox . setEditable ( True )
self . pathComboBox . setObjectName ( " pathComboBox " )
self . horizontalLayout_2 . addWidget ( self . pathComboBox )
self . openFileDialogButton = QtWidgets . QPushButton ( ChooseDownloadDirectory )
sizePolicy = QtWidgets . QSizePolicy ( QtWidgets . QSizePolicy . Fixed , QtWidgets . QSizePolicy . Fixed )
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
sizePolicy . setHeightForWidth ( self . openFileDialogButton . sizePolicy ( ) . hasHeightForWidth ( ) )
self . openFileDialogButton . setSizePolicy ( sizePolicy )
self . openFileDialogButton . setFlat ( False )
self . openFileDialogButton . setObjectName ( " openFileDialogButton " )
self . horizontalLayout_2 . addWidget ( self . openFileDialogButton )
self . verticalLayout . addLayout ( self . horizontalLayout_2 )
self . buttonBox = QtWidgets . QDialogButtonBox ( ChooseDownloadDirectory )
self . buttonBox . setOrientation ( QtCore . Qt . Horizontal )
self . buttonBox . setStandardButtons ( QtWidgets . QDialogButtonBox . Cancel | QtWidgets . QDialogButtonBox . Ok )
self . buttonBox . setObjectName ( " buttonBox " )
self . verticalLayout . addWidget ( self . buttonBox )
self . widget_2 = QtWidgets . QWidget ( ChooseDownloadDirectory )
self . widget_2 . setObjectName ( " widget_2 " )
self . horizontalLayout_4 = QtWidgets . QHBoxLayout ( self . widget_2 )
self . horizontalLayout_4 . setContentsMargins ( 0 , 0 , 0 , 0 )
self . horizontalLayout_4 . setSpacing ( 0 )
self . horizontalLayout_4 . setObjectName ( " horizontalLayout_4 " )
self . verticalLayout . addWidget ( self . widget_2 )
self . retranslateUi ( ChooseDownloadDirectory )
QtCore . QMetaObject . connectSlotsByName ( ChooseDownloadDirectory )
def retranslateUi ( self , ChooseDownloadDirectory ) :
_translate = QtCore . QCoreApplication . translate
ChooseDownloadDirectory . setWindowTitle ( _translate ( " ChooseDownloadDirectory " , " Choose Session Directory " ) )
self . label . setText ( _translate ( " ChooseDownloadDirectory " , " <html><head/><body><p>Please choose a directory for your sample files. The location can be read-only and will be shared by all sessions. </p><p>At the moment you have to manually download the files and move them to this directory. An integrated downloader will be added to this program after its beta-phase. </p><p>Changing the directory requires a program restart. The sample libraries will only be scanned on program start as well.</p><p>The download URL is:</p><p align= \" center \" ><a href= \" https://laborejo.org/downloads/tembro-instruments/ \" ><span style= \" text-decoration: underline; color:#00ffff; \" >https://laborejo.org/downloads/tembro-instruments/</span></a></p></body></html> " ) )
self . openFileDialogButton . setText ( _translate ( " ChooseDownloadDirectory " , " Choose Directory " ) )