/usr/share/pyshared/UiQT4/myMain.py is in eficas 2.0.3-1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | # -*- coding: utf-8 -*-
# Form implementation generated from reading ui file '/tmp/oo/EficasV1/UiQT4/myMain.ui'
#
# Created: Mon Jun 21 09:54:18 2010
# 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_Eficas(object):
def setupUi(self, Eficas):
Eficas.setObjectName("Eficas")
Eficas.resize(1383,811)
self.centralwidget = QtGui.QWidget(Eficas)
self.centralwidget.setObjectName("centralwidget")
Eficas.setCentralWidget(self.centralwidget)
self.menubar = QtGui.QMenuBar(Eficas)
self.menubar.setGeometry(QtCore.QRect(0,0,1383,32))
self.menubar.setObjectName("menubar")
self.menuFichier = QtGui.QMenu(self.menubar)
self.menuFichier.setObjectName("menuFichier")
self.menuEdition = QtGui.QMenu(self.menubar)
self.menuEdition.setObjectName("menuEdition")
self.menuJdC = QtGui.QMenu(self.menubar)
self.menuJdC.setObjectName("menuJdC")
self.menu_Aide = QtGui.QMenu(self.menubar)
self.menu_Aide.setObjectName("menu_Aide")
self.menuOptions = QtGui.QMenu(self.menubar)
self.menuOptions.setObjectName("menuOptions")
self.menuPatrons = QtGui.QMenu(self.menubar)
self.menuPatrons.setObjectName("menuPatrons")
Eficas.setMenuBar(self.menubar)
self.statusbar = QtGui.QStatusBar(Eficas)
self.statusbar.setObjectName("statusbar")
Eficas.setStatusBar(self.statusbar)
self.toolBar = QtGui.QToolBar(Eficas)
self.toolBar.setObjectName("toolBar")
Eficas.addToolBar(QtCore.Qt.TopToolBarArea,self.toolBar)
self.action_Nouveau = QtGui.QAction(Eficas)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("../Editeur/icons/New24.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
self.action_Nouveau.setIcon(icon)
self.action_Nouveau.setObjectName("action_Nouveau")
self.actionNouvel_Include = QtGui.QAction(Eficas)
self.actionNouvel_Include.setObjectName("actionNouvel_Include")
self.action_Ouvrir = QtGui.QAction(Eficas)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("../Editeur/icons/Open24.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
self.action_Ouvrir.setIcon(icon)
self.action_Ouvrir.setObjectName("action_Ouvrir")
self.actionEnregistrer = QtGui.QAction(Eficas)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("../Editeur/icons/Save24.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
self.actionEnregistrer.setIcon(icon)
self.actionEnregistrer.setObjectName("actionEnregistrer")
self.actionEnregistrer_sous = QtGui.QAction(Eficas)
self.actionEnregistrer_sous.setObjectName("actionEnregistrer_sous")
self.actionFermer = QtGui.QAction(Eficas)
self.actionFermer.setObjectName("actionFermer")
self.actionFermer_tout = QtGui.QAction(Eficas)
self.actionFermer_tout.setObjectName("actionFermer_tout")
self.actionCouper = QtGui.QAction(Eficas)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("../Editeur/icons/Cut24.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
self.actionCouper.setIcon(icon)
self.actionCouper.setShortcutContext(QtCore.Qt.ApplicationShortcut)
self.actionCouper.setObjectName("actionCouper")
self.actionCopier = QtGui.QAction(Eficas)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("../Editeur/icons/Copy24.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
self.actionCopier.setIcon(icon)
self.actionCopier.setShortcutContext(QtCore.Qt.ApplicationShortcut)
self.actionCopier.setObjectName("actionCopier")
self.actionColler = QtGui.QAction(Eficas)
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap("../Editeur/icons/Paste24.png"),QtGui.QIcon.Normal,QtGui.QIcon.Off)
self.actionColler.setIcon(icon)
self.actionColler.setShortcutContext(QtCore.Qt.ApplicationShortcut)
self.actionColler.setObjectName("actionColler")
self.actionQuitter = QtGui.QAction(Eficas)
self.actionQuitter.setObjectName("actionQuitter")
self.actionRapport_de_Validation = QtGui.QAction(Eficas)
self.actionRapport_de_Validation.setObjectName("actionRapport_de_Validation")
self.actionFichier_Source = QtGui.QAction(Eficas)
self.actionFichier_Source.setObjectName("actionFichier_Source")
self.actionFichier_Resultat = QtGui.QAction(Eficas)
self.actionFichier_Resultat.setObjectName("actionFichier_Resultat")
self.actionParametres_Eficas = QtGui.QAction(Eficas)
self.actionParametres_Eficas.setObjectName("actionParametres_Eficas")
self.actionLecteur_Pdf = QtGui.QAction(Eficas)
self.actionLecteur_Pdf.setObjectName("actionLecteur_Pdf")
self.actionEficas = QtGui.QAction(Eficas)
self.actionEficas.setObjectName("actionEficas")
self.actionVersion = QtGui.QAction(Eficas)
self.actionVersion.setObjectName("actionVersion")
self.actionSupprimer = QtGui.QAction(Eficas)
self.actionSupprimer.setObjectName("actionSupprimer")
self.menuFichier.addAction(self.action_Nouveau)
self.menuFichier.addAction(self.actionNouvel_Include)
self.menuFichier.addAction(self.action_Ouvrir)
self.menuFichier.addSeparator()
self.menuFichier.addAction(self.actionEnregistrer)
self.menuFichier.addAction(self.actionEnregistrer_sous)
self.menuFichier.addAction(self.actionFermer)
self.menuFichier.addAction(self.actionFermer_tout)
self.menuFichier.addSeparator()
self.menuFichier.addAction(self.actionQuitter)
self.menuEdition.addAction(self.actionCouper)
self.menuEdition.addAction(self.actionCopier)
self.menuEdition.addAction(self.actionColler)
self.menuEdition.addAction(self.actionSupprimer)
self.menuJdC.addAction(self.actionRapport_de_Validation)
self.menuJdC.addAction(self.actionFichier_Source)
self.menuJdC.addAction(self.actionFichier_Resultat)
self.menu_Aide.addAction(self.actionEficas)
self.menu_Aide.addAction(self.actionVersion)
self.menuOptions.addAction(self.actionParametres_Eficas)
self.menuOptions.addAction(self.actionLecteur_Pdf)
self.menubar.addAction(self.menuFichier.menuAction())
self.menubar.addAction(self.menuEdition.menuAction())
self.menubar.addAction(self.menuJdC.menuAction())
self.menubar.addAction(self.menu_Aide.menuAction())
self.menubar.addAction(self.menuOptions.menuAction())
self.menubar.addAction(self.menuPatrons.menuAction())
self.toolBar.addAction(self.action_Nouveau)
self.toolBar.addAction(self.action_Ouvrir)
self.toolBar.addAction(self.actionEnregistrer)
self.toolBar.addSeparator()
self.toolBar.addAction(self.actionCouper)
self.toolBar.addAction(self.actionCopier)
self.toolBar.addAction(self.actionColler)
self.retranslateUi(Eficas)
QtCore.QMetaObject.connectSlotsByName(Eficas)
def retranslateUi(self, Eficas):
Eficas.setWindowTitle(QtGui.QApplication.translate("Eficas", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
self.menuFichier.setTitle(QtGui.QApplication.translate("Eficas", "&Fichier", None, QtGui.QApplication.UnicodeUTF8))
self.menuEdition.setTitle(QtGui.QApplication.translate("Eficas", "Edition", None, QtGui.QApplication.UnicodeUTF8))
self.menuJdC.setTitle(QtGui.QApplication.translate("Eficas", "JdC", None, QtGui.QApplication.UnicodeUTF8))
self.menu_Aide.setTitle(QtGui.QApplication.translate("Eficas", "&Aide", None, QtGui.QApplication.UnicodeUTF8))
self.menuOptions.setTitle(QtGui.QApplication.translate("Eficas", "Options", None, QtGui.QApplication.UnicodeUTF8))
self.menuPatrons.setTitle(QtGui.QApplication.translate("Eficas", "Patrons", None, QtGui.QApplication.UnicodeUTF8))
self.toolBar.setWindowTitle(QtGui.QApplication.translate("Eficas", "toolBar", None, QtGui.QApplication.UnicodeUTF8))
self.action_Nouveau.setText(QtGui.QApplication.translate("Eficas", "&Nouveau", None, QtGui.QApplication.UnicodeUTF8))
self.action_Nouveau.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+N", None, QtGui.QApplication.UnicodeUTF8))
self.actionNouvel_Include.setText(QtGui.QApplication.translate("Eficas", "Nouvel Include", None, QtGui.QApplication.UnicodeUTF8))
self.action_Ouvrir.setText(QtGui.QApplication.translate("Eficas", "&Ouvrir", None, QtGui.QApplication.UnicodeUTF8))
self.action_Ouvrir.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8))
self.actionEnregistrer.setText(QtGui.QApplication.translate("Eficas", "Enregistrer", None, QtGui.QApplication.UnicodeUTF8))
self.actionEnregistrer.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+E", None, QtGui.QApplication.UnicodeUTF8))
self.actionEnregistrer_sous.setText(QtGui.QApplication.translate("Eficas", "Enregistrer sous", None, QtGui.QApplication.UnicodeUTF8))
self.actionEnregistrer_sous.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+Shift+E", None, QtGui.QApplication.UnicodeUTF8))
self.actionFermer.setText(QtGui.QApplication.translate("Eficas", "Fermer ", None, QtGui.QApplication.UnicodeUTF8))
self.actionFermer.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+W", None, QtGui.QApplication.UnicodeUTF8))
self.actionFermer_tout.setText(QtGui.QApplication.translate("Eficas", "Fermer tout", None, QtGui.QApplication.UnicodeUTF8))
self.actionCouper.setText(QtGui.QApplication.translate("Eficas", "Couper", None, QtGui.QApplication.UnicodeUTF8))
self.actionCouper.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+X", None, QtGui.QApplication.UnicodeUTF8))
self.actionCopier.setText(QtGui.QApplication.translate("Eficas", "Copier", None, QtGui.QApplication.UnicodeUTF8))
self.actionCopier.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+C", None, QtGui.QApplication.UnicodeUTF8))
self.actionColler.setText(QtGui.QApplication.translate("Eficas", "Coller", None, QtGui.QApplication.UnicodeUTF8))
self.actionColler.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+V", None, QtGui.QApplication.UnicodeUTF8))
self.actionQuitter.setText(QtGui.QApplication.translate("Eficas", "Quitter", None, QtGui.QApplication.UnicodeUTF8))
self.actionQuitter.setShortcut(QtGui.QApplication.translate("Eficas", "Ctrl+Q", None, QtGui.QApplication.UnicodeUTF8))
self.actionRapport_de_Validation.setText(QtGui.QApplication.translate("Eficas", "Rapport de Validation", None, QtGui.QApplication.UnicodeUTF8))
self.actionFichier_Source.setText(QtGui.QApplication.translate("Eficas", "Fichier Source", None, QtGui.QApplication.UnicodeUTF8))
self.actionFichier_Resultat.setText(QtGui.QApplication.translate("Eficas", "Fichier Résultat", None, QtGui.QApplication.UnicodeUTF8))
self.actionParametres_Eficas.setText(QtGui.QApplication.translate("Eficas", "Parametres Eficas", None, QtGui.QApplication.UnicodeUTF8))
self.actionLecteur_Pdf.setText(QtGui.QApplication.translate("Eficas", "Lecteur Pdf", None, QtGui.QApplication.UnicodeUTF8))
self.actionEficas.setText(QtGui.QApplication.translate("Eficas", "Eficas", None, QtGui.QApplication.UnicodeUTF8))
self.actionVersion.setText(QtGui.QApplication.translate("Eficas", "Version", None, QtGui.QApplication.UnicodeUTF8))
self.actionSupprimer.setText(QtGui.QApplication.translate("Eficas", "Supprimer", None, QtGui.QApplication.UnicodeUTF8))
if __name__ == "__main__":
import sys
app = QtGui.QApplication(sys.argv)
Eficas = QtGui.QMainWindow()
ui = Ui_Eficas()
ui.setupUi(Eficas)
Eficas.show()
sys.exit(app.exec_())
|