aboutsummaryrefslogtreecommitdiffstats
path: root/mageiaSync/mageiaSyncUI.py
diff options
context:
space:
mode:
authorSARL ENR-68 <david@david.david>2014-09-20 18:08:10 +0200
committerSARL ENR-68 <david@david.david>2014-09-20 18:08:10 +0200
commit9a449b9ca39fa2857eede22a220b506e02fba707 (patch)
tree90fc98329aed7c8ddb74ad9de193a763efa6e088 /mageiaSync/mageiaSyncUI.py
parent3f84d86f8d0b462b5a0d39ea01d8e72cf3cf8dda (diff)
downloadMageiaSync-9a449b9ca39fa2857eede22a220b506e02fba707.tar
MageiaSync-9a449b9ca39fa2857eede22a220b506e02fba707.tar.gz
MageiaSync-9a449b9ca39fa2857eede22a220b506e02fba707.tar.bz2
MageiaSync-9a449b9ca39fa2857eede22a220b506e02fba707.tar.xz
MageiaSync-9a449b9ca39fa2857eede22a220b506e02fba707.zip
Merge branch local 'master' of david.david
- rename folder 'mageiaSync' instead of 'mageiasync' - fix setup.py file - fix spec file - add a CHANGELOG file
Diffstat (limited to 'mageiaSync/mageiaSyncUI.py')
-rw-r--r--mageiaSync/mageiaSyncUI.py148
1 files changed, 148 insertions, 0 deletions
diff --git a/mageiaSync/mageiaSyncUI.py b/mageiaSync/mageiaSyncUI.py
new file mode 100644
index 0000000..fed1972
--- /dev/null
+++ b/mageiaSync/mageiaSyncUI.py
@@ -0,0 +1,148 @@
+# -*- coding: utf-8 -*-
+
+# Form implementation generated from reading ui file 'mageiaSyncUI.ui'
+#
+# Created: Sat Aug 30 20:19:01 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_mainWindow(object):
+ def setupUi(self, mainWindow):
+ mainWindow.setObjectName("mainWindow")
+ mainWindow.resize(862, 587)
+ self.centralwidget = QtWidgets.QWidget(mainWindow)
+ self.centralwidget.setObjectName("centralwidget")
+ self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
+ self.verticalLayout.setObjectName("verticalLayout")
+ self.remoteDirLabel = QtWidgets.QLabel(self.centralwidget)
+ self.remoteDirLabel.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
+ self.remoteDirLabel.setObjectName("remoteDirLabel")
+ self.verticalLayout.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.verticalLayout.addWidget(self.selectAll)
+ self.listIsos = QtWidgets.QListWidget(self.centralwidget)
+ self.listIsos.setAlternatingRowColors(True)
+ self.listIsos.setSelectionMode(QtWidgets.QAbstractItemView.MultiSelection)
+ self.listIsos.setModelColumn(0)
+ self.listIsos.setObjectName("listIsos")
+ self.verticalLayout.addWidget(self.listIsos)
+ self.localDirLabel = QtWidgets.QLabel(self.centralwidget)
+ self.localDirLabel.setLocale(QtCore.QLocale(QtCore.QLocale.English, QtCore.QLocale.UnitedStates))
+ self.localDirLabel.setObjectName("localDirLabel")
+ self.verticalLayout.addWidget(self.localDirLabel)
+ self.localList = QtWidgets.QTableView(self.centralwidget)
+ 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.verticalLayout.addWidget(self.localList)
+ 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.verticalLayout.addLayout(self.horizontalLayout_2)
+ 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.verticalLayout.addLayout(self.horizontalLayout)
+ self.label = QtWidgets.QLabel(self.centralwidget)
+ self.label.setObjectName("label")
+ self.verticalLayout.addWidget(self.label)
+ self.lvText = QtWidgets.QTextEdit(self.centralwidget)
+ self.lvText.setReadOnly(True)
+ self.lvText.setObjectName("lvText")
+ self.verticalLayout.addWidget(self.lvText)
+ mainWindow.setCentralWidget(self.centralwidget)
+ self.menubar = QtWidgets.QMenuBar(mainWindow)
+ self.menubar.setGeometry(QtCore.QRect(0, 0, 862, 19))
+ 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.setObjectName("menuSync")
+ 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.menuFile.addAction(self.actionUpdate)
+ self.menuFile.addAction(self.actionPreferences)
+ self.menuFile.addAction(self.actionQuit)
+ self.menuSync.addAction(self.actionRename)
+ self.menubar.addAction(self.menuFile.menuAction())
+ self.menubar.addAction(self.menuSync.menuAction())
+
+ self.retranslateUi(mainWindow)
+ QtCore.QMetaObject.connectSlotsByName(mainWindow)
+ mainWindow.setTabOrder(self.syncGo, self.listIsos)
+ mainWindow.setTabOrder(self.listIsos, self.stop)
+
+ def retranslateUi(self, mainWindow):
+ _translate = QtCore.QCoreApplication.translate
+ mainWindow.setWindowTitle(_translate("mainWindow", "MageiaSync"))
+ self.remoteDirLabel.setText(_translate("mainWindow", "Remote directory"))
+ self.selectAll.setText(_translate("mainWindow", "Select All"))
+ self.localDirLabel.setText(_translate("mainWindow", "Local directory:"))
+ 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.syncGo.setText(_translate("mainWindow", "Do sync"))
+ self.stop.setText(_translate("mainWindow", "Stop"))
+ self.label.setText(_translate("mainWindow", "Report"))
+ self.menuFile.setTitle(_translate("mainWindow", "File"))
+ self.menuSync.setTitle(_translate("mainWindow", "Sync"))
+ 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"))
+