aboutsummaryrefslogtreecommitdiffstats
path: root/mageiaSync/mageiaSyncDBrename.py
blob: 4e550bacb048b522a4cc0da88f1fe52d71e8577b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'mageiaSyncDBrename.ui'
#
# Created by: PyQt5 UI code generator 5.4.2
#
# WARNING! All changes made in this file will be lost!

from PyQt5 import QtCore, QtGui, QtWidgets

class Ui_renameDialog(object):
    def setupUi(self, renameDialog):
        renameDialog.setObjectName("renameDialog")
        renameDialog.resize(667, 155)
        self.gridLayout = QtWidgets.QGridLayout(renameDialog)
        self.gridLayout.setObjectName("gridLayout")
        self.gridLayout_2 = QtWidgets.QGridLayout()
        self.gridLayout_2.setObjectName("gridLayout_2")
        self.label_3 = QtWidgets.QLabel(renameDialog)
        self.label_3.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
        self.label_3.setWordWrap(False)
        self.label_3.setObjectName("label_3")
        self.gridLayout_2.addWidget(self.label_3, 0, 0, 1, 2)
        self.label_4 = QtWidgets.QLabel(renameDialog)
        self.label_4.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
        self.label_4.setObjectName("label_4")
        self.gridLayout_2.addWidget(self.label_4, 1, 0, 1, 1)
        self.chooseDir = QtWidgets.QPushButton(renameDialog)
        self.chooseDir.setObjectName("chooseDir")
        self.gridLayout_2.addWidget(self.chooseDir, 1, 1, 1, 1)
        self.label = QtWidgets.QLabel(renameDialog)
        self.label.setObjectName("label")
        self.gridLayout_2.addWidget(self.label, 2, 0, 1, 1)
        self.oldRelease = QtWidgets.QLineEdit(renameDialog)
        self.oldRelease.setObjectName("oldRelease")
        self.gridLayout_2.addWidget(self.oldRelease, 2, 1, 1, 1)
        self.label_2 = QtWidgets.QLabel(renameDialog)
        self.label_2.setObjectName("label_2")
        self.gridLayout_2.addWidget(self.label_2, 3, 0, 1, 1)
        self.newRelease = QtWidgets.QLineEdit(renameDialog)
        self.newRelease.setObjectName("newRelease")
        self.gridLayout_2.addWidget(self.newRelease, 3, 1, 1, 1)
        self.gridLayout.addLayout(self.gridLayout_2, 0, 0, 1, 1)
        self.buttonBox = QtWidgets.QDialogButtonBox(renameDialog)
        self.buttonBox.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
        self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
        self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Cancel|QtWidgets.QDialogButtonBox.Ok)
        self.buttonBox.setCenterButtons(True)
        self.buttonBox.setObjectName("buttonBox")
        self.gridLayout.addWidget(self.buttonBox, 1, 0, 1, 1)

        self.retranslateUi(renameDialog)
        self.buttonBox.accepted.connect(renameDialog.accept)
        self.buttonBox.rejected.connect(renameDialog.reject)
        QtCore.QMetaObject.connectSlotsByName(renameDialog)
        renameDialog.setTabOrder(self.chooseDir, self.oldRelease)
        renameDialog.setTabOrder(self.oldRelease, self.newRelease)

    def retranslateUi(self, renameDialog):
        _translate = QtCore.QCoreApplication.translate
        renameDialog.setWindowTitle(_translate("renameDialog", "Rename release"))
        self.label_3.setText(_translate("renameDialog", "This action renames the directories and names from a former version to a new one."))
        self.label_4.setText(_translate("renameDialog", "Base directory"))
        self.chooseDir.setText(_translate("renameDialog", "PushButton"))
        self.label.setText(_translate("renameDialog", "Old release"))
        self.label_2.setText(_translate("renameDialog", "New release"))