From: Pascale Noyret Date: Fri, 10 Oct 2008 12:38:20 +0000 (+0000) Subject: *** empty log message *** X-Git-Tag: V1_14QT4v1~2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=60ccd3ce0717c02958cc0f8930152884e7f0602b;p=tools%2Feficas.git *** empty log message *** --- diff --git a/UiQT4/__init__.py b/UiQT4/__init__.py new file mode 100644 index 00000000..21d22fbc --- /dev/null +++ b/UiQT4/__init__.py @@ -0,0 +1,24 @@ +# -*- coding: utf-8 -*- +# CONFIGURATION MANAGEMENT OF EDF VERSION +# ====================================================================== +# COPYRIGHT (C) 1991 - 2002 EDF R&D WWW.CODE-ASTER.ORG +# THIS PROGRAM IS FREE SOFTWARE; YOU CAN REDISTRIBUTE IT AND/OR MODIFY +# IT UNDER THE TERMS OF THE GNU GENERAL PUBLIC LICENSE AS PUBLISHED BY +# THE FREE SOFTWARE FOUNDATION; EITHER VERSION 2 OF THE LICENSE, OR +# (AT YOUR OPTION) ANY LATER VERSION. +# +# THIS PROGRAM IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL, BUT +# WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF +# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. SEE THE GNU +# GENERAL PUBLIC LICENSE FOR MORE DETAILS. +# +# YOU SHOULD HAVE RECEIVED A COPY OF THE GNU GENERAL PUBLIC LICENSE +# ALONG WITH THIS PROGRAM; IF NOT, WRITE TO EDF R&D CODE_ASTER, +# 1 AVENUE DU GENERAL DE GAULLE, 92141 CLAMART CEDEX, FRANCE. +# +# +# ====================================================================== +""" + Ce package contient les fonctionnalités nécessaires + pour l'éditeur graphique QT +""" diff --git a/UiQT4/desViewTexte.py b/UiQT4/desViewTexte.py new file mode 100644 index 00000000..dac56f76 --- /dev/null +++ b/UiQT4/desViewTexte.py @@ -0,0 +1,47 @@ +# -*- coding: utf-8 -*- + +# Form implementation generated from reading ui file 'desViewTexte.ui' +# +# Created: Tue Sep 9 18:09:46 2008 +# by: PyQt4 UI code generator 4.4.2 +# +# WARNING! All changes made in this file will be lost! + +from PyQt4 import QtCore, QtGui + +class Ui_dView(object): + def setupUi(self, dView): + dView.setObjectName("dView") + dView.resize(400,322) + self.gridLayout = QtGui.QGridLayout(dView) + self.gridLayout.setObjectName("gridLayout") + self.view = QtGui.QTextBrowser(dView) + self.view.setObjectName("view") + self.gridLayout.addWidget(self.view,0,0,1,4) + spacerItem = QtGui.QSpacerItem(209,20,QtGui.QSizePolicy.Expanding,QtGui.QSizePolicy.Minimum) + self.gridLayout.addItem(spacerItem,1,0,1,1) + self.bclose = QtGui.QPushButton(dView) + self.bclose.setObjectName("bclose") + self.gridLayout.addWidget(self.bclose,1,2,1,1) + self.bsave = QtGui.QPushButton(dView) + self.bsave.setObjectName("bsave") + self.gridLayout.addWidget(self.bsave,1,1,1,1) + + self.retranslateUi(dView) + QtCore.QMetaObject.connectSlotsByName(dView) + + def retranslateUi(self, dView): + dView.setWindowTitle(QtGui.QApplication.translate("dView", "Dialog", None, QtGui.QApplication.UnicodeUTF8)) + self.bclose.setText(QtGui.QApplication.translate("dView", "Fermer", None, QtGui.QApplication.UnicodeUTF8)) + self.bsave.setText(QtGui.QApplication.translate("dView", "Sauver", None, QtGui.QApplication.UnicodeUTF8)) + + +if __name__ == "__main__": + import sys + app = QtGui.QApplication(sys.argv) + dView = QtGui.QDialog() + ui = Ui_dView() + ui.setupUi(dView) + dView.show() + sys.exit(app.exec_()) + diff --git a/UiQT4/desViewTexte.ui b/UiQT4/desViewTexte.ui new file mode 100644 index 00000000..6cfa950e --- /dev/null +++ b/UiQT4/desViewTexte.ui @@ -0,0 +1,53 @@ + + dView + + + + 0 + 0 + 400 + 322 + + + + Dialog + + + + + + + + + Qt::Horizontal + + + + 209 + 20 + + + + + + + + Fermer + + + + + + + Sauver + + + + + view + bclose + bsave + + + + diff --git a/UiQT4/myMain.ui~ b/UiQT4/myMain.ui~ deleted file mode 100644 index a636a0ea..00000000 --- a/UiQT4/myMain.ui~ +++ /dev/null @@ -1,699 +0,0 @@ - -Eficas - - - Eficas - - - true - - - - 0 - 0 - 902 - 575 - - - - - 1 - 1 - 0 - 0 - - - - - 21 - 323 - - - - WidgetOrigin - - - - - - - Eficas - - - - line1 - - - - -30 - -10 - 930 - 20 - - - - HLine - - - Sunken - - - Horizontal - - - - - - MenuBar - - - 2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - toolBar - - - MenuBarPanel - - - false - - - Tools - - - - - - - - - - - - - - - - fileNewAction - - - image0 - - - Nouveau - - - &Nouveau - - - Ctrl+N - - - - - fileOpenAction - - - image1 - - - Ouvrir - - - &Ouvrir - - - Ctrl+O - - - - - fileSaveAction - - - image2 - - - Enregistrer - - - &Enregister - - - Ctrl+E - - - - - fileSaveAsAction - - - Enregister Sous - - - Enregister Sous - - - - - - - - fileExitAction - - - Quitter - - - Q&uitter - - - - - - - - editUndoAction - - - false - - - image3 - - - Undo - - - &Undo - - - Ctrl+Z - - - - - editRedoAction - - - false - - - image4 - - - Redo - - - &Redo - - - Ctrl+Y - - - - - editCutAction - - - image5 - - - Couper - - - C&ouper - - - Ctrl+X - - - - - editCopyAction - - - image6 - - - Copier - - - &Copier - - - Ctrl+C - - - - - editPasteAction - - - image7 - - - Coller - - - &Coller - - - Ctrl+V - - - - - jdcFichierResultatAction - - - true - - - image8 - - - Fichier Resultat - - - Fichier Resultat - - - Ctrl+F - - - - - helpContentsAction - - - Contents - - - &Contents... - - - - - - - - helpIndexAction - - - Index - - - &Index... - - - - - - - - helpAboutAction - - - false - - - About - - - &About - - - - - - - - fileSaveCloseAction - - - Fermer - - - Fermer - - - - - fileCloseAction - - - Fermer - - - Fermer - - - Ctrl+W - - - - - fileNewViewAction - - - false - - - New view - - - - - fileCloseAllAction - - - Tout Fermer - - - Tout Fermer - - - - - jdcRapportDeValidationAction - - - Rapport de validation - - - Rapport de validation - - - Ctrl+R - - - - - jdcFichierSourceAction - - - Fichier source - - - Fichier source - - - Ctrl+B - - - - - traduitV7V8Action - - - traduitV7V8 - - - traduitV7V8 - - - - - aidenew_itemAction - - - Eficas - - - - - fileNewInclude - - - Nouvel Include - - - Nouvel Include - - - - - optionEditeurAction - - - Parametres Eficas - - - Parametres Eficas - - - - - optionPdfAction - - - Lecteur Pdf - - - Lecteur Pdf - - - - - - 89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000007449444154388dedd5c109c0200c05d06fe936812c10b2ffdd85d25385b6a991480f053f081af0291210f828c5a9d9c4de96cd2b9ad9eb0000660e2fe0c2519839c4f70c4c446d5e6b3538cf928245e4b2f6f014acaa8fda1d4fc1a5741b22079f9d111d96ea8a912c78c10bee64e60719f57e9203ad452a04cc4e50200000000049454e44ae426082 - - - 89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000009949444154388ded94410e85200c445f89c7367f61bc775d2848a42860ffced9548bbe8e13043e1d928177f481a123dc2b34f6f47a3de2b865a8843f4001982a0b3d5f62c58300aa1ad70550449ab9d507a773a8a4ba4f92a2df333c64c63bebbd82e5b8addecbcc7820eb4266c639745dfa80f36faf66c66fa19c3f882fb470ec05cdc0bed07893f68e171492635f686c3eeff6ba3c8fdd366dc4c0452c8781f8080000000049454e44ae426082 - - - 89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000000a049444154388dd5954d0a802010859fd14668e18de662d222bc98376a21b4ac451992c66469e0b7f187f1f11c47052a218e762daddbfb9e99f6568f80b5364b8588ce35440400e80a398ce8f99034d2292cc37c8ebd530feb583a05e954341f8a027b2a7d3a1f09bf854dc5d5d953aa396e4f38cab199e2d2e108abe156f82e30977fcb4d8ff942d75dbebed2e143953a93f6caad3d6111f44b7d4f820ff9c0069bb51ecded318c5c0000000049454e44ae426082 - - - 89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000007349444154388ded92c10e80200840b1ef661d1cff4d876aa888a17669f9360f283ed80060f159425f3a71f53602e08e992b098801d02854176ae47f21ce1fb5b05d38eddc9060d0f11379635b3bc92bd518e239a943ec1d5ab7785cee107be4b215af4091f894de47181ecea59ede9ec59f380062ac28b1e3d701d90000000049454e44ae426082 - - - 89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000007449444154388ded92c10ac02008406ddf2d3b84ffed0ea3586a26d165e0830ea53e8504487e4b910f5489f19ea5a3ca0f8a896365b306c42dd613c649bdc2598316136219f0f936c0a2ef00d75a62614d3ab22996f2a362ffa337c5ebede962aad1a2e84aaaa2f750dd12748c0fd0ab9324677800596e28b1743f46860000000049454e44ae426082 - - - 89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000008249444154388dcdd341128020080550e8e02ebc38ad3273503e48537fe3e48c4f2425fa28e29c6f39920bf9276cb60185358877611388c2576418cda015f520b4e6b55be109dc0622b8e22acf31056e18dfdff80606aa551cc63564c4dcf80cd0201d577a5c85a8845fdc025ea5307afccd07e23a1df283ec2b37d9ad5fb4dfefd49cfbf72fac98c8cc890000000049454e44ae426082 - - - 89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000000bf49444154388dd593410a83301045df488ee51dbc8c3ba98bf46a9eabd385350d266362444a3f0c4266fcf3f824f06f12402b66da8c55f3de2212cf9d92cb98c0ba2d7c4544cf9a07638bbad53c4491235ecf7cc1623697a92540c11ff4fda75275015d24a9389e7d6f53df4fe4ccab323eea0f03c0c4b2a0712ce6add89b59b7661c3be095985f261679ee4ebcc22c9788551fe6a2cbc4969a894bcb6f23ee361aab62e252c57294dfbfb610bbf2c897b8a46cc6677eaa519571fa087ea83762da9abacb20235f0000000049454e44ae426082 - - - 89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b000000d549444154388dc5955d0a84300c8427e2a90a9e6c8b0f4b3dd982d7ca3e58d7fe4cd0ba5d7640024df265da0a057e2439c9eb8d9eaa8841a0c9aad8c82ab32f9c425be1e30e0dcf00c00308f0b3a7a07410a9d7142e00b42c5a5fab696b979b1c837fc0c316b6e4165b64f78d716359919bdc4570de47c04732dd5e5bcc35f0c97762ae787936dccf7513577e79f48c4b27aa0f1327b240f5117fcbe348aa33b6e0224b054d0746b8025e2e3b3e73cde0dd1c97f02e8ed9d0af1db381224bdf33eee698a934a0f617b45540d00bcf4ca08fc0dff406e325c1981bc418760000000049454e44ae426082 - - - 89504e470d0a1a0a0000000d4948445200000016000000160806000000c4b46c3b0000025d49444154388dd593a172db4010863f670a56ecc42278d0653693a0c21c68d6c2e60df21a818111349499c254a8329b55f0e089ddb15ba602b79d6692d699b6d399fee86e67e7db7f77efe07fd3e2c74bd775b3730eef3d5115002382b5166b2d5757578b1729bf02b76d3b0f8703b92d58aed7600400ef1ce3c70306a8aa8aebebeb57c117dfa06ddb525dd754efb600a82a49138a123532ec3ac42b9bcde655ce2ffabe9f87c340fde13dcb4d8daaa24e48ee12c6823808c107969b1a8a9ce3f1f8aa515c38e7c8ada5aa6b00c45f129c67d223938c88e6c860d118b1d592d139baae9bcf83a78965b5465134801b1d2e1f4945c0e350096408ea154490c2e0bd3fef5853c2e486a0019f4d84f58418418362b0408e8b23c924501093314dd359f01b809814112025144015f1964c0bbc1b484b07e4688880c029ebd78e4141f5b434fd76864c053f1e084b0f8580265440634044ce838bbcc03987a61350a3a2285e1d5a4414d0708aa598082162ad3d0fb6d6e287cfa498508d274050447370428c91af8d10fd4481608c390b5e00dcddddcd8e80a9de420248e804840856f03e02907d729465c9ba5ae3468731e6a79fe50260b55a6102c4ee40a6894c33f2cb0cb106512814f8f899b22cb9b9b959b8d1f1f8f848d334b46dfbe29bfe5eadeffbf9783c323a871881ecb4200d1151a8eb9aed76bb00188661eeba8efd7e8f3186ed76cb6ab57ae2fe591b5dd7cdde7b628c8808799e63ada5aaaa67b9bbdd6e6e9a06ef3d755d3f29fec7eafb7ebebdbd9dadb5735996f3fdfdfdfca2e3dfd5c3c3c3dc340dd334b1d96cfe1e184e63dceff7a494fe26f61fe90bbc4c5e59d614caf40000000049454e44ae426082 - - - - - fileNewAction - activated() - Eficas - fileNew() - - - fileOpenAction - activated() - Eficas - fileOpen() - - - fileSaveAction - activated() - Eficas - fileSave() - - - fileSaveAsAction - activated() - Eficas - fileSaveAs() - - - fileExitAction - activated() - Eficas - fileExit() - - - editUndoAction - activated() - Eficas - editUndo() - - - editRedoAction - activated() - Eficas - editRedo() - - - editCutAction - activated() - Eficas - editCut() - - - editPasteAction - activated() - Eficas - editPaste() - - - jdcFichierResultatAction - activated() - Eficas - visuJdcPy() - - - helpIndexAction - activated() - Eficas - helpIndex() - - - helpContentsAction - activated() - Eficas - helpContents() - - - helpAboutAction - activated() - Eficas - helpAbout() - - - fileCloseAction - activated() - Eficas - fileClose() - - - fileNewViewAction - activated() - Eficas - fileNewView() - - - fileCloseAllAction - activated() - Eficas - fileCloseAll() - - - editCopyAction - activated() - Eficas - editCopy() - - - jdcRapportDeValidationAction - activated() - Eficas - jdcRapport() - - - jdcFichierSourceAction - activated() - Eficas - jdcFichierSource() - - - traduitV7V8Action - activated() - Eficas - traductionV7V8() - - - aidenew_itemAction - activated() - Eficas - helpAbout() - - - fileNewInclude - activated() - Eficas - NewInclude() - - - optionEditeurAction - activated() - Eficas - optionEditeur() - - - optionPdfAction - activated() - Eficas - optionPdf() - - - - fileNew() - fileOpen() - fileSave() - fileSaveAs() - filePrint() - fileExit() - editUndo() - editRedo() - jdcFichierSource() - fileNewView() - editPaste() - visuJdcPy() - helpIndex() - helpContents() - helpAbout() - fileClose() - fileCloseAll() - jdcRapport() - editCut() - editCopy() - traductionV7V8() - NewInclude() - optionEditeur() - optionPdf() - - -