diff options
author | Papoteur <papoteur@mageia.org> | 2024-03-01 19:05:48 +0100 |
---|---|---|
committer | Papoteur <papoteur@mageia.org> | 2024-03-01 19:05:48 +0100 |
commit | 8a2270937307b45a783b927ef2384b542698f229 (patch) | |
tree | e8da06fb1c7ca03df6da1a3d388c72fdc229880a /mageiaSync | |
parent | 5d99877fbc3eb092c3cab371918d4815e07af2b9 (diff) | |
download | MageiaSync-8a2270937307b45a783b927ef2384b542698f229.tar MageiaSync-8a2270937307b45a783b927ef2384b542698f229.tar.gz MageiaSync-8a2270937307b45a783b927ef2384b542698f229.tar.bz2 MageiaSync-8a2270937307b45a783b927ef2384b542698f229.tar.xz MageiaSync-8a2270937307b45a783b927ef2384b542698f229.zip |
Remove generated Python files for interface, window are directly loaded now.
Diffstat (limited to 'mageiaSync')
-rw-r--r-- | mageiaSync/mageiaSyncAbout.py | 73 | ||||
-rw-r--r-- | mageiaSync/mageiaSyncCredits.py | 43 | ||||
-rw-r--r-- | mageiaSync/mageiaSyncDBprefs.py | 112 | ||||
-rw-r--r-- | mageiaSync/mageiaSyncDBprefs0.py | 77 | ||||
-rw-r--r-- | mageiaSync/mageiaSyncDBrename.py | 67 | ||||
-rw-r--r-- | mageiaSync/mageiaSyncDBupdate.py | 37 | ||||
-rw-r--r-- | mageiaSync/mageiaSyncUI.py | 183 |
7 files changed, 0 insertions, 592 deletions
diff --git a/mageiaSync/mageiaSyncAbout.py b/mageiaSync/mageiaSyncAbout.py deleted file mode 100644 index fc6c1a9..0000000 --- a/mageiaSync/mageiaSyncAbout.py +++ /dev/null @@ -1,73 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'mageiaSyncAbout.ui' -# -# Created: Sat Apr 4 09:01:49 2015 -# by: PyQt5 UI code generator 5.1.1 -# -# WARNING! All changes made in this file will be lost! - -from PyQt5 import QtCore, QtGui, QtWidgets - -class Ui_aboutDialog(object): - def setupUi(self, aboutDialog): - aboutDialog.setObjectName("aboutDialog") - aboutDialog.resize(452, 353) - aboutDialog.setWindowTitle("mageiaSync") - self.verticalLayout = QtWidgets.QVBoxLayout(aboutDialog) - self.verticalLayout.setObjectName("verticalLayout") - self.verticalLayout_3 = QtWidgets.QVBoxLayout() - self.verticalLayout_3.setObjectName("verticalLayout_3") - self.horizontalLayout = QtWidgets.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - self.label_4 = QtWidgets.QLabel(aboutDialog) - self.label_4.setMaximumSize(QtCore.QSize(200, 200)) - self.label_4.setText("") - self.label_4.setPixmap(QtGui.QPixmap("/usr/share/icons/hicolor/scalable/apps/mageiasync.svg")) - self.label_4.setScaledContents(True) - self.label_4.setAlignment(QtCore.Qt.AlignCenter) - self.label_4.setContentsMargins(30, 30, 30, 30) - self.label_4.setIndent(0) - self.label_4.setObjectName("label_4") - self.horizontalLayout.addWidget(self.label_4) - self.verticalLayout_3.addLayout(self.horizontalLayout) - self.label = QtWidgets.QLabel(aboutDialog) - font = QtGui.QFont() - font.setPointSize(11) - self.label.setFont(font) - self.label.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.label.setText("mageiaSync") - self.label.setAlignment(QtCore.Qt.AlignCenter) - self.label.setObjectName("label") - self.verticalLayout_3.addWidget(self.label) - self.label_2 = QtWidgets.QLabel(aboutDialog) - self.label_2.setAlignment(QtCore.Qt.AlignCenter) - self.label_2.setObjectName("label_2") - self.verticalLayout_3.addWidget(self.label_2) - self.label_3 = QtWidgets.QLabel(aboutDialog) - self.label_3.setAlignment(QtCore.Qt.AlignCenter) - self.label_3.setObjectName("label_3") - self.verticalLayout_3.addWidget(self.label_3) - self.verticalLayout.addLayout(self.verticalLayout_3) - self.horizontalLayout_2 = QtWidgets.QHBoxLayout() - self.horizontalLayout_2.setObjectName("horizontalLayout_2") - self.creditsButton = QtWidgets.QPushButton(aboutDialog) - self.creditsButton.setObjectName("creditsButton") - self.horizontalLayout_2.addWidget(self.creditsButton) - self.buttonBox = QtWidgets.QDialogButtonBox(aboutDialog) - self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Ok) - self.buttonBox.setCenterButtons(True) - self.buttonBox.setObjectName("buttonBox") - self.horizontalLayout_2.addWidget(self.buttonBox) - self.verticalLayout.addLayout(self.horizontalLayout_2) - - self.retranslateUi(aboutDialog) - self.buttonBox.accepted.connect(aboutDialog.close) - QtCore.QMetaObject.connectSlotsByName(aboutDialog) - - def retranslateUi(self, aboutDialog): - _translate = QtCore.QCoreApplication.translate - self.label_2.setText(_translate("aboutDialog", "A tool for loading ISO images. It is a frontend to rsync.")) - self.label_3.setText(_translate("aboutDialog", "License: GNU GPL v3")) - self.creditsButton.setText(_translate("aboutDialog", "Credits")) - diff --git a/mageiaSync/mageiaSyncCredits.py b/mageiaSync/mageiaSyncCredits.py deleted file mode 100644 index b7d2901..0000000 --- a/mageiaSync/mageiaSyncCredits.py +++ /dev/null @@ -1,43 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'mageiaSyncCredits.ui' -# -# Created: Fri Apr 3 18:39:03 2015 -# by: PyQt5 UI code generator 5.1.1 -# -# WARNING! All changes made in this file will be lost! - -from PyQt5 import QtCore, QtGui, QtWidgets - -class Ui_creditsDialog(object): - def setupUi(self, creditsDialog): - creditsDialog.setObjectName("creditsDialog") - creditsDialog.resize(452, 346) - creditsDialog.setWindowTitle("mageiaSync") - self.verticalLayout = QtWidgets.QVBoxLayout(creditsDialog) - self.verticalLayout.setObjectName("verticalLayout") - self.verticalLayout_3 = QtWidgets.QVBoxLayout() - self.verticalLayout_3.setObjectName("verticalLayout_3") - self.horizontalLayout = QtWidgets.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - self.verticalLayout_3.addLayout(self.horizontalLayout) - self.Readme = QtWidgets.QTextBrowser(creditsDialog) - self.Readme.setObjectName("Readme") - self.verticalLayout_3.addWidget(self.Readme) - self.verticalLayout.addLayout(self.verticalLayout_3) - self.horizontalLayout_2 = QtWidgets.QHBoxLayout() - self.horizontalLayout_2.setObjectName("horizontalLayout_2") - self.buttonBox = QtWidgets.QDialogButtonBox(creditsDialog) - self.buttonBox.setStandardButtons(QtWidgets.QDialogButtonBox.Ok) - self.buttonBox.setCenterButtons(True) - self.buttonBox.setObjectName("buttonBox") - self.horizontalLayout_2.addWidget(self.buttonBox) - self.verticalLayout.addLayout(self.horizontalLayout_2) - - self.retranslateUi(creditsDialog) - self.buttonBox.accepted.connect(creditsDialog.close) - QtCore.QMetaObject.connectSlotsByName(creditsDialog) - - def retranslateUi(self, creditsDialog): - pass - diff --git a/mageiaSync/mageiaSyncDBprefs.py b/mageiaSync/mageiaSyncDBprefs.py deleted file mode 100644 index daac3c0..0000000 --- a/mageiaSync/mageiaSyncDBprefs.py +++ /dev/null @@ -1,112 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'mageiaSyncDBprefs.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_prefsDialog(object): - def setupUi(self, prefsDialog): - prefsDialog.setObjectName("prefsDialog") - prefsDialog.resize(544, 257) - self.gridLayout = QtWidgets.QGridLayout(prefsDialog) - self.gridLayout.setObjectName("gridLayout") - self.gridLayout_2 = QtWidgets.QGridLayout() - self.gridLayout_2.setObjectName("gridLayout_2") - self.label_7 = QtWidgets.QLabel(prefsDialog) - self.label_7.setObjectName("label_7") - self.gridLayout_2.addWidget(self.label_7, 0, 0, 1, 2) - self.label = QtWidgets.QLabel(prefsDialog) - self.label.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.label.setObjectName("label") - self.gridLayout_2.addWidget(self.label, 1, 0, 1, 1) - self.release = QtWidgets.QComboBox(prefsDialog) - self.release.setEditable(True) - self.release.setObjectName("release") - self.gridLayout_2.addWidget(self.release, 1, 1, 1, 1) - self.label_2 = QtWidgets.QLabel(prefsDialog) - self.label_2.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.label_2.setObjectName("label_2") - self.gridLayout_2.addWidget(self.label_2, 2, 0, 1, 1) - self.user = QtWidgets.QLineEdit(prefsDialog) - self.user.setToolTip("") - self.user.setStatusTip("") - self.user.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.user.setObjectName("user") - self.gridLayout_2.addWidget(self.user, 2, 1, 1, 1) - self.label_3 = QtWidgets.QLabel(prefsDialog) - self.label_3.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.label_3.setObjectName("label_3") - self.gridLayout_2.addWidget(self.label_3, 3, 0, 1, 1) - self.password = QtWidgets.QLineEdit(prefsDialog) - self.password.setToolTip("") - self.password.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.password.setObjectName("password") - self.gridLayout_2.addWidget(self.password, 3, 1, 1, 1) - self.label_4 = QtWidgets.QLabel(prefsDialog) - 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, 4, 0, 1, 1) - self.location = QtWidgets.QLineEdit(prefsDialog) - self.location.setToolTip("") - self.location.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.location.setObjectName("location") - self.gridLayout_2.addWidget(self.location, 4, 1, 1, 1) - self.label_5 = QtWidgets.QLabel(prefsDialog) - self.label_5.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.label_5.setObjectName("label_5") - self.gridLayout_2.addWidget(self.label_5, 5, 0, 1, 1) - self.selectDest = QtWidgets.QPushButton(prefsDialog) - self.selectDest.setToolTip("") - self.selectDest.setText("PushButton") - self.selectDest.setObjectName("selectDest") - self.gridLayout_2.addWidget(self.selectDest, 5, 1, 1, 1) - self.label_6 = QtWidgets.QLabel(prefsDialog) - self.label_6.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.label_6.setObjectName("label_6") - self.gridLayout_2.addWidget(self.label_6, 6, 0, 1, 1) - self.bwl = QtWidgets.QSpinBox(prefsDialog) - self.bwl.setToolTip("") - self.bwl.setMaximum(100000) - self.bwl.setSingleStep(50) - self.bwl.setObjectName("bwl") - self.gridLayout_2.addWidget(self.bwl, 6, 1, 1, 1) - self.gridLayout.addLayout(self.gridLayout_2, 0, 0, 1, 1) - self.buttonBox = QtWidgets.QDialogButtonBox(prefsDialog) - 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(prefsDialog) - self.buttonBox.accepted.connect(prefsDialog.accept) - self.buttonBox.rejected.connect(prefsDialog.reject) - QtCore.QMetaObject.connectSlotsByName(prefsDialog) - prefsDialog.setTabOrder(self.release, self.user) - prefsDialog.setTabOrder(self.user, self.password) - prefsDialog.setTabOrder(self.password, self.location) - prefsDialog.setTabOrder(self.location, self.selectDest) - prefsDialog.setTabOrder(self.selectDest, self.bwl) - - def retranslateUi(self, prefsDialog): - _translate = QtCore.QCoreApplication.translate - prefsDialog.setWindowTitle(_translate("prefsDialog", "Preferences")) - self.label_7.setText(_translate("prefsDialog", "Define parameters which are stored and used for rsync")) - self.label.setToolTip(_translate("prefsDialog", "Give the release name like \"mageia5-alpha2\"")) - self.label.setText(_translate("prefsDialog", "Release:")) - self.label_2.setToolTip(_translate("prefsDialog", "User name to access the repository. Only for testing repository.")) - self.label_2.setText(_translate("prefsDialog", "User:")) - self.label_3.setToolTip(_translate("prefsDialog", "Associated with user, if needed")) - self.label_3.setText(_translate("prefsDialog", "Password:")) - self.label_4.setToolTip(_translate("prefsDialog", "Source repository. Keep void to use the testing repo.")) - self.label_4.setText(_translate("prefsDialog", "Source:")) - self.label_5.setToolTip(_translate("prefsDialog", "The local directory where you store ISOs. Will sync your existent ISOs already present.")) - self.label_5.setText(_translate("prefsDialog", "Destination:")) - self.label_6.setToolTip(_translate("prefsDialog", "Set to zero if you don\'t want apply limit.")) - self.label_6.setText(_translate("prefsDialog", "Bandwith limit (kB/s):")) - diff --git a/mageiaSync/mageiaSyncDBprefs0.py b/mageiaSync/mageiaSyncDBprefs0.py deleted file mode 100644 index 81cf0bd..0000000 --- a/mageiaSync/mageiaSyncDBprefs0.py +++ /dev/null @@ -1,77 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'mageiaSyncDBprefs0.ui' -# -# Created: Sat Sep 20 21:16:42 2014 -# by: PyQt5 UI code generator 5.1.1 -# -# WARNING! All changes made in this file will be lost! - -from PyQt5 import QtCore, QtGui, QtWidgets - -class Ui_prefsDialog0(object): - def setupUi(self, prefsDialog0): - prefsDialog0.setObjectName("prefsDialog0") - prefsDialog0.resize(520, 171) - self.buttonBox = QtWidgets.QDialogButtonBox(prefsDialog0) - self.buttonBox.setGeometry(QtCore.QRect(10, 130, 511, 32)) - 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.formLayoutWidget = QtWidgets.QWidget(prefsDialog0) - self.formLayoutWidget.setGeometry(QtCore.QRect(9, 9, 501, 111)) - self.formLayoutWidget.setObjectName("formLayoutWidget") - self.formLayout = QtWidgets.QFormLayout(self.formLayoutWidget) - self.formLayout.setFieldGrowthPolicy(QtWidgets.QFormLayout.AllNonFixedFieldsGrow) - self.formLayout.setContentsMargins(0, 0, 0, 0) - self.formLayout.setObjectName("formLayout") - self.label_7 = QtWidgets.QLabel(self.formLayoutWidget) - self.label_7.setObjectName("label_7") - self.formLayout.setWidget(0, QtWidgets.QFormLayout.SpanningRole, self.label_7) - self.label_2 = QtWidgets.QLabel(self.formLayoutWidget) - self.label_2.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.label_2.setObjectName("label_2") - self.formLayout.setWidget(1, QtWidgets.QFormLayout.LabelRole, self.label_2) - self.user = QtWidgets.QLineEdit(self.formLayoutWidget) - self.user.setToolTip("") - self.user.setStatusTip("") - self.user.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.user.setObjectName("user") - self.formLayout.setWidget(1, QtWidgets.QFormLayout.FieldRole, self.user) - self.label_3 = QtWidgets.QLabel(self.formLayoutWidget) - self.label_3.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.label_3.setObjectName("label_3") - self.formLayout.setWidget(2, QtWidgets.QFormLayout.LabelRole, self.label_3) - self.password = QtWidgets.QLineEdit(self.formLayoutWidget) - self.password.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.password.setObjectName("password") - self.formLayout.setWidget(2, QtWidgets.QFormLayout.FieldRole, self.password) - self.label_4 = QtWidgets.QLabel(self.formLayoutWidget) - self.label_4.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.label_4.setObjectName("label_4") - self.formLayout.setWidget(3, QtWidgets.QFormLayout.LabelRole, self.label_4) - self.location = QtWidgets.QLineEdit(self.formLayoutWidget) - self.location.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.location.setObjectName("location") - self.formLayout.setWidget(3, QtWidgets.QFormLayout.FieldRole, self.location) - - self.retranslateUi(prefsDialog0) - self.buttonBox.accepted.connect(prefsDialog0.accept) - self.buttonBox.rejected.connect(prefsDialog0.reject) - QtCore.QMetaObject.connectSlotsByName(prefsDialog0) - - def retranslateUi(self, prefsDialog0): - _translate = QtCore.QCoreApplication.translate - prefsDialog0.setWindowTitle(_translate("prefsDialog0", "Preferences")) - self.label_7.setText(_translate("prefsDialog0", "Define parameters which are stored and used for rsync")) - self.label_2.setToolTip(_translate("prefsDialog0", "User name to access the repository. Only for testing repository.")) - self.label_2.setText(_translate("prefsDialog0", "User:")) - self.label_3.setToolTip(_translate("prefsDialog0", "Associated with user, if needed")) - self.label_3.setText(_translate("prefsDialog0", "Password:")) - self.password.setToolTip(_translate("prefsDialog0", "Give a value if you want to use testing repository")) - self.label_4.setToolTip(_translate("prefsDialog0", "Source repository. Keep void to use the testing repo.")) - self.label_4.setText(_translate("prefsDialog0", "Source:")) - self.location.setToolTip(_translate("prefsDialog0", "Give a mirror address with public access")) - diff --git a/mageiaSync/mageiaSyncDBrename.py b/mageiaSync/mageiaSyncDBrename.py deleted file mode 100644 index 4e550ba..0000000 --- a/mageiaSync/mageiaSyncDBrename.py +++ /dev/null @@ -1,67 +0,0 @@ -# -*- 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")) - diff --git a/mageiaSync/mageiaSyncDBupdate.py b/mageiaSync/mageiaSyncDBupdate.py deleted file mode 100644 index 8ec2c47..0000000 --- a/mageiaSync/mageiaSyncDBupdate.py +++ /dev/null @@ -1,37 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'mageiaSyncDBupdate.ui' -# -# Created: Tue Aug 26 07:25:11 2014 -# by: PyQt5 UI code generator 5.1.1 -# -# WARNING! All changes made in this file will be lost! - -from PyQt5 import QtCore, QtGui, QtWidgets - -class Ui_Dialog(object): - def setupUi(self, Dialog): - Dialog.setObjectName("Dialog") - Dialog.resize(382, 102) - self.verticalLayoutWidget = QtWidgets.QWidget(Dialog) - self.verticalLayoutWidget.setGeometry(QtCore.QRect(0, -1, 381, 101)) - self.verticalLayoutWidget.setObjectName("verticalLayoutWidget") - self.verticalLayout = QtWidgets.QVBoxLayout(self.verticalLayoutWidget) - self.verticalLayout.setContentsMargins(0, 0, 0, 0) - self.verticalLayout.setObjectName("verticalLayout") - self.label = QtWidgets.QLabel(self.verticalLayoutWidget) - self.label.setObjectName("label") - self.verticalLayout.addWidget(self.label) - self.progressBar = QtWidgets.QProgressBar(self.verticalLayoutWidget) - self.progressBar.setProperty("value", 24) - self.progressBar.setObjectName("progressBar") - self.verticalLayout.addWidget(self.progressBar) - - self.retranslateUi(Dialog) - QtCore.QMetaObject.connectSlotsByName(Dialog) - - def retranslateUi(self, Dialog): - _translate = QtCore.QCoreApplication.translate - Dialog.setWindowTitle(_translate("Dialog", "Dialog")) - self.label.setText(_translate("Dialog", "Loading images list from repository...")) - diff --git a/mageiaSync/mageiaSyncUI.py b/mageiaSync/mageiaSyncUI.py deleted file mode 100644 index 77a9f58..0000000 --- a/mageiaSync/mageiaSyncUI.py +++ /dev/null @@ -1,183 +0,0 @@ -# -*- coding: utf-8 -*- - -# Form implementation generated from reading ui file 'mageiaSyncUI.ui' -# -# Created by: PyQt5 UI code generator 5.12.1 -# -# WARNING! All changes made in this file will be lost! - -from PyQt5 import QtCore, QtGui, QtWidgets - - -class Ui_mainWindow(object): - def setupUi(self, mainWindow): - mainWindow.setObjectName("mainWindow") - mainWindow.resize(820, 627) - mainWindow.setWindowTitle("mageiaSync 0.4.7") - icon = QtGui.QIcon() - icon.addPixmap(QtGui.QPixmap("../../../../usr/share/icons/hicolor/scalable/apps/mageiasync.svg"), QtGui.QIcon.Normal, QtGui.QIcon.Off) - mainWindow.setWindowIcon(icon) - mainWindow.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.centralwidget = QtWidgets.QWidget(mainWindow) - self.centralwidget.setObjectName("centralwidget") - self.gridLayout = QtWidgets.QGridLayout(self.centralwidget) - self.gridLayout.setObjectName("gridLayout") - self.horizontalLayout_3 = QtWidgets.QHBoxLayout() - self.horizontalLayout_3.setSizeConstraint(QtWidgets.QLayout.SetFixedSize) - self.horizontalLayout_3.setObjectName("horizontalLayout_3") - self.remoteDirLabel = QtWidgets.QLabel(self.centralwidget) - self.remoteDirLabel.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.remoteDirLabel.setObjectName("remoteDirLabel") - self.horizontalLayout_3.addWidget(self.remoteDirLabel) - self.selectAll = QtWidgets.QPushButton(self.centralwidget) - self.selectAll.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.selectAll.setObjectName("selectAll") - self.horizontalLayout_3.addWidget(self.selectAll) - self.gridLayout.addLayout(self.horizontalLayout_3, 0, 0, 1, 1) - self.listIsos = QtWidgets.QTableView(self.centralwidget) - self.listIsos.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers) - self.listIsos.setAlternatingRowColors(True) - self.listIsos.setSelectionMode(QtWidgets.QAbstractItemView.MultiSelection) - self.listIsos.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows) - self.listIsos.setGridStyle(QtCore.Qt.DotLine) - self.listIsos.setObjectName("listIsos") - self.listIsos.verticalHeader().setVisible(False) - self.gridLayout.addWidget(self.listIsos, 1, 0, 1, 1) - self.localDirLabel = QtWidgets.QLabel(self.centralwidget) - self.localDirLabel.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.localDirLabel.setText("Local directory:") - self.localDirLabel.setObjectName("localDirLabel") - self.gridLayout.addWidget(self.localDirLabel, 2, 0, 1, 1) - self.localList = QtWidgets.QTableView(self.centralwidget) - self.localList.setMaximumSize(QtCore.QSize(16777215, 16777215)) - self.localList.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.localList.setEditTriggers(QtWidgets.QAbstractItemView.NoEditTriggers) - self.localList.setAlternatingRowColors(True) - self.localList.setSelectionMode(QtWidgets.QAbstractItemView.MultiSelection) - self.localList.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows) - self.localList.setGridStyle(QtCore.Qt.DotLine) - self.localList.setObjectName("localList") - self.localList.verticalHeader().setVisible(False) - self.gridLayout.addWidget(self.localList, 3, 0, 1, 1) - self.horizontalLayout_2 = QtWidgets.QHBoxLayout() - self.horizontalLayout_2.setContentsMargins(-1, -1, -1, 9) - self.horizontalLayout_2.setObjectName("horizontalLayout_2") - self.IprogressBar = QtWidgets.QProgressBar(self.centralwidget) - self.IprogressBar.setEnabled(True) - self.IprogressBar.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.IprogressBar.setProperty("value", 24) - self.IprogressBar.setObjectName("IprogressBar") - self.horizontalLayout_2.addWidget(self.IprogressBar) - self.Lsize = QtWidgets.QLabel(self.centralwidget) - self.Lsize.setObjectName("Lsize") - self.horizontalLayout_2.addWidget(self.Lsize) - self.speedLCD = QtWidgets.QLCDNumber(self.centralwidget) - self.speedLCD.setObjectName("speedLCD") - self.horizontalLayout_2.addWidget(self.speedLCD) - self.label_2 = QtWidgets.QLabel(self.centralwidget) - self.label_2.setObjectName("label_2") - self.horizontalLayout_2.addWidget(self.label_2) - self.label_3 = QtWidgets.QLabel(self.centralwidget) - self.label_3.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.label_3.setObjectName("label_3") - self.horizontalLayout_2.addWidget(self.label_3) - self.timeRemaining = QtWidgets.QTimeEdit(self.centralwidget) - self.timeRemaining.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.timeRemaining.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter) - self.timeRemaining.setReadOnly(True) - self.timeRemaining.setButtonSymbols(QtWidgets.QAbstractSpinBox.NoButtons) - self.timeRemaining.setObjectName("timeRemaining") - self.horizontalLayout_2.addWidget(self.timeRemaining) - self.gridLayout.addLayout(self.horizontalLayout_2, 4, 0, 1, 1) - self.label = QtWidgets.QLabel(self.centralwidget) - self.label.setObjectName("label") - self.gridLayout.addWidget(self.label, 5, 0, 1, 1) - self.lvText = QtWidgets.QTextEdit(self.centralwidget) - self.lvText.setReadOnly(True) - self.lvText.setObjectName("lvText") - self.gridLayout.addWidget(self.lvText, 6, 0, 1, 1) - self.horizontalLayout = QtWidgets.QHBoxLayout() - self.horizontalLayout.setObjectName("horizontalLayout") - self.syncGo = QtWidgets.QPushButton(self.centralwidget) - self.syncGo.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.syncGo.setObjectName("syncGo") - self.horizontalLayout.addWidget(self.syncGo) - self.stop = QtWidgets.QPushButton(self.centralwidget) - self.stop.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.stop.setObjectName("stop") - self.horizontalLayout.addWidget(self.stop) - self.quit = QtWidgets.QPushButton(self.centralwidget) - self.quit.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.quit.setObjectName("quit") - self.horizontalLayout.addWidget(self.quit) - self.gridLayout.addLayout(self.horizontalLayout, 7, 0, 1, 1) - mainWindow.setCentralWidget(self.centralwidget) - self.menubar = QtWidgets.QMenuBar(mainWindow) - self.menubar.setGeometry(QtCore.QRect(0, 0, 820, 33)) - self.menubar.setObjectName("menubar") - self.menuFile = QtWidgets.QMenu(self.menubar) - self.menuFile.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.menuFile.setObjectName("menuFile") - self.menuSync = QtWidgets.QMenu(self.menubar) - self.menuSync.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates)) - self.menuSync.setObjectName("menuSync") - self.menuA_bout = QtWidgets.QMenu(self.menubar) - self.menuA_bout.setObjectName("menuA_bout") - mainWindow.setMenuBar(self.menubar) - self.statusbar = QtWidgets.QStatusBar(mainWindow) - self.statusbar.setObjectName("statusbar") - mainWindow.setStatusBar(self.statusbar) - self.actionUpdate = QtWidgets.QAction(mainWindow) - self.actionUpdate.setObjectName("actionUpdate") - self.actionQuit = QtWidgets.QAction(mainWindow) - self.actionQuit.setObjectName("actionQuit") - self.actionPreferences = QtWidgets.QAction(mainWindow) - self.actionPreferences.setObjectName("actionPreferences") - self.actionRename = QtWidgets.QAction(mainWindow) - self.actionRename.setObjectName("actionRename") - self.actionCheck = QtWidgets.QAction(mainWindow) - self.actionCheck.setObjectName("actionCheck") - self.actionAbout = QtWidgets.QAction(mainWindow) - self.actionAbout.setObjectName("actionAbout") - self.actionOnline_help = QtWidgets.QAction(mainWindow) - self.actionOnline_help.setObjectName("actionOnline_help") - self.menuFile.addAction(self.actionUpdate) - self.menuFile.addAction(self.actionPreferences) - self.menuFile.addAction(self.actionQuit) - self.menuSync.addAction(self.actionRename) - self.menuSync.addAction(self.actionCheck) - self.menuA_bout.addAction(self.actionOnline_help) - self.menuA_bout.addAction(self.actionAbout) - self.menubar.addAction(self.menuFile.menuAction()) - self.menubar.addAction(self.menuSync.menuAction()) - self.menubar.addAction(self.menuA_bout.menuAction()) - - self.retranslateUi(mainWindow) - QtCore.QMetaObject.connectSlotsByName(mainWindow) - mainWindow.setTabOrder(self.syncGo, self.stop) - - def retranslateUi(self, mainWindow): - _translate = QtCore.QCoreApplication.translate - self.remoteDirLabel.setText(_translate("mainWindow", "Remote directory")) - self.selectAll.setText(_translate("mainWindow", "Select &All")) - self.Lsize.setText(_translate("mainWindow", "0 bytes")) - self.label_2.setText(_translate("mainWindow", "kB/s")) - self.label_3.setText(_translate("mainWindow", "Remaining:")) - self.timeRemaining.setDisplayFormat(_translate("mainWindow", "H:mm:ss")) - self.label.setText(_translate("mainWindow", "Report")) - self.syncGo.setText(_translate("mainWindow", "&Do sync")) - self.stop.setText(_translate("mainWindow", "&Stop")) - self.quit.setText(_translate("mainWindow", "&Quit")) - self.menuFile.setTitle(_translate("mainWindow", "&File")) - self.menuSync.setTitle(_translate("mainWindow", "S&ync")) - self.menuA_bout.setTitle(_translate("mainWindow", "&Help")) - self.actionUpdate.setText(_translate("mainWindow", "&Update list")) - self.actionQuit.setText(_translate("mainWindow", "&Quit")) - self.actionPreferences.setText(_translate("mainWindow", "&Preferences")) - self.actionRename.setText(_translate("mainWindow", "&Rename archives")) - self.actionCheck.setText(_translate("mainWindow", "&Check")) - self.actionCheck.setToolTip(_translate("mainWindow", "Check selected images")) - self.actionAbout.setText(_translate("mainWindow", "A&bout")) - self.actionOnline_help.setText(_translate("mainWindow", "Online &help")) - - |