8d148b639b
change to src layout
88 lines
4.5 KiB
Python
88 lines
4.5 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Form implementation generated from reading ui file 'resources/_ui/move_dialog.ui'
|
|
#
|
|
# Created by: PyQt5 UI code generator 5.12.3
|
|
#
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
|
|
from PyQt5 import QtCore, QtGui, QtWidgets
|
|
|
|
|
|
class Ui_MoveDialog(object):
|
|
def setupUi(self, MoveDialog):
|
|
MoveDialog.setObjectName("MoveDialog")
|
|
MoveDialog.resize(395, 345)
|
|
self.gridLayout = QtWidgets.QGridLayout(MoveDialog)
|
|
self.gridLayout.setVerticalSpacing(1)
|
|
self.gridLayout.setObjectName("gridLayout")
|
|
self.tocomboBox = QtWidgets.QComboBox(MoveDialog)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.tocomboBox.sizePolicy().hasHeightForWidth())
|
|
self.tocomboBox.setSizePolicy(sizePolicy)
|
|
self.tocomboBox.setObjectName("tocomboBox")
|
|
self.gridLayout.addWidget(self.tocomboBox, 3, 1, 1, 1)
|
|
self.fromcomboBox = QtWidgets.QComboBox(MoveDialog)
|
|
sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
|
|
sizePolicy.setHorizontalStretch(0)
|
|
sizePolicy.setVerticalStretch(0)
|
|
sizePolicy.setHeightForWidth(self.fromcomboBox.sizePolicy().hasHeightForWidth())
|
|
self.fromcomboBox.setSizePolicy(sizePolicy)
|
|
self.fromcomboBox.setObjectName("fromcomboBox")
|
|
self.gridLayout.addWidget(self.fromcomboBox, 0, 1, 1, 1)
|
|
self.buttonBox = QtWidgets.QDialogButtonBox(MoveDialog)
|
|
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
|
self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Apply|QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
|
|
self.buttonBox.setObjectName("buttonBox")
|
|
self.gridLayout.addWidget(self.buttonBox, 6, 0, 1, 2)
|
|
self.label_2 = QtWidgets.QLabel(MoveDialog)
|
|
self.label_2.setObjectName("label_2")
|
|
self.gridLayout.addWidget(self.label_2, 3, 0, 1, 1)
|
|
self.line = QtWidgets.QFrame(MoveDialog)
|
|
self.line.setFrameShape(QtWidgets.QFrame.HLine)
|
|
self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
|
|
self.line.setObjectName("line")
|
|
self.gridLayout.addWidget(self.line, 4, 0, 1, 2)
|
|
self.label = QtWidgets.QLabel(MoveDialog)
|
|
self.label.setObjectName("label")
|
|
self.gridLayout.addWidget(self.label, 0, 0, 1, 1)
|
|
self.horizontalLayout = QtWidgets.QHBoxLayout()
|
|
self.horizontalLayout.setContentsMargins(-1, 0, -1, -1)
|
|
self.horizontalLayout.setObjectName("horizontalLayout")
|
|
self.copy_button = QtWidgets.QRadioButton(MoveDialog)
|
|
self.copy_button.setObjectName("copy_button")
|
|
self.buttonGroup = QtWidgets.QButtonGroup(MoveDialog)
|
|
self.buttonGroup.setObjectName("buttonGroup")
|
|
self.buttonGroup.addButton(self.copy_button)
|
|
self.horizontalLayout.addWidget(self.copy_button)
|
|
self.move_button = QtWidgets.QRadioButton(MoveDialog)
|
|
self.move_button.setChecked(True)
|
|
self.move_button.setObjectName("move_button")
|
|
self.buttonGroup.addButton(self.move_button)
|
|
self.horizontalLayout.addWidget(self.move_button)
|
|
self.gridLayout.addLayout(self.horizontalLayout, 5, 0, 1, 2)
|
|
self.listWidget = QtWidgets.QListWidget(MoveDialog)
|
|
self.listWidget.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers)
|
|
self.listWidget.setSelectionMode(QtWidgets.QAbstractItemView.MultiSelection)
|
|
self.listWidget.setObjectName("listWidget")
|
|
self.gridLayout.addWidget(self.listWidget, 1, 1, 1, 1)
|
|
self.label_2.setBuddy(self.tocomboBox)
|
|
self.label.setBuddy(self.fromcomboBox)
|
|
|
|
self.retranslateUi(MoveDialog)
|
|
QtCore.QMetaObject.connectSlotsByName(MoveDialog)
|
|
MoveDialog.setTabOrder(self.fromcomboBox, self.listWidget)
|
|
MoveDialog.setTabOrder(self.listWidget, self.tocomboBox)
|
|
MoveDialog.setTabOrder(self.tocomboBox, self.buttonBox)
|
|
|
|
def retranslateUi(self, MoveDialog):
|
|
_translate = QtCore.QCoreApplication.translate
|
|
MoveDialog.setWindowTitle(_translate("MoveDialog", "Insert Reel 2 Real song."))
|
|
self.label_2.setText(_translate("MoveDialog", "To"))
|
|
self.label.setText(_translate("MoveDialog", "From"))
|
|
self.copy_button.setText(_translate("MoveDialog", "Copy"))
|
|
self.move_button.setText(_translate("MoveDialog", "Move"))
|