|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
# Form implementation generated from reading ui file '/home/ricardoar/JRO_SVN/eric4/jro_backup_manager/ui/Parameters.ui'
|
|
|
#
|
|
|
# Created: Wed May 26 16:31:58 2010
|
|
|
# by: PyQt4 UI code generator 4.6
|
|
|
#
|
|
|
# WARNING! All changes made in this file will be lost!
|
|
|
|
|
|
from PyQt4 import QtCore, QtGui
|
|
|
|
|
|
class Ui_Parameters(object):
|
|
|
def setupUi(self, Parameters):
|
|
|
Parameters.setObjectName("Parameters")
|
|
|
Parameters.resize(207, 152)
|
|
|
self.verticalLayout = QtGui.QVBoxLayout(Parameters)
|
|
|
self.verticalLayout.setObjectName("verticalLayout")
|
|
|
self.horizontalLayout_3 = QtGui.QHBoxLayout()
|
|
|
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
|
|
|
self.verticalLayout_2 = QtGui.QVBoxLayout()
|
|
|
self.verticalLayout_2.setObjectName("verticalLayout_2")
|
|
|
self.label = QtGui.QLabel(Parameters)
|
|
|
self.label.setObjectName("label")
|
|
|
self.verticalLayout_2.addWidget(self.label)
|
|
|
self.label_3 = QtGui.QLabel(Parameters)
|
|
|
self.label_3.setObjectName("label_3")
|
|
|
self.verticalLayout_2.addWidget(self.label_3)
|
|
|
self.label_2 = QtGui.QLabel(Parameters)
|
|
|
self.label_2.setObjectName("label_2")
|
|
|
self.verticalLayout_2.addWidget(self.label_2)
|
|
|
self.horizontalLayout_3.addLayout(self.verticalLayout_2)
|
|
|
self.verticalLayout_3 = QtGui.QVBoxLayout()
|
|
|
self.verticalLayout_3.setObjectName("verticalLayout_3")
|
|
|
self.txtNcopys = QtGui.QSpinBox(Parameters)
|
|
|
self.txtNcopys.setMinimum(1)
|
|
|
self.txtNcopys.setMaximum(999)
|
|
|
self.txtNcopys.setObjectName("txtNcopys")
|
|
|
self.verticalLayout_3.addWidget(self.txtNcopys)
|
|
|
self.txtDisc = QtGui.QSpinBox(Parameters)
|
|
|
self.txtDisc.setMinimum(1)
|
|
|
self.txtDisc.setMaximum(999999)
|
|
|
self.txtDisc.setObjectName("txtDisc")
|
|
|
self.verticalLayout_3.addWidget(self.txtDisc)
|
|
|
self.txtCopy = QtGui.QSpinBox(Parameters)
|
|
|
self.txtCopy.setMinimum(1)
|
|
|
self.txtCopy.setMaximum(999)
|
|
|
self.txtCopy.setObjectName("txtCopy")
|
|
|
self.verticalLayout_3.addWidget(self.txtCopy)
|
|
|
self.horizontalLayout_3.addLayout(self.verticalLayout_3)
|
|
|
self.verticalLayout.addLayout(self.horizontalLayout_3)
|
|
|
self.buttonBox = QtGui.QDialogButtonBox(Parameters)
|
|
|
self.buttonBox.setOrientation(QtCore.Qt.Horizontal)
|
|
|
self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Cancel|QtGui.QDialogButtonBox.Ok)
|
|
|
self.buttonBox.setObjectName("buttonBox")
|
|
|
self.verticalLayout.addWidget(self.buttonBox)
|
|
|
|
|
|
self.retranslateUi(Parameters)
|
|
|
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), Parameters.accept)
|
|
|
QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), Parameters.reject)
|
|
|
QtCore.QMetaObject.connectSlotsByName(Parameters)
|
|
|
|
|
|
def retranslateUi(self, Parameters):
|
|
|
Parameters.setWindowTitle(QtGui.QApplication.translate("Parameters", "Parameters", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
self.label.setText(QtGui.QApplication.translate("Parameters", "N° Copys", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
self.label_3.setText(QtGui.QApplication.translate("Parameters", "Disc", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
self.label_2.setText(QtGui.QApplication.translate("Parameters", "Copy", None, QtGui.QApplication.UnicodeUTF8))
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
import sys
|
|
|
app = QtGui.QApplication(sys.argv)
|
|
|
Parameters = QtGui.QDialog()
|
|
|
ui = Ui_Parameters()
|
|
|
ui.setupUi(Parameters)
|
|
|
Parameters.show()
|
|
|
sys.exit(app.exec_())
|
|
|
|
|
|
|