# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'desPlusieursBase.ui'
#
# Created: lun jun 23 10:37:37 2008
#      by: The PyQt User Interface Compiler (pyuic) 3.17.4
#
# WARNING! All changes made in this file will be lost!


from qt import *

image0_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x14\x00\x00\x00\x14" \
    "\x08\x06\x00\x00\x00\x8d\x89\x1d\x0d\x00\x00\x00" \
    "\x8d\x49\x44\x41\x54\x38\x8d\xb5\xd3\xdb\x0d\x80" \
    "\x20\x0c\x05\xd0\x5b\xe3\x3a\x8e\xe2\x4c\x86\x99" \
    "\x18\x85\x81\xea\x87\xc6\xc4\xd2\x56\x28\xd8\x84" \
    "\x0f\x5e\x27\x17\x50\x02\x63\x6a\x2d\x73\xb9\x1f" \
    "\xc0\xb5\x69\x15\x39\x17\xc3\xa0\x7e\xf0\xae\x9c" \
    "\xca\xab\xbf\x1f\x5b\xb5\xa6\xed\xc8\x0c\x02\x83" \
    "\x34\x20\x06\x02\x00\x81\x65\xc2\x38\x28\x30\x2f" \
    "\xa9\x77\xdd\x36\xc6\xa0\x67\xa7\x78\x14\x3f\xa1" \
    "\x85\xf9\x5b\xe6\x61\x76\xc2\x20\xa6\x83\x03\x58" \
    "\x0d\x0e\x62\x7a\xc2\x01\xcc\x04\xa3\xd8\x55\x2c" \
    "\x1a\xc0\x39\x95\xab\x27\xe7\x5a\x9a\x3e\x18\x47" \
    "\xdd\xef\x30\x72\xec\xef\x5f\xaf\xb3\x4e\xcb\x01" \
    "\x65\xf7\x82\x6b\x45\x7b\x00\x00\x00\x00\x49\x45" \
    "\x4e\x44\xae\x42\x60\x82"
image1_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x21\x00\x00\x00\x0e" \
    "\x08\x06\x00\x00\x00\xa1\x1e\x75\x8c\x00\x00\x00" \
    "\xc7\x49\x44\x41\x54\x38\x8d\xcd\x94\x59\x0e\xc3" \
    "\x20\x0c\x44\x71\xd5\x7b\xc7\x3d\xf9\xf4\x07\xd3" \
    "\x31\xb1\x59\xa2\x28\xaa\x25\x44\x48\xbc\x3c\xc6" \
    "\x81\x52\xfe\xc0\xe4\x42\x0c\xee\xce\xb9\x12\xe0" \
    "\x8a\x02\x39\x83\x88\x48\xf5\xdf\x02\xc9\x9c\x11" \
    "\xf8\x60\x04\x30\x01\x19\x05\x4a\xe8\x68\xc5\x6a" \
    "\xc2\x06\xc0\x6b\x4b\x10\x91\x11\xc8\x02\x87\x4f" \
    "\x3a\x52\xa5\x87\x75\x71\x23\x89\x7e\x40\x39\xc4" \
    "\x6b\x50\xd8\x86\x5b\x07\xf5\x40\x0a\x45\x00\x53" \
    "\x33\x08\x93\xcf\x86\x74\xa3\x00\x28\xd4\x92\xde" \
    "\xef\x04\x62\x6b\x55\x9d\xfe\x48\xac\x84\x2b\x1a" \
    "\x6d\xaa\xe6\x85\x01\x55\x03\x3b\x99\xc5\x00\x9f" \
    "\x70\xce\xda\x11\x1a\xab\x41\x3b\x6f\x6a\x70\xd1" \
    "\x18\xe0\x08\xe6\xfd\x8b\xc5\x1d\x5d\x00\xa0\xf6" \
    "\x14\x55\x6d\x1f\xf9\xb9\xbe\x49\x52\xaa\xbc\x37" \
    "\x21\xf8\xf8\xb6\xf6\x24\xc5\x57\xef\x89\x47\xaf" \
    "\xed\xf4\x8c\x5e\x60\xb8\xdf\xbe\xb8\x1d\x6d\xab" \
    "\x9a\xff\x99\x27\x00\x00\x00\x00\x49\x45\x4e\x44" \
    "\xae\x42\x60\x82"
image2_data = \
    "\x89\x50\x4e\x47\x0d\x0a\x1a\x0a\x00\x00\x00\x0d" \
    "\x49\x48\x44\x52\x00\x00\x00\x21\x00\x00\x00\x0e" \
    "\x08\x06\x00\x00\x00\xa1\x1e\x75\x8c\x00\x00\x00" \
    "\xcf\x49\x44\x41\x54\x38\x8d\xd5\x94\xdb\x0e\xc3" \
    "\x20\x0c\x43\xed\xfd\xf8\xd8\x97\xbb\x0f\x34\x5b" \
    "\x48\x08\x45\xd5\x1e\xb6\x48\x88\xf4\x12\xe7\x60" \
    "\x01\xc0\x0f\x04\x6f\xd6\xe9\x9b\xba\x77\x20\x04" \
    "\x80\x92\x4a\x10\x32\xc9\x2e\xfb\xd8\xc7\xd5\xca" \
    "\xbc\xc0\x25\x40\x00\x99\xe9\x57\x84\x95\x68\xfe" \
    "\x7f\x06\xc0\xde\xd1\xde\xb3\x2b\x4a\x1e\xc4\xea" \
    "\x82\x4b\x9e\x74\x09\x71\x65\xbd\x01\xf8\x55\x27" \
    "\xf7\x8a\x72\x01\xe0\xa3\x12\x9f\x34\x5a\x01\x7c" \
    "\x54\x3b\xaf\xdc\x98\x3d\x0f\x71\x09\xd1\x5a\x33" \
    "\x1b\x47\x1f\x47\x07\x2c\x17\x49\x4a\x82\x33\x8f" \
    "\x61\x78\x20\x3a\x88\x17\xe6\x73\x06\xb1\xf0\x8b" \
    "\x07\xba\x03\xe6\x02\xc9\xb8\x31\x07\x7e\x37\xe0" \
    "\x20\x9e\x67\xe3\x38\x67\x10\x97\x7b\x17\xde\x80" \
    "\xc1\x85\xad\x38\x69\x5a\x51\xd5\x22\xc8\x2c\xe7" \
    "\x79\x12\xe2\xfe\xd8\xbe\x83\x76\x20\x92\xf5\x2b" \
    "\x18\x20\xdd\x11\xbb\x10\xe5\x65\xb5\x3a\x5a\x3b" \
    "\xba\xff\x13\x07\x13\xd6\x6f\xa6\x98\x18\x57\x06" \
    "\x00\x00\x00\x00\x49\x45\x4e\x44\xae\x42\x60\x82"

class DPlusBase(QWidget):
    def __init__(self,parent = None,name = None,fl = 0):
        QWidget.__init__(self,parent,name,fl)

        self.image0 = QPixmap()
        self.image0.loadFromData(image0_data,"PNG")
        self.image1 = QPixmap()
        self.image1.loadFromData(image1_data,"PNG")
        self.image2 = QPixmap()
        self.image2.loadFromData(image2_data,"PNG")
        if not name:
            self.setName("DPlusBase")

        self.setMinimumSize(QSize(350,0))
        self.setIcon(self.image0)

        DPlusBaseLayout = QGridLayout(self,1,1,11,6,"DPlusBaseLayout")

        self.tabuniqueinto = QTabWidget(self,"tabuniqueinto")

        self.Widget8 = QWidget(self.tabuniqueinto,"Widget8")
        Widget8Layout = QGridLayout(self.Widget8,1,1,11,6,"Widget8Layout")

        self.textLabel1 = QLabel(self.Widget8,"textLabel1")

        Widget8Layout.addWidget(self.textLabel1,0,0)

        self.LBValeurs = QListBox(self.Widget8,"LBValeurs")
        self.LBValeurs.setMinimumSize(QSize(200,0))

        Widget8Layout.addMultiCellWidget(self.LBValeurs,1,9,0,0)
        spacer4 = QSpacerItem(21,231,QSizePolicy.Minimum,QSizePolicy.Expanding)
        Widget8Layout.addMultiCell(spacer4,5,9,1,2)
        spacer3_3 = QSpacerItem(31,30,QSizePolicy.Minimum,QSizePolicy.Expanding)
        Widget8Layout.addMultiCell(spacer3_3,0,0,1,2)

        self.BAjout1Val = QToolButton(self.Widget8,"BAjout1Val")
        self.BAjout1Val.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.BAjout1Val.sizePolicy().hasHeightForWidth()))
        self.BAjout1Val.setMinimumSize(QSize(40,30))
        self.BAjout1Val.setIconSet(QIconSet(self.image1))

        Widget8Layout.addMultiCellWidget(self.BAjout1Val,2,2,1,2)
        spacer5 = QSpacerItem(150,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
        Widget8Layout.addMultiCell(spacer5,8,8,2,4)

        layout7 = QVBoxLayout(None,0,6,"layout7")

        self.bParam = QPushButton(self.Widget8,"bParam")
        self.bParam.setMinimumSize(QSize(0,30))
        self.bParam.setAutoDefault(1)
        layout7.addWidget(self.bParam)

        self.bImport = QPushButton(self.Widget8,"bImport")
        self.bImport.setMinimumSize(QSize(0,30))
        self.bImport.setAutoDefault(1)
        layout7.addWidget(self.bImport)

        Widget8Layout.addMultiCellLayout(layout7,7,8,5,5)
        spacer3 = QSpacerItem(31,50,QSizePolicy.Minimum,QSizePolicy.Expanding)
        Widget8Layout.addItem(spacer3,6,5)
        spacer3_2 = QSpacerItem(31,50,QSizePolicy.Minimum,QSizePolicy.Expanding)
        Widget8Layout.addItem(spacer3_2,9,5)

        self.BSalome = QToolButton(self.Widget8,"BSalome")
        self.BSalome.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.BSalome.sizePolicy().hasHeightForWidth()))
        self.BSalome.setMinimumSize(QSize(40,30))
        self.BSalome.setIconSet(QIconSet(self.image0))

        Widget8Layout.addWidget(self.BSalome,4,3)

        self.BView2D = QPushButton(self.Widget8,"BView2D")
        self.BView2D.setMinimumSize(QSize(120,30))

        Widget8Layout.addMultiCellWidget(self.BView2D,4,4,4,5)

        layout12 = QHBoxLayout(None,0,6,"layout12")

        self.textLabel1_2 = QLabel(self.Widget8,"textLabel1_2")
        layout12.addWidget(self.textLabel1_2)
        spacer6 = QSpacerItem(111,20,QSizePolicy.Expanding,QSizePolicy.Minimum)
        layout12.addItem(spacer6)

        Widget8Layout.addMultiCellLayout(layout12,0,1,3,5)

        self.LEValeur = QLineEdit(self.Widget8,"LEValeur")
        self.LEValeur.setSizePolicy(QSizePolicy(QSizePolicy.Minimum,QSizePolicy.Minimum,0,0,self.LEValeur.sizePolicy().hasHeightForWidth()))
        self.LEValeur.setMinimumSize(QSize(220,30))

        Widget8Layout.addMultiCellWidget(self.LEValeur,2,3,3,5)

        self.BSup1Val = QToolButton(self.Widget8,"BSup1Val")
        self.BSup1Val.setSizePolicy(QSizePolicy(QSizePolicy.Fixed,QSizePolicy.Fixed,0,0,self.BSup1Val.sizePolicy().hasHeightForWidth()))
        self.BSup1Val.setMinimumSize(QSize(40,30))
        self.BSup1Val.setIconSet(QIconSet(self.image2))

        Widget8Layout.addMultiCellWidget(self.BSup1Val,3,4,1,2)

        self.Commentaire = QLabel(self.Widget8,"Commentaire")
        self.Commentaire.setMinimumSize(QSize(0,60))

        Widget8Layout.addMultiCellWidget(self.Commentaire,5,5,3,5)

        layout6 = QHBoxLayout(None,0,6,"layout6")

        self.bSup = QPushButton(self.Widget8,"bSup")
        self.bSup.setMinimumSize(QSize(0,30))
        self.bSup.setAutoDefault(1)
        layout6.addWidget(self.bSup)

        self.bOk = QPushButton(self.Widget8,"bOk")
        self.bOk.setMinimumSize(QSize(0,30))
        self.bOk.setAutoDefault(1)
        self.bOk.setDefault(1)
        layout6.addWidget(self.bOk)

        self.bHelp = QPushButton(self.Widget8,"bHelp")
        self.bHelp.setMinimumSize(QSize(0,30))
        self.bHelp.setAutoDefault(1)
        layout6.addWidget(self.bHelp)

        Widget8Layout.addMultiCellLayout(layout6,10,10,0,5)
        self.tabuniqueinto.insertTab(self.Widget8,QString.fromLatin1(""))

        DPlusBaseLayout.addWidget(self.tabuniqueinto,0,0)

        self.languageChange()

        self.resize(QSize(552,480).expandedTo(self.minimumSizeHint()))
        self.clearWState(Qt.WState_Polished)

        self.connect(self.bHelp,SIGNAL("clicked()"),self.ViewDoc)
        self.connect(self.bOk,SIGNAL("clicked()"),self.BOkPourListePressed)
        self.connect(self.bSup,SIGNAL("clicked()"),self.BSupPressed)
        self.connect(self.bParam,SIGNAL("clicked()"),self.BParametresPressed)
        self.connect(self.bImport,SIGNAL("clicked()"),self.BImportPressed)
        self.connect(self.BAjout1Val,SIGNAL("clicked()"),self.Ajout1Valeur)
        self.connect(self.BSup1Val,SIGNAL("clicked()"),self.Sup1Valeur)
        self.connect(self.LEValeur,SIGNAL("returnPressed()"),self.LEValeurPressed)
        self.connect(self.BSalome,SIGNAL("clicked()"),self.BSalomePressed)
        self.connect(self.BView2D,SIGNAL("clicked()"),self.BView2DPressed)

        self.setTabOrder(self.LEValeur,self.tabuniqueinto)
        self.setTabOrder(self.tabuniqueinto,self.bSup)
        self.setTabOrder(self.bSup,self.bOk)
        self.setTabOrder(self.bOk,self.bHelp)
        self.setTabOrder(self.bHelp,self.bParam)
        self.setTabOrder(self.bParam,self.bImport)
        self.setTabOrder(self.bImport,self.LBValeurs)
        self.setTabOrder(self.LBValeurs,self.BView2D)


    def languageChange(self):
        self.setCaption(self.__tr("DUnIn"))
        self.textLabel1.setText(self.__tr("<u><font size=\"+1\">Valeur(s) actuelle(s)</font></u>"))
        self.BAjout1Val.setText(QString.null)
        QToolTip.add(self.BAjout1Val,self.__trUtf8("\x61\x6a\x6f\x75\x74\x65\x20\x6c\x61\x20\x76\x61\x6c\x65\x75\x72\x20\x73\x61\x69\x73\x69\x65\x20\x73\x6f\x75\x73\x20\x6c\x20\x6f\x63\x63\x75\x72\x65\x6e\x63\x65\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x6e\xc3\xa9\x65\x20\x28\x65\x6e\x20\x66\x69\x6e\x20\x64\x65\x20\x6c\x69\x73\x74\x65\x20\x73\x69\x20\x69\x6c\x20\x6e\x20\x79\x20\x61\x20\x70\x61\x73\x20\x64\x65\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x29"))
        self.bParam.setText(self.__tr("&Parametres"))
        self.bParam.setAccel(QKeySequence(self.__tr("Alt+P")))
        QToolTip.add(self.bParam,self.__tr("suppression du mot clef"))
        self.bImport.setText(self.__tr("&Importer"))
        self.bImport.setAccel(QKeySequence(self.__tr("Alt+I")))
        QToolTip.add(self.bImport,self.__tr("suppression du mot clef"))
        self.BSalome.setText(QString.null)
        QToolTip.add(self.BSalome,self.__trUtf8("\x61\x6a\x6f\x75\x74\x65\x20\x6c\x61\x20\x76\x61\x6c\x65\x75\x72\x20\x73\x61\x69\x73\x69\x65\x20\x73\x6f\x75\x73\x20\x6c\x20\x6f\x63\x63\x75\x72\x65\x6e\x63\x65\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x6e\xc3\xa9\x65\x20\x28\x65\x6e\x20\x66\x69\x6e\x20\x64\x65\x20\x6c\x69\x73\x74\x65\x20\x73\x69\x20\x69\x6c\x20\x6e\x20\x79\x20\x61\x20\x70\x61\x73\x20\x64\x65\x20\x73\x65\x6c\x65\x63\x74\x69\x6f\x6e\x29"))
        self.BView2D.setText(self.__tr("Visualiser"))
        self.textLabel1_2.setText(self.__tr("<font size=\"+1\">Valeur</font>"))
        self.BSup1Val.setText(QString.null)
        QToolTip.add(self.BSup1Val,self.__tr("enleve l occurence selectionnee"))
        self.Commentaire.setText(QString.null)
        self.bSup.setText(self.__tr("&Supprimer"))
        self.bSup.setAccel(QKeySequence(self.__tr("Alt+S")))
        QToolTip.add(self.bSup,self.__tr("suppression du mot clef"))
        self.bOk.setText(self.__tr("&Valider"))
        self.bOk.setAccel(QKeySequence(self.__tr("Shift+A, Alt+A, Alt+A, Alt+A")))
        QToolTip.add(self.bOk,self.__tr("validation de la saisie"))
        self.bHelp.setText(self.__tr("&Documentation"))
        self.bHelp.setAccel(QKeySequence(self.__tr("Alt+D")))
        QToolTip.add(self.bHelp,self.__tr("affichage documentation aster"))
        self.tabuniqueinto.changeTab(self.Widget8,self.__tr("Saisir Valeur"))


    def BSupPressed(self):
        print "DPlusBase.BSupPressed(): Not implemented yet"

    def ViewDoc(self):
        print "DPlusBase.ViewDoc(): Not implemented yet"

    def BOkPourListePressed(self):
        print "DPlusBase.BOkPourListePressed(): Not implemented yet"

    def BParametresPressed(self):
        print "DPlusBase.BParametresPressed(): Not implemented yet"

    def LEValeurPressed(self):
        print "DPlusBase.LEValeurPressed(): Not implemented yet"

    def Ajout1Valeur(self):
        print "DPlusBase.Ajout1Valeur(): Not implemented yet"

    def Sup1Valeur(self):
        print "DPlusBase.Sup1Valeur(): Not implemented yet"

    def BImportPressed(self):
        print "DPlusBase.BImportPressed(): Not implemented yet"

    def BSalomePressed(self):
        print "DPlusBase.BSalomePressed(): Not implemented yet"

    def BView2DPressed(self):
        print "DPlusBase.BView2DPressed(): Not implemented yet"

    def __tr(self,s,c = None):
        return qApp.translate("DPlusBase",s,c)

    def __trUtf8(self,s,c = None):
        return qApp.translate("DPlusBase",s,c,QApplication.UnicodeUTF8)
