]> SALOME platform Git repositories - tools/eficas.git/blob - Ui/desInactif.py
Salome HOME
CCAR: merge de la version 1.14 dans la branche principale
[tools/eficas.git] / Ui / desInactif.py
1 # -*- coding: utf-8 -*-
2
3 # Form implementation generated from reading ui file 'desInactif.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 DInactif(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("DInactif")
20
21         self.setMinimumSize(QSize(350,0))
22
23         DInactifLayout = QGridLayout(self,1,1,11,6,"DInactifLayout")
24
25         self.textLabel1_3 = QLabel(self,"textLabel1_3")
26
27         DInactifLayout.addWidget(self.textLabel1_3,0,0)
28
29         self.textLabel1 = QLabel(self,"textLabel1")
30
31         DInactifLayout.addWidget(self.textLabel1,1,0)
32
33         layout1 = QHBoxLayout(None,0,6,"layout1")
34         spacer2 = QSpacerItem(171,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
35         layout1.addItem(spacer2)
36
37         self.bSup = QPushButton(self,"bSup")
38         self.bSup.setAutoDefault(1)
39         layout1.addWidget(self.bSup)
40         spacer1 = QSpacerItem(171,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
41         layout1.addItem(spacer1)
42
43         DInactifLayout.addLayout(layout1,2,0)
44
45         self.languageChange()
46
47         self.resize(QSize(482,480).expandedTo(self.minimumSizeHint()))
48         self.clearWState(Qt.WState_Polished)
49
50         self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed)
51
52
53     def languageChange(self):
54         self.setCaption(self.__tr("DInactif"))
55         self.textLabel1_3.setText(self.__trUtf8("\x3c\x66\x6f\x6e\x74\x20\x73\x69\x7a\x65\x3d\x22\x2b\x32\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"))
56         self.textLabel1.setText(self.__trUtf8("\x3c\x66\x6f\x6e\x74\x20\x73\x69\x7a\x65\x3d\x22\x2b\x32\x22\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x0a\x53\x65\x75\x6c\x65\x73\x20\x6c\x65\x73\x20\x63\x6f\x6d\x6d\x61\x6e\x64\x65\x73\x20\x70\x6c\x61\x63\xc3\xa9\x65\x73\x20\x65\x6e\x74\x72\x65\x20\x3a\x0a\x0a\x44\x45\x42\x55\x54\x20\x2f\x20\x46\x49\x4e\x0a\x0a\x73\x6f\x6e\x74\x20\x61\x63\x74\x69\x76\x65\x73\x0a\x3c\x2f\x70\x3e\x3c\x2f\x66\x6f\x6e\x74\x3e"))
57         self.bSup.setText(self.__tr("&Supprimer"))
58         self.bSup.setAccel(self.__tr("Alt+S"))
59         QToolTip.add(self.bSup,self.__tr("suppression du mot clef"))
60
61
62     def BSupPressed(self):
63         print "DInactif.BSupPressed(): Not implemented yet"
64
65     def ViewDoc(self):
66         print "DInactif.ViewDoc(): Not implemented yet"
67
68     def BOkPressed(self):
69         print "DInactif.BOkPressed(): Not implemented yet"
70
71     def __tr(self,s,c = None):
72         return qApp.translate("DInactif",s,c)
73
74     def __trUtf8(self,s,c = None):
75         return qApp.translate("DInactif",s,c,QApplication.UnicodeUTF8)