# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'designer/finddupes.ui' # # by: PyQt4 UI code generator 4.7.2 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui class Ui_Dialog(object): def setupUi(self, Dialog): Dialog.setObjectName("Dialog") Dialog.resize(400, 300) self.verticalLayout_2 = QtGui.QVBoxLayout(Dialog) self.verticalLayout_2.setObjectName("verticalLayout_2") self.gridLayout = QtGui.QGridLayout() self.gridLayout.setObjectName("gridLayout") self.label = QtGui.QLabel(Dialog) self.label.setObjectName("label") self.gridLayout.addWidget(self.label, 0, 1, 1, 1) self.searchArea = QtGui.QComboBox(Dialog) self.searchArea.setObjectName("searchArea") self.gridLayout.addWidget(self.searchArea, 0, 2, 1, 1) self.searchButton = QtGui.QPushButton(Dialog) self.searchButton.setObjectName("searchButton") self.gridLayout.addWidget(self.searchButton, 0, 4, 1, 1) spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum) self.gridLayout.addItem(spacerItem, 0, 5, 1, 1) self.verticalLayout_2.addLayout(self.gridLayout) self.frame = QtGui.QFrame(Dialog) self.frame.setFrameShape(QtGui.QFrame.StyledPanel) self.frame.setFrameShadow(QtGui.QFrame.Raised) self.frame.setObjectName("frame") self.verticalLayout = QtGui.QVBoxLayout(self.frame) self.verticalLayout.setMargin(0) self.verticalLayout.setObjectName("verticalLayout") self.webView = QtWebKit.QWebView(self.frame) self.webView.setUrl(QtCore.QUrl("about:blank")) self.webView.setObjectName("webView") self.verticalLayout.addWidget(self.webView) self.verticalLayout_2.addWidget(self.frame) self.buttonBox = QtGui.QDialogButtonBox(Dialog) self.buttonBox.setOrientation(QtCore.Qt.Horizontal) self.buttonBox.setStandardButtons(QtGui.QDialogButtonBox.Close) self.buttonBox.setObjectName("buttonBox") self.verticalLayout_2.addWidget(self.buttonBox) self.retranslateUi(Dialog) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("accepted()"), Dialog.accept) QtCore.QObject.connect(self.buttonBox, QtCore.SIGNAL("rejected()"), Dialog.reject) QtCore.QMetaObject.connectSlotsByName(Dialog) Dialog.setTabOrder(self.searchArea, self.searchButton) Dialog.setTabOrder(self.searchButton, self.webView) Dialog.setTabOrder(self.webView, self.buttonBox) def retranslateUi(self, Dialog): Dialog.setWindowTitle(_("Find Duplicates")) self.label.setText(_("Find Duplicates in:")) self.searchButton.setText(_("&Search")) from PyQt4 import QtWebKit