from PyQt4 import QtCore, QtGui
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("MainWindow")
MainWindow.setWindowModality(QtCore.Qt.NonModal)
MainWindow.resize(658, 622)
self.centralWidget = QtGui.QWidget(MainWindow)
self.centralWidget.setObjectName("centralWidget")
self.verticalLayout_5 = QtGui.QVBoxLayout(self.centralWidget)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.lbTitulo = QtGui.QLabel(self.centralWidget)
font = QtGui.QFont()
font.setFamily("Arial Black")
font.setPointSize(28)
font.setWeight(50)
font.setBold(False)
self.lbTitulo.setFont(font)
self.lbTitulo.setFrameShape(QtGui.QFrame.Box)
self.lbTitulo.setFrameShadow(QtGui.QFrame.Plain)
self.lbTitulo.setAlignment(QtCore.Qt.AlignCenter)
self.lbTitulo.setObjectName("lbTitulo")
self.verticalLayout_5.addWidget(self.lbTitulo)
self.splitter = QtGui.QSplitter(self.centralWidget)
self.splitter.setMidLineWidth(0)
self.splitter.setOrientation(QtCore.Qt.Vertical)
self.splitter.setHandleWidth(5)
self.splitter.setObjectName("splitter")
self.layoutWidget = QtGui.QWidget(self.splitter)
self.layoutWidget.setObjectName("layoutWidget")
self.hlayTop = QtGui.QHBoxLayout(self.layoutWidget)
self.hlayTop.setObjectName("hlayTop")
self.frame = QtGui.QFrame(self.layoutWidget)
self.frame.setFrameShape(QtGui.QFrame.StyledPanel)
self.frame.setFrameShadow(QtGui.QFrame.Raised)
self.frame.setObjectName("frame")
self.horizontalLayout_2 = QtGui.QHBoxLayout(self.frame)
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.verticalLayout = QtGui.QVBoxLayout()
self.verticalLayout.setObjectName("verticalLayout")
self.label = QtGui.QLabel(self.frame)
self.label.setObjectName("label")
self.verticalLayout.addWidget(self.label)
self.lsPastas = QtGui.QTreeView(self.frame)
self.lsPastas.setRootIsDecorated(True)
self.lsPastas.setAnimated(True)
self.lsPastas.setObjectName("lsPastas")
self.lsPastas.header().setDefaultSectionSize(150)
self.lsPastas.header().setMinimumSectionSize(150)
self.verticalLayout.addWidget(self.lsPastas)
self.horizontalLayout_2.addLayout(self.verticalLayout)
self.verticalLayout_2 = QtGui.QVBoxLayout()
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.verticalLayout_3 = QtGui.QVBoxLayout()
self.verticalLayout_3.setSpacing(2)
self.verticalLayout_3.setSizeConstraint(QtGui.QLayout.SetDefaultConstraint)
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.label_4 = QtGui.QLabel(self.frame)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Maximum)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
self.label_4.setSizePolicy(sizePolicy)
self.label_4.setObjectName("label_4")
self.verticalLayout_3.addWidget(self.label_4)
self.line_2 = QtGui.QFrame(self.frame)
self.line_2.setFrameShape(QtGui.QFrame.HLine)
self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
self.line_2.setObjectName("line_2")
self.verticalLayout_3.addWidget(self.line_2)
self.radioButton_4 = QtGui.QRadioButton(self.frame)
self.radioButton_4.setEnabled(False)
self.radioButton_4.setObjectName("radioButton_4")
self.verticalLayout_3.addWidget(self.radioButton_4)
self.radioButton_3 = QtGui.QRadioButton(self.frame)
self.radioButton_3.setEnabled(False)
self.radioButton_3.setObjectName("radioButton_3")
self.verticalLayout_3.addWidget(self.radioButton_3)
self.radioButton = QtGui.QRadioButton(self.frame)
self.radioButton.setEnabled(False)
self.radioButton.setObjectName("radioButton")
self.verticalLayout_3.addWidget(self.radioButton)
self.radioButton_2 = QtGui.QRadioButton(self.frame)
self.radioButton_2.setEnabled(False)
self.radioButton_2.setChecked(True)
self.radioButton_2.setObjectName("radioButton_2")
self.verticalLayout_3.addWidget(self.radioButton_2)
self.verticalLayout_2.addLayout(self.verticalLayout_3)
self.btCopiar = QtGui.QPushButton(self.frame)
self.btCopiar.setMinimumSize(QtCore.QSize(150, 35))
self.btCopiar.setObjectName("btCopiar")
self.verticalLayout_2.addWidget(self.btCopiar)
spacerItem = QtGui.QSpacerItem(20, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
self.verticalLayout_2.addItem(spacerItem)
self.horizontalLayout_2.addLayout(self.verticalLayout_2)
self.verticalLayout_4 = QtGui.QVBoxLayout()
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.label_2 = QtGui.QLabel(self.frame)
self.label_2.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTrailing|QtCore.Qt.AlignVCenter)
self.label_2.setObjectName("label_2")
self.verticalLayout_4.addWidget(self.label_2)
self.horizontalLayout = QtGui.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.label_3 = QtGui.QLabel(self.frame)
self.label_3.setObjectName("label_3")
self.horizontalLayout.addWidget(self.label_3)
self.txtFiltro = QtGui.QLineEdit(self.frame)
self.txtFiltro.setEnabled(False)
self.txtFiltro.setObjectName("txtFiltro")
self.horizontalLayout.addWidget(self.txtFiltro)
self.btClear = QtGui.QPushButton(self.frame)
self.btClear.setEnabled(False)
self.btClear.setObjectName("btClear")
self.horizontalLayout.addWidget(self.btClear)
self.verticalLayout_4.addLayout(self.horizontalLayout)
self.lsComputadores = QtGui.QTreeView(self.frame)
self.lsComputadores.setProperty("cursor", QtCore.Qt.PointingHandCursor)
self.lsComputadores.setAlternatingRowColors(True)
self.lsComputadores.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
self.lsComputadores.setSortingEnabled(True)
self.lsComputadores.setAnimated(True)
self.lsComputadores.setObjectName("lsComputadores")
self.lsComputadores.header().setVisible(False)
self.verticalLayout_4.addWidget(self.lsComputadores)
self.btRefresh = QtGui.QPushButton(self.frame)
self.btRefresh.setObjectName("btRefresh")
self.verticalLayout_4.addWidget(self.btRefresh)
self.horizontalLayout_2.addLayout(self.verticalLayout_4)
self.hlayTop.addWidget(self.frame)
self.txtSaida = QtGui.QTextEdit(self.splitter)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.txtSaida.sizePolicy().hasHeightForWidth())
self.txtSaida.setSizePolicy(sizePolicy)
self.txtSaida.setBaseSize(QtCore.QSize(0, 0))
self.txtSaida.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
self.txtSaida.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
self.txtSaida.setUndoRedoEnabled(False)
self.txtSaida.setLineWrapMode(QtGui.QTextEdit.NoWrap)
self.txtSaida.setReadOnly(True)
self.txtSaida.setObjectName("txtSaida")
self.verticalLayout_5.addWidget(self.splitter)
self.horizontalLayout_3 = QtGui.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.btCancelar = QtGui.QPushButton(self.centralWidget)
self.btCancelar.setEnabled(False)
self.btCancelar.setMinimumSize(QtCore.QSize(170, 35))
self.btCancelar.setText("")
self.btCancelar.setFlat(True)
self.btCancelar.setObjectName("btCancelar")
self.horizontalLayout_3.addWidget(self.btCancelar)
self.btFechar = QtGui.QPushButton(self.centralWidget)
self.btFechar.setMinimumSize(QtCore.QSize(170, 35))
self.btFechar.setMaximumSize(QtCore.QSize(150, 16777215))
self.btFechar.setObjectName("btFechar")
self.horizontalLayout_3.addWidget(self.btFechar)
self.verticalLayout_5.addLayout(self.horizontalLayout_3)
MainWindow.setCentralWidget(self.centralWidget)
self.menuBar = QtGui.QMenuBar(MainWindow)
self.menuBar.setGeometry(QtCore.QRect(0, 0, 658, 21))
self.menuBar.setObjectName("menuBar")
MainWindow.setMenuBar(self.menuBar)
self.retranslateUi(MainWindow)
QtCore.QObject.connect(self.btFechar, QtCore.SIGNAL("clicked()"), MainWindow.close)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Usina3D netCopy 0.1.0", None, QtGui.QApplication.UnicodeUTF8))
self.lbTitulo.setText(QtGui.QApplication.translate("MainWindow", "Usina 3D - NetCopy", None, QtGui.QApplication.UnicodeUTF8))
self.label.setText(QtGui.QApplication.translate("MainWindow", "Pasta ou Arquivo para copiar:", None, QtGui.QApplication.UnicodeUTF8))
self.label_4.setText(QtGui.QApplication.translate("MainWindow", "Se já existir:", None, QtGui.QApplication.UnicodeUTF8))
self.radioButton_4.setText(QtGui.QApplication.translate("MainWindow", "Ignorar", None, QtGui.QApplication.UnicodeUTF8))
self.radioButton_3.setText(QtGui.QApplication.translate("MainWindow", "Renomear", None, QtGui.QApplication.UnicodeUTF8))
self.radioButton.setText(QtGui.QApplication.translate("MainWindow", "Substituir", None, QtGui.QApplication.UnicodeUTF8))
self.radioButton_2.setText(QtGui.QApplication.translate("MainWindow", "Substituir se mais recente", None, QtGui.QApplication.UnicodeUTF8))
self.btCopiar.setText(QtGui.QApplication.translate("MainWindow", "copiar >>>", None, QtGui.QApplication.UnicodeUTF8))
self.label_2.setText(QtGui.QApplication.translate("MainWindow", "Destinos:", None, QtGui.QApplication.UnicodeUTF8))
self.label_3.setText(QtGui.QApplication.translate("MainWindow", "Filtro:", None, QtGui.QApplication.UnicodeUTF8))
self.btClear.setText(QtGui.QApplication.translate("MainWindow", "clear", None, QtGui.QApplication.UnicodeUTF8))
self.btRefresh.setText(QtGui.QApplication.translate("MainWindow", "Refresh", None, QtGui.QApplication.UnicodeUTF8))
self.txtSaida.setHtml(QtGui.QApplication.translate("MainWindow", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\"-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:8pt;\"></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
self.btFechar.setText(QtGui.QApplication.translate("MainWindow", "Fechar", None, QtGui.QApplication.UnicodeUTF8))