1 # -*- coding: utf-8 -*-
3 # Form implementation generated from reading ui file 'desMCFact.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 DMCFact(QWidget):
15 def __init__(self,parent = None,name = None,fl = 0):
16 QWidget.__init__(self,parent,name,fl)
19 self.setName("DMCFact")
21 self.setMinimumSize(QSize(505,0))
23 DMCFactLayout = QGridLayout(self,1,1,11,6,"DMCFactLayout")
25 self.TWChoix = QTabWidget(self,"TWChoix")
27 self.MotClef = QWidget(self.TWChoix,"MotClef")
28 MotClefLayout = QGridLayout(self.MotClef,1,1,11,6,"MotClefLayout")
30 self.textLabel1 = QLabel(self.MotClef,"textLabel1")
31 self.textLabel1.setMinimumSize(QSize(0,0))
33 MotClefLayout.addWidget(self.textLabel1,0,0)
35 self.LBMCPermis = QListBox(self.MotClef,"LBMCPermis")
36 self.LBMCPermis.setMinimumSize(QSize(0,0))
38 MotClefLayout.addWidget(self.LBMCPermis,1,0)
40 self.LBRegles = QListBox(self.MotClef,"LBRegles")
42 MotClefLayout.addWidget(self.LBRegles,1,1)
44 self.textLabel1_2 = QLabel(self.MotClef,"textLabel1_2")
46 MotClefLayout.addWidget(self.textLabel1_2,0,1)
47 self.TWChoix.insertTab(self.MotClef,QString(""))
49 DMCFactLayout.addMultiCellWidget(self.TWChoix,0,0,0,2)
51 self.bSup = QPushButton(self,"bSup")
52 self.bSup.setAutoDefault(1)
54 DMCFactLayout.addWidget(self.bSup,2,0)
56 self.Commentaire = QLabel(self,"Commentaire")
58 DMCFactLayout.addMultiCellWidget(self.Commentaire,1,1,0,2)
60 self.bHelp = QPushButton(self,"bHelp")
61 self.bHelp.setAutoDefault(1)
63 DMCFactLayout.addWidget(self.bHelp,2,2)
65 self.bOk = QPushButton(self,"bOk")
66 self.bOk.setAutoDefault(1)
67 self.bOk.setDefault(1)
69 DMCFactLayout.addWidget(self.bOk,2,1)
73 self.resize(QSize(511,499).expandedTo(self.minimumSizeHint()))
74 self.clearWState(Qt.WState_Polished)
76 self.connect(self.bSup,SIGNAL("pressed()"),self.BSupPressed)
77 self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPressed)
78 self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
81 def languageChange(self):
82 self.setCaption(self.__tr("DMacro"))
83 self.textLabel1.setText(self.__tr("<h3><p align=\"center\"><u><b>Mots Clefs Permis</b></u></p></h3>"))
84 self.textLabel1_2.setText(self.__trUtf8("\x3c\x68\x33\x3e\x3c\x70\x20\x61\x6c\x69\x67\x6e\x3d\x22\x63\x65\x6e\x74\x65\x72\x22\x3e\x3c\x75\x3e\x3c\x62\x3e\x52\xc3\xa9\x67\x6c\x65\x73\x3c\x2f\x62\x3e\x3c\x2f\x75\x3e\x3c\x2f\x70\x3e\x3c\x2f\x68\x33\x3e"))
85 self.TWChoix.changeTab(self.MotClef,self.__tr("Ajouter Mot-Clef"))
86 self.bSup.setText(self.__tr("&Supprimer"))
87 self.bSup.setAccel(self.__tr("Alt+S"))
88 QToolTip.add(self.bSup,self.__tr("suppression du mot clef"))
89 self.Commentaire.setText(QString.null)
90 self.bHelp.setText(self.__tr("&Documentation"))
91 self.bHelp.setAccel(self.__tr("Alt+D"))
92 QToolTip.add(self.bHelp,self.__tr("affichage documentation aster"))
93 self.bOk.setText(self.__tr("&Valider"))
94 self.bOk.setAccel(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A"))
95 QToolTip.add(self.bOk,self.__tr("validation de la saisie"))
99 print "DMCFact.ViewDoc(): Not implemented yet"
101 def BSupPressed(self):
102 print "DMCFact.BSupPressed(): Not implemented yet"
104 def BOkPressed(self):
105 print "DMCFact.BOkPressed(): Not implemented yet"
107 def __tr(self,s,c = None):
108 return qApp.translate("DMCFact",s,c)
110 def __trUtf8(self,s,c = None):
111 return qApp.translate("DMCFact",s,c,QApplication.UnicodeUTF8)