# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'F:\Festplatte\Alex\Dev\Code\Projekte\[py] MachineLearning\DXM_Bragi_Files\DXMB_main.ui' # # Created by: PyQt5 UI code generator 5.9.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_dxmb(object): def setupUi(self, dxmb): dxmb.setObjectName("dxmb") dxmb.resize(800, 598) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(dxmb.sizePolicy().hasHeightForWidth()) dxmb.setSizePolicy(sizePolicy) self.centralwidget = QtWidgets.QWidget(dxmb) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.centralwidget.sizePolicy().hasHeightForWidth()) self.centralwidget.setSizePolicy(sizePolicy) self.centralwidget.setObjectName("centralwidget") self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget) self.verticalLayout.setObjectName("verticalLayout") self.tabWidget = QtWidgets.QTabWidget(self.centralwidget) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.tabWidget.sizePolicy().hasHeightForWidth()) self.tabWidget.setSizePolicy(sizePolicy) self.tabWidget.setMinimumSize(QtCore.QSize(0, 0)) self.tabWidget.setBaseSize(QtCore.QSize(0, 0)) self.tabWidget.setObjectName("tabWidget") self.data_tab = QtWidgets.QWidget() sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.data_tab.sizePolicy().hasHeightForWidth()) self.data_tab.setSizePolicy(sizePolicy) self.data_tab.setAccessibleName("") self.data_tab.setObjectName("data_tab") self.gridLayout_2 = QtWidgets.QGridLayout(self.data_tab) self.gridLayout_2.setObjectName("gridLayout_2") self.hor_layout_data_tab = QtWidgets.QHBoxLayout() self.hor_layout_data_tab.setObjectName("hor_layout_data_tab") self.vert_layout_source_tree = QtWidgets.QVBoxLayout() self.vert_layout_source_tree.setObjectName("vert_layout_source_tree") self.hor_layout_path_sourcce = QtWidgets.QHBoxLayout() self.hor_layout_path_sourcce.setObjectName("hor_layout_path_sourcce") self.lineEdit_source = QtWidgets.QLineEdit(self.data_tab) self.lineEdit_source.setEnabled(True) self.lineEdit_source.setReadOnly(True) self.lineEdit_source.setObjectName("lineEdit_source") self.hor_layout_path_sourcce.addWidget(self.lineEdit_source) self.toolButton_source = QtWidgets.QToolButton(self.data_tab) self.toolButton_source.setObjectName("toolButton_source") self.hor_layout_path_sourcce.addWidget(self.toolButton_source) self.vert_layout_source_tree.addLayout(self.hor_layout_path_sourcce) self.treeView_source = QtWidgets.QTreeView(self.data_tab) self.treeView_source.setObjectName("treeView_source") self.vert_layout_source_tree.addWidget(self.treeView_source) self.hor_layout_data_tab.addLayout(self.vert_layout_source_tree) self.vert_layout_btn_range = QtWidgets.QVBoxLayout() self.vert_layout_btn_range.setObjectName("vert_layout_btn_range") self.btn_seperator_upper = QtWidgets.QPushButton(self.data_tab) self.btn_seperator_upper.setText("") self.btn_seperator_upper.setFlat(True) self.btn_seperator_upper.setObjectName("btn_seperator_upper") self.vert_layout_btn_range.addWidget(self.btn_seperator_upper) self.vert_layout_btn_target = QtWidgets.QVBoxLayout() self.vert_layout_btn_target.setObjectName("vert_layout_btn_target") self.btn_copyToTarget = QtWidgets.QPushButton(self.data_tab) self.btn_copyToTarget.setObjectName("btn_copyToTarget") self.vert_layout_btn_target.addWidget(self.btn_copyToTarget) self.btn_copyAllToTarget = QtWidgets.QPushButton(self.data_tab) self.btn_copyAllToTarget.setObjectName("btn_copyAllToTarget") self.vert_layout_btn_target.addWidget(self.btn_copyAllToTarget) self.btn_moveToTarget = QtWidgets.QPushButton(self.data_tab) self.btn_moveToTarget.setObjectName("btn_moveToTarget") self.vert_layout_btn_target.addWidget(self.btn_moveToTarget) self.btn_moveAllToTarget = QtWidgets.QPushButton(self.data_tab) self.btn_moveAllToTarget.setObjectName("btn_moveAllToTarget") self.vert_layout_btn_target.addWidget(self.btn_moveAllToTarget) self.btn_deleteTargetItem = QtWidgets.QPushButton(self.data_tab) self.btn_deleteTargetItem.setObjectName("btn_deleteTargetItem") self.vert_layout_btn_target.addWidget(self.btn_deleteTargetItem) self.btn_analyseTarget = QtWidgets.QPushButton(self.data_tab) self.btn_analyseTarget.setObjectName("btn_analyseTarget") self.vert_layout_btn_target.addWidget(self.btn_analyseTarget) self.btn_makeDirTarget = QtWidgets.QPushButton(self.data_tab) self.btn_makeDirTarget.setObjectName("btn_makeDirTarget") self.vert_layout_btn_target.addWidget(self.btn_makeDirTarget) self.vert_layout_btn_range.addLayout(self.vert_layout_btn_target) self.btn_seperator_lower = QtWidgets.QPushButton(self.data_tab) self.btn_seperator_lower.setText("") self.btn_seperator_lower.setFlat(True) self.btn_seperator_lower.setObjectName("btn_seperator_lower") self.vert_layout_btn_range.addWidget(self.btn_seperator_lower) self.vert_layout_btn_source = QtWidgets.QVBoxLayout() self.vert_layout_btn_source.setObjectName("vert_layout_btn_source") self.btn_copyToSource = QtWidgets.QPushButton(self.data_tab) self.btn_copyToSource.setObjectName("btn_copyToSource") self.vert_layout_btn_source.addWidget(self.btn_copyToSource) self.btn_copyAllToSource = QtWidgets.QPushButton(self.data_tab) self.btn_copyAllToSource.setObjectName("btn_copyAllToSource") self.vert_layout_btn_source.addWidget(self.btn_copyAllToSource) self.btn_moveToSource = QtWidgets.QPushButton(self.data_tab) self.btn_moveToSource.setObjectName("btn_moveToSource") self.vert_layout_btn_source.addWidget(self.btn_moveToSource) self.btn_moveAllToSource = QtWidgets.QPushButton(self.data_tab) self.btn_moveAllToSource.setObjectName("btn_moveAllToSource") self.vert_layout_btn_source.addWidget(self.btn_moveAllToSource) self.btn_deleteSourceItem = QtWidgets.QPushButton(self.data_tab) self.btn_deleteSourceItem.setObjectName("btn_deleteSourceItem") self.vert_layout_btn_source.addWidget(self.btn_deleteSourceItem) self.btn_analyseSource = QtWidgets.QPushButton(self.data_tab) self.btn_analyseSource.setObjectName("btn_analyseSource") self.vert_layout_btn_source.addWidget(self.btn_analyseSource) self.btn_makeDirSource = QtWidgets.QPushButton(self.data_tab) self.btn_makeDirSource.setObjectName("btn_makeDirSource") self.vert_layout_btn_source.addWidget(self.btn_makeDirSource) self.vert_layout_btn_range.addLayout(self.vert_layout_btn_source) self.hor_layout_data_tab.addLayout(self.vert_layout_btn_range) self.vert_layout_target_tree = QtWidgets.QVBoxLayout() self.vert_layout_target_tree.setObjectName("vert_layout_target_tree") self.hor_layout_path_target = QtWidgets.QHBoxLayout() self.hor_layout_path_target.setObjectName("hor_layout_path_target") self.lineEdit_target = QtWidgets.QLineEdit(self.data_tab) self.lineEdit_target.setEnabled(True) self.lineEdit_target.setEchoMode(QtWidgets.QLineEdit.Normal) self.lineEdit_target.setReadOnly(True) self.lineEdit_target.setObjectName("lineEdit_target") self.hor_layout_path_target.addWidget(self.lineEdit_target) self.toolButton_target = QtWidgets.QToolButton(self.data_tab) self.toolButton_target.setObjectName("toolButton_target") self.hor_layout_path_target.addWidget(self.toolButton_target) self.vert_layout_target_tree.addLayout(self.hor_layout_path_target) self.treeView_target = QtWidgets.QTreeView(self.data_tab) self.treeView_target.setObjectName("treeView_target") self.vert_layout_target_tree.addWidget(self.treeView_target) self.hor_layout_data_tab.addLayout(self.vert_layout_target_tree) self.gridLayout_2.addLayout(self.hor_layout_data_tab, 0, 0, 1, 1) self.tabWidget.addTab(self.data_tab, "") self.ml_tab = QtWidgets.QWidget() sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.ml_tab.sizePolicy().hasHeightForWidth()) self.ml_tab.setSizePolicy(sizePolicy) self.ml_tab.setToolTip("") self.ml_tab.setWhatsThis("") self.ml_tab.setAccessibleName("") self.ml_tab.setAccessibleDescription("") self.ml_tab.setObjectName("ml_tab") self.tabWidget.addTab(self.ml_tab, "") self.loader_tab = QtWidgets.QWidget() self.loader_tab.setObjectName("loader_tab") self.gridLayout_4 = QtWidgets.QGridLayout(self.loader_tab) self.gridLayout_4.setObjectName("gridLayout_4") self.verticalLayout_4 = QtWidgets.QVBoxLayout() self.verticalLayout_4.setObjectName("verticalLayout_4") self.HL_Header = QtWidgets.QVBoxLayout() self.HL_Header.setObjectName("HL_Header") self.HL_InsertLink = QtWidgets.QHBoxLayout() self.HL_InsertLink.setObjectName("HL_InsertLink") self.lineEdit_url = QtWidgets.QLineEdit(self.loader_tab) self.lineEdit_url.setText("") self.lineEdit_url.setObjectName("lineEdit_url") self.HL_InsertLink.addWidget(self.lineEdit_url) self.btn_insertUrl = QtWidgets.QPushButton(self.loader_tab) self.btn_insertUrl.setObjectName("btn_insertUrl") self.HL_InsertLink.addWidget(self.btn_insertUrl) self.HL_Header.addLayout(self.HL_InsertLink) self.insert_url_msg = QtWidgets.QLabel(self.loader_tab) self.insert_url_msg.setEnabled(True) self.insert_url_msg.setText("") self.insert_url_msg.setScaledContents(False) self.insert_url_msg.setAlignment(QtCore.Qt.AlignCenter) self.insert_url_msg.setWordWrap(True) self.insert_url_msg.setObjectName("insert_url_msg") self.HL_Header.addWidget(self.insert_url_msg) self.verticalLayout_4.addLayout(self.HL_Header) self.scrollA = QtWidgets.QScrollArea(self.loader_tab) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(1) sizePolicy.setVerticalStretch(1) sizePolicy.setHeightForWidth(self.scrollA.sizePolicy().hasHeightForWidth()) self.scrollA.setSizePolicy(sizePolicy) self.scrollA.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.scrollA.setFrameShape(QtWidgets.QFrame.StyledPanel) self.scrollA.setFrameShadow(QtWidgets.QFrame.Sunken) self.scrollA.setWidgetResizable(True) self.scrollA.setObjectName("scrollA") self.scrollAWContents = QtWidgets.QWidget() self.scrollAWContents.setGeometry(QtCore.QRect(0, 0, 754, 298)) sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) sizePolicy.setHorizontalStretch(0) sizePolicy.setVerticalStretch(0) sizePolicy.setHeightForWidth(self.scrollAWContents.sizePolicy().hasHeightForWidth()) self.scrollAWContents.setSizePolicy(sizePolicy) self.scrollAWContents.setMinimumSize(QtCore.QSize(0, 10)) self.scrollAWContents.setMaximumSize(QtCore.QSize(16777215, 16777215)) self.scrollAWContents.setBaseSize(QtCore.QSize(0, 10)) self.scrollAWContents.setObjectName("scrollAWContents") self.url_scroller_grid = QtWidgets.QGridLayout(self.scrollAWContents) self.url_scroller_grid.setSizeConstraint(QtWidgets.QLayout.SetMinimumSize) self.url_scroller_grid.setContentsMargins(-1, -1, 9, -1) self.url_scroller_grid.setHorizontalSpacing(1) self.url_scroller_grid.setObjectName("url_scroller_grid") self.scrollA.setWidget(self.scrollAWContents) self.verticalLayout_4.addWidget(self.scrollA) self.groupB_loaderDetails = QtWidgets.QGroupBox(self.loader_tab) self.groupB_loaderDetails.setFlat(False) self.groupB_loaderDetails.setObjectName("groupB_loaderDetails") self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.groupB_loaderDetails) self.verticalLayout_3.setObjectName("verticalLayout_3") self.verticalLayout_2 = QtWidgets.QVBoxLayout() self.verticalLayout_2.setObjectName("verticalLayout_2") self.HL_TargetPath = QtWidgets.QHBoxLayout() self.HL_TargetPath.setObjectName("HL_TargetPath") self.label_targetPath = QtWidgets.QLabel(self.groupB_loaderDetails) self.label_targetPath.setObjectName("label_targetPath") self.HL_TargetPath.addWidget(self.label_targetPath) self.lineEdit_targetPath = QtWidgets.QLineEdit(self.groupB_loaderDetails) self.lineEdit_targetPath.setObjectName("lineEdit_targetPath") self.HL_TargetPath.addWidget(self.lineEdit_targetPath) self.toolBtn_targetPath = QtWidgets.QToolButton(self.groupB_loaderDetails) self.toolBtn_targetPath.setObjectName("toolBtn_targetPath") self.HL_TargetPath.addWidget(self.toolBtn_targetPath) self.verticalLayout_2.addLayout(self.HL_TargetPath) self.HL_Profile = QtWidgets.QHBoxLayout() self.HL_Profile.setObjectName("HL_Profile") self.toolBtn_addProfile = QtWidgets.QToolButton(self.groupB_loaderDetails) self.toolBtn_addProfile.setObjectName("toolBtn_addProfile") self.HL_Profile.addWidget(self.toolBtn_addProfile) self.toolBtn_removeProfile = QtWidgets.QToolButton(self.groupB_loaderDetails) self.toolBtn_removeProfile.setEnabled(False) self.toolBtn_removeProfile.setObjectName("toolBtn_removeProfile") self.HL_Profile.addWidget(self.toolBtn_removeProfile) self.comboBox_profile = QtWidgets.QComboBox(self.groupB_loaderDetails) self.comboBox_profile.setEnabled(True) self.comboBox_profile.setEditable(False) self.comboBox_profile.setCurrentText("") self.comboBox_profile.setMinimumContentsLength(0) self.comboBox_profile.setObjectName("comboBox_profile") self.HL_Profile.addWidget(self.comboBox_profile) self.checkBox_autoPredictTaste = QtWidgets.QCheckBox(self.groupB_loaderDetails) self.checkBox_autoPredictTaste.setEnabled(False) self.checkBox_autoPredictTaste.setTristate(False) self.checkBox_autoPredictTaste.setObjectName("checkBox_autoPredictTaste") self.HL_Profile.addWidget(self.checkBox_autoPredictTaste) self.verticalLayout_2.addLayout(self.HL_Profile) self.gridLayout = QtWidgets.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.radioBtn_video = QtWidgets.QRadioButton(self.groupB_loaderDetails) self.radioBtn_video.setChecked(True) self.radioBtn_video.setObjectName("radioBtn_video") self.gridLayout.addWidget(self.radioBtn_video, 0, 0, 1, 1) self.checkBox_bestQual = QtWidgets.QCheckBox(self.groupB_loaderDetails) self.checkBox_bestQual.setObjectName("checkBox_bestQual") self.gridLayout.addWidget(self.checkBox_bestQual, 0, 1, 1, 1) self.radioBtn_audioOnly = QtWidgets.QRadioButton(self.groupB_loaderDetails) self.radioBtn_audioOnly.setObjectName("radioBtn_audioOnly") self.gridLayout.addWidget(self.radioBtn_audioOnly, 1, 0, 1, 1) self.checkBox_autoDownload = QtWidgets.QCheckBox(self.groupB_loaderDetails) self.checkBox_autoDownload.setObjectName("checkBox_autoDownload") self.gridLayout.addWidget(self.checkBox_autoDownload, 1, 1, 1, 1) self.radioBtn_bothFiles = QtWidgets.QRadioButton(self.groupB_loaderDetails) self.radioBtn_bothFiles.setChecked(False) self.radioBtn_bothFiles.setObjectName("radioBtn_bothFiles") self.gridLayout.addWidget(self.radioBtn_bothFiles, 2, 0, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout) self.verticalLayout_3.addLayout(self.verticalLayout_2) self.verticalLayout_4.addWidget(self.groupB_loaderDetails) self.gridLayout_4.addLayout(self.verticalLayout_4, 0, 0, 1, 1) self.tabWidget.addTab(self.loader_tab, "") self.verticalLayout.addWidget(self.tabWidget) dxmb.setCentralWidget(self.centralwidget) self.statusbar = QtWidgets.QStatusBar(dxmb) self.statusbar.setObjectName("statusbar") dxmb.setStatusBar(self.statusbar) self.retranslateUi(dxmb) self.tabWidget.setCurrentIndex(2) self.comboBox_profile.setCurrentIndex(-1) QtCore.QMetaObject.connectSlotsByName(dxmb) def retranslateUi(self, dxmb): _translate = QtCore.QCoreApplication.translate dxmb.setWindowTitle(_translate("dxmb", "DXM Bragi")) self.tabWidget.setAccessibleName(_translate("dxmb", "Datenverwaltung")) self.toolButton_source.setText(_translate("dxmb", "...")) self.btn_copyToTarget.setText(_translate("dxmb", "Copy >")) self.btn_copyAllToTarget.setText(_translate("dxmb", "Copy All >>")) self.btn_moveToTarget.setText(_translate("dxmb", "Move >")) self.btn_moveAllToTarget.setText(_translate("dxmb", "Move All >>")) self.btn_deleteTargetItem.setText(_translate("dxmb", "Delete >")) self.btn_analyseTarget.setText(_translate("dxmb", "Analyse >")) self.btn_makeDirTarget.setText(_translate("dxmb", "New Dir >")) self.btn_copyToSource.setText(_translate("dxmb", "< Copy")) self.btn_copyAllToSource.setText(_translate("dxmb", "<< Copy All")) self.btn_moveToSource.setText(_translate("dxmb", "< Move")) self.btn_moveAllToSource.setText(_translate("dxmb", "<< Move All")) self.btn_deleteSourceItem.setText(_translate("dxmb", "< Delete")) self.btn_analyseSource.setText(_translate("dxmb", "< Analyse")) self.btn_makeDirSource.setText(_translate("dxmb", "< New Dir")) self.toolButton_target.setText(_translate("dxmb", "...")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.data_tab), _translate("dxmb", "Songbook")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.ml_tab), _translate("dxmb", "Learn Taste")) self.lineEdit_url.setPlaceholderText(_translate("dxmb", "Insert new video or playlist link ")) self.btn_insertUrl.setText(_translate("dxmb", "Insert Link")) self.groupB_loaderDetails.setTitle(_translate("dxmb", "Configuration")) self.label_targetPath.setText(_translate("dxmb", "Target Path:")) self.toolBtn_targetPath.setText(_translate("dxmb", "...")) self.toolBtn_addProfile.setText(_translate("dxmb", "+")) self.toolBtn_removeProfile.setText(_translate("dxmb", "-")) self.checkBox_autoPredictTaste.setText(_translate("dxmb", "Auto predict taste for profile")) self.radioBtn_video.setText(_translate("dxmb", "Video")) self.checkBox_bestQual.setText(_translate("dxmb", "Prefer best quality")) self.radioBtn_audioOnly.setText(_translate("dxmb", "Audio Only")) self.checkBox_autoDownload.setText(_translate("dxmb", "Auto-Download on Insert")) self.radioBtn_bothFiles.setText(_translate("dxmb", "Both (2 Files)")) self.tabWidget.setTabText(self.tabWidget.indexOf(self.loader_tab), _translate("dxmb", "Search Songs")) if __name__ == "__main__": import sys app = QtWidgets.QApplication(sys.argv) dxmb = QtWidgets.QMainWindow() ui = Ui_dxmb() ui.setupUi(dxmb) dxmb.show() sys.exit(app.exec_())