# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'chooseDownloadDirectory.ui'
#
# Created by: PyQt5 UI code generator 5.15.6
#
# 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 ( 453 , 578 )
self . verticalLayout = QtWidgets . QVBoxLayout ( ChooseDownloadDirectory )
self . verticalLayout . setSpacing ( 20 )
self . verticalLayout . setObjectName ( " verticalLayout " )
self . groupBox_2 = QtWidgets . QGroupBox ( ChooseDownloadDirectory )
self . groupBox_2 . setObjectName ( " groupBox_2 " )
self . verticalLayout_3 = QtWidgets . QVBoxLayout ( self . groupBox_2 )
self . verticalLayout_3 . setObjectName ( " verticalLayout_3 " )
self . label_2 = QtWidgets . QLabel ( self . groupBox_2 )
self . label_2 . setAlignment ( QtCore . Qt . AlignLeading | QtCore . Qt . AlignLeft | QtCore . Qt . AlignTop )
self . label_2 . setWordWrap ( True )
self . label_2 . setObjectName ( " label_2 " )
self . verticalLayout_3 . addWidget ( self . label_2 )
self . horizontalLayout_2 = QtWidgets . QHBoxLayout ( )
self . horizontalLayout_2 . setObjectName ( " horizontalLayout_2 " )
self . pathComboBox = QtWidgets . QComboBox ( self . groupBox_2 )
self . pathComboBox . setEditable ( True )
self . pathComboBox . setObjectName ( " pathComboBox " )
self . horizontalLayout_2 . addWidget ( self . pathComboBox )
self . openFileDialogButton = QtWidgets . QPushButton ( self . groupBox_2 )
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_3 . addLayout ( self . horizontalLayout_2 )
self . verticalLayout . addWidget ( self . groupBox_2 )
self . groupBox = QtWidgets . QGroupBox ( ChooseDownloadDirectory )
self . groupBox . setObjectName ( " groupBox " )
self . verticalLayout_2 = QtWidgets . QVBoxLayout ( self . groupBox )
self . verticalLayout_2 . setObjectName ( " verticalLayout_2 " )
self . label_3 = QtWidgets . QLabel ( self . groupBox )
self . label_3 . setWordWrap ( True )
self . label_3 . setObjectName ( " label_3 " )
self . verticalLayout_2 . addWidget ( self . label_3 )
self . downloadPushButton = QtWidgets . QPushButton ( self . groupBox )
self . downloadPushButton . setObjectName ( " downloadPushButton " )
self . verticalLayout_2 . addWidget ( self . downloadPushButton )
self . abortDownloadButton = QtWidgets . QPushButton ( self . groupBox )
self . abortDownloadButton . setObjectName ( " abortDownloadButton " )
self . verticalLayout_2 . addWidget ( self . abortDownloadButton )
self . progressLabel = QtWidgets . QLabel ( self . groupBox )
self . progressLabel . setAlignment ( QtCore . Qt . AlignCenter )
self . progressLabel . setObjectName ( " progressLabel " )
self . verticalLayout_2 . addWidget ( self . progressLabel )
self . widget = QtWidgets . QWidget ( self . groupBox )
self . widget . setObjectName ( " widget " )
self . horizontalLayout = QtWidgets . QHBoxLayout ( self . widget )
self . horizontalLayout . setObjectName ( " horizontalLayout " )
self . progressBar = QtWidgets . QProgressBar ( self . widget )
sizePolicy = QtWidgets . QSizePolicy ( QtWidgets . QSizePolicy . MinimumExpanding , QtWidgets . QSizePolicy . Fixed )
sizePolicy . setHorizontalStretch ( 0 )
sizePolicy . setVerticalStretch ( 0 )
sizePolicy . setHeightForWidth ( self . progressBar . sizePolicy ( ) . hasHeightForWidth ( ) )
self . progressBar . setSizePolicy ( sizePolicy )
self . progressBar . setProperty ( " value " , 24 )
self . progressBar . setTextVisible ( True )
self . progressBar . setOrientation ( QtCore . Qt . Horizontal )
self . progressBar . setInvertedAppearance ( False )
self . progressBar . setFormat ( " % p % " )
self . progressBar . setObjectName ( " progressBar " )
self . horizontalLayout . addWidget ( self . progressBar )
self . labelSpeed = QtWidgets . QLabel ( self . widget )
self . labelSpeed . setObjectName ( " labelSpeed " )
self . horizontalLayout . addWidget ( self . labelSpeed )
self . verticalLayout_2 . addWidget ( self . widget )
self . verticalLayout . addWidget ( self . groupBox )
self . groupBox_3 = QtWidgets . QGroupBox ( ChooseDownloadDirectory )
self . groupBox_3 . setAlignment ( QtCore . Qt . AlignLeading | QtCore . Qt . AlignLeft | QtCore . Qt . AlignVCenter )
self . groupBox_3 . setFlat ( False )
self . groupBox_3 . setObjectName ( " groupBox_3 " )
self . verticalLayout_4 = QtWidgets . QVBoxLayout ( self . groupBox_3 )
self . verticalLayout_4 . setObjectName ( " verticalLayout_4 " )
self . buttonBox = QtWidgets . QDialogButtonBox ( self . groupBox_3 )
self . buttonBox . setOrientation ( QtCore . Qt . Horizontal )
self . buttonBox . setStandardButtons ( QtWidgets . QDialogButtonBox . Ok )
self . buttonBox . setCenterButtons ( True )
self . buttonBox . setObjectName ( " buttonBox " )
self . verticalLayout_4 . addWidget ( self . buttonBox )
self . verticalLayout . addWidget ( self . groupBox_3 )
self . retranslateUi ( ChooseDownloadDirectory )
QtCore . QMetaObject . connectSlotsByName ( ChooseDownloadDirectory )
def retranslateUi ( self , ChooseDownloadDirectory ) :
_translate = QtCore . QCoreApplication . translate
ChooseDownloadDirectory . setWindowTitle ( _translate ( " ChooseDownloadDirectory " , " Instrument Location and Download " ) )
self . groupBox_2 . setTitle ( _translate ( " ChooseDownloadDirectory " , " Step 1: Choose Instrument Directory " ) )
self . label_2 . setText ( _translate ( " ChooseDownloadDirectory " , " <html><head/><body><p>Please choose a directory for Tembro \' s instrument libaries.<br/>For optimal performance, it should be an NVME, SSD or similar.</p><p>This location will be shared among all Tembro-sessions.</p></body></html> " ) )
self . openFileDialogButton . setText ( _translate ( " ChooseDownloadDirectory " , " Choose Directory " ) )
self . groupBox . setTitle ( _translate ( " ChooseDownloadDirectory " , " Step 2: Download Instruments " ) )
self . label_3 . setText ( _translate ( " ChooseDownloadDirectory " , " <html><head/><body><p>Click the button below to download all instrument libraries from our servers. </p><p>You can skip this and copy the files manually into the directory chosen in Step 1.</p><p>Please visit <a href= \" https://laborejo.org/downloads/tembro-instruments/ \" ><span style= \" text-decoration: underline; color:#0000ff; \" >https://laborejo.org/downloads/tembro-instruments/</span></a> for direct downloads.</p><p>At a later date you can start the download again to check for new instruments. Only new and updated libraries will be downloaded again.</p></body></html> " ) )
self . downloadPushButton . setText ( _translate ( " ChooseDownloadDirectory " , " Download " ) )
self . abortDownloadButton . setText ( _translate ( " ChooseDownloadDirectory " , " Abort Download and Close " ) )
self . progressLabel . setText ( _translate ( " ChooseDownloadDirectory " , " Library 4 of 10: Kazoo Ensemble " ) )
self . labelSpeed . setText ( _translate ( " ChooseDownloadDirectory " , " TextLabel " ) )
self . groupBox_3 . setTitle ( _translate ( " ChooseDownloadDirectory " , " Step 3: Rescan the instrument directory " ) )