1# -*- coding: utf-8 -*- 2 3# Form implementation generated from reading ui file 'ui/setupmanualfind_base.ui' 4# 5# Created: Fri Apr 25 15:08:10 2008 6# by: The PyQt User Interface Compiler (pyuic) 3.17.3 7# 8# WARNING! All changes made in this file will be lost! 9 10 11from qt import * 12 13 14class SetupManualFind_base(QDialog): 15 def __init__(self,parent = None,name = None,modal = 0,fl = 0): 16 QDialog.__init__(self,parent,name,modal,fl) 17 18 if not name: 19 self.setName("SetupManualFind_base") 20 21 22 SetupManualFind_baseLayout = QGridLayout(self,1,1,11,6,"SetupManualFind_baseLayout") 23 spacer19 = QSpacerItem(331,20,QSizePolicy.Expanding,QSizePolicy.Minimum) 24 SetupManualFind_baseLayout.addItem(spacer19,3,0) 25 26 self.findHeadingText = QLabel(self,"findHeadingText") 27 self.findHeadingText.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter) 28 29 SetupManualFind_baseLayout.addMultiCellWidget(self.findHeadingText,0,0,0,2) 30 31 self.pushButton12 = QPushButton(self,"pushButton12") 32 33 SetupManualFind_baseLayout.addWidget(self.pushButton12,3,1) 34 35 self.pushButton11 = QPushButton(self,"pushButton11") 36 self.pushButton11.setDefault(1) 37 38 SetupManualFind_baseLayout.addWidget(self.pushButton11,3,2) 39 spacer21 = QSpacerItem(20,40,QSizePolicy.Minimum,QSizePolicy.Expanding) 40 SetupManualFind_baseLayout.addItem(spacer21,2,0) 41 42 layout3 = QGridLayout(None,1,1,0,6,"layout3") 43 44 self.findLineEdit = QLineEdit(self,"findLineEdit") 45 self.findLineEdit.setMaxLength(50) 46 47 layout3.addWidget(self.findLineEdit,0,1) 48 49 self.hintTextLabel = QLabel(self,"hintTextLabel") 50 self.hintTextLabel.setAlignment(QLabel.WordBreak | QLabel.AlignVCenter) 51 52 layout3.addWidget(self.hintTextLabel,1,1) 53 54 self.findTextLabel = QLabel(self,"findTextLabel") 55 56 layout3.addWidget(self.findTextLabel,0,0) 57 58 SetupManualFind_baseLayout.addMultiCellLayout(layout3,1,1,0,2) 59 60 self.languageChange() 61 62 self.resize(QSize(646,226).expandedTo(self.minimumSizeHint())) 63 self.clearWState(Qt.WState_Polished) 64 65 self.connect(self.pushButton12,SIGNAL("clicked()"),self.reject) 66 self.connect(self.pushButton11,SIGNAL("clicked()"),self.accept) 67 self.connect(self.findLineEdit,SIGNAL("textChanged(const QString&)"),self.findLineEdit_textChanged) 68 69 self.setTabOrder(self.findLineEdit,self.pushButton12) 70 self.setTabOrder(self.pushButton12,self.pushButton11) 71 72 73 def languageChange(self): 74 self.setCaption(self.__tr("HP Device Manager - Manually Find Device")) 75 self.findHeadingText.setText(self.__tr("TEXT")) 76 self.pushButton12.setText(self.__tr("Cancel")) 77 self.pushButton11.setText(self.__tr("Find")) 78 self.hintTextLabel.setText(self.__tr("textLabel1")) 79 self.findTextLabel.setText(self.__tr("IP/HN/SER/USB/DEV:")) 80 81 82 def findLineEdit_textChanged(self,a0): 83 print("SetupManualFind_base.findLineEdit_textChanged(const QString&): Not implemented yet") 84 85 def __tr(self,s,c = None): 86 return qApp.translate("SetupManualFind_base",s,c) 87