1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'desError.ui'
5 # Created: mar mar 25 10:05:08 2008
6 # by: The PyQt User Interface Compiler (pyuic) 3.13
8 # WARNING! All changes made in this file will be lost!
14 class DError(QWidget):
15 def __init__(self,parent = None,name = None,fl = 0):
16 QWidget.__init__(self,parent,name,fl)
19 self.setName("DError")
21 self.setMinimumSize(QSize(350,0))
23 DErrorLayout = QGridLayout(self,1,1,11,6,"DErrorLayout")
25 self.textLabel1_3 = QLabel(self,"textLabel1_3")
27 DErrorLayout.addWidget(self.textLabel1_3,0,0)
29 layout1 = QHBoxLayout(None,0,6,"layout1")
30 spacer1_2 = QSpacerItem(171,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
31 layout1.addItem(spacer1_2)
33 self.bSup = QPushButton(self,"bSup")
34 self.bSup.setAutoDefault(1)
35 layout1.addWidget(self.bSup)
36 spacer1 = QSpacerItem(171,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
37 layout1.addItem(spacer1)
39 DErrorLayout.addLayout(layout1,1,0)
43 self.resize(QSize(482,480).expandedTo(self.minimumSizeHint()))
44 self.clearWState(Qt.WState_Polished)
46 self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed)
49 def languageChange(self):
50 self.setCaption(self.__tr("DInactif"))
51 self.textLabel1_3.setText(self.__trUtf8("\x3c\x66\x6f\x6e\x74\x20\x73\x69\x7a\x65\x3d\x22\x2b\x34\x22\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x4c\x65\x20\x6e\x6f\x65\x75\x64\x20\x73\xc3\xa9\x6c\x65\x63\x74\x69\x6f\x6e\x6e\xc3\xa9\x20\x6e\x65\x20\x63\x6f\x72\x72\x65\x73\x70\x6f\x6e\x64\x20\x70\x61\x73\x20\xc3\xa0\x20\x75\x6e\x20\x6f\x62\x6a\x65\x74\x20\x61\x63\x74\x69\x66\x2e\x3c\x2f\x70\x3e\x3c\x2f\x66\x6f\x6e\x74\x3e"))
52 self.bSup.setText(self.__tr("&Supprimer"))
53 self.bSup.setAccel(self.__tr("Alt+S"))
54 QToolTip.add(self.bSup,self.__tr("suppression du mot clef"))
57 def BSupPressed(self):
58 print "DError.BSupPressed(): Not implemented yet"
61 print "DError.ViewDoc(): Not implemented yet"
64 print "DError.BOkPressed(): Not implemented yet"
66 def __tr(self,s,c = None):
67 return qApp.translate("DError",s,c)
69 def __trUtf8(self,s,c = None):
70 return qApp.translate("DError",s,c,QApplication.UnicodeUTF8)