]> SALOME platform Git repositories - tools/eficas.git/blob - Ui/desError.py
Salome HOME
CCAR: merge de la version 1.14 dans la branche principale
[tools/eficas.git] / Ui / desError.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'desError.ui'
4 #
5 # Created: mar mar 25 10:05:08 2008
6 #      by: The PyQt User Interface Compiler (pyuic) 3.13
7 #
8 # WARNING! All changes made in this file will be lost!
9
10
11 from qt import *
12
13
14 class DError(QWidget):
15     def __init__(self,parent = None,name = None,fl = 0):
16         QWidget.__init__(self,parent,name,fl)
17
18         if not name:
19             self.setName("DError")
20
21         self.setMinimumSize(QSize(350,0))
22
23         DErrorLayout = QGridLayout(self,1,1,11,6,"DErrorLayout")
24
25         self.textLabel1_3 = QLabel(self,"textLabel1_3")
26
27         DErrorLayout.addWidget(self.textLabel1_3,0,0)
28
29         layout1 = QHBoxLayout(None,0,6,"layout1")
30         spacer1_2 = QSpacerItem(171,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
31         layout1.addItem(spacer1_2)
32
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)
38
39         DErrorLayout.addLayout(layout1,1,0)
40
41         self.languageChange()
42
43         self.resize(QSize(482,480).expandedTo(self.minimumSizeHint()))
44         self.clearWState(Qt.WState_Polished)
45
46         self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed)
47
48
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"))
55
56
57     def BSupPressed(self):
58         print "DError.BSupPressed(): Not implemented yet"
59
60     def ViewDoc(self):
61         print "DError.ViewDoc(): Not implemented yet"
62
63     def BOkPressed(self):
64         print "DError.BOkPressed(): Not implemented yet"
65
66     def __tr(self,s,c = None):
67         return qApp.translate("DError",s,c)
68
69     def __trUtf8(self,s,c = None):
70         return qApp.translate("DError",s,c,QApplication.UnicodeUTF8)