+++ /dev/null
-<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
-<class>desOptions</class>
-<widget class="QDialog">
- <property name="name">
- <cstring>desOptions</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>570</width>
- <height>474</height>
- </rect>
- </property>
- <property name="caption">
- <string>Options Aster</string>
- </property>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>groupBox1</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>11</x>
- <y>11</y>
- <width>548</width>
- <height>191</height>
- </rect>
- </property>
- <property name="title">
- <string>Configurer une Version</string>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel1_3</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>60</y>
- <width>280</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>Répertoire d'accès au catalogue :</string>
- </property>
- </widget>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel1_2_2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>120</y>
- <width>280</width>
- <height>20</height>
- </rect>
- </property>
- <property name="text">
- <string>Répertoire d'accès aux matériaux :</string>
- </property>
- </widget>
- <widget class="QComboBox">
- <property name="name">
- <cstring>CBVersions</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>20</y>
- <width>90</width>
- <height>30</height>
- </rect>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>LERepMat</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>140</y>
- <width>501</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>LERepCata</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>30</x>
- <y>80</y>
- <width>501</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>Bok</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>440</x>
- <y>20</y>
- <width>90</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string>Valider</string>
- </property>
- <property name="autoDefault">
- <bool>false</bool>
- </property>
- </widget>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>groupBox2</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>11</x>
- <y>208</y>
- <width>548</width>
- <height>90</height>
- </rect>
- </property>
- <property name="title">
- <string>Gérer les versions</string>
- </property>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>LEVersionAjout</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>120</x>
- <y>31</y>
- <width>101</width>
- <height>30</height>
- </rect>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>LEVersionSup</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>410</x>
- <y>30</y>
- <width>101</width>
- <height>30</height>
- </rect>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>PBSup</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>300</x>
- <y>20</y>
- <width>101</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text">
- <string>Supprimer
-Version :</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>PBajout</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>20</y>
- <width>101</width>
- <height>41</height>
- </rect>
- </property>
- <property name="text">
- <string>Ajouter
-Version :</string>
- </property>
- </widget>
- </widget>
- <widget class="QGroupBox">
- <property name="name">
- <cstring>groupBox3</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>310</y>
- <width>548</width>
- <height>90</height>
- </rect>
- </property>
- <property name="title">
- <string>Doc</string>
- </property>
- <widget class="QLabel">
- <property name="name">
- <cstring>textLabel1</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>10</y>
- <width>280</width>
- <height>40</height>
- </rect>
- </property>
- <property name="text">
- <string>Repertoire d'acces à la documentation :</string>
- </property>
- </widget>
- <widget class="QLineEdit">
- <property name="name">
- <cstring>LERepDoc</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>20</x>
- <y>50</y>
- <width>520</width>
- <height>31</height>
- </rect>
- </property>
- <property name="text">
- <string></string>
- </property>
- </widget>
- </widget>
- <widget class="QCheckBox">
- <property name="name">
- <cstring>Bdefaut</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>10</x>
- <y>430</y>
- <width>280</width>
- <height>20</height>
- </rect>
- </property>
- <property name="font">
- <font>
- <pointsize>12</pointsize>
- </font>
- </property>
- <property name="text">
- <string>Reinitialiser avec les valeurs par defaut</string>
- </property>
- </widget>
- <widget class="QPushButton">
- <property name="name">
- <cstring>PBQuit</cstring>
- </property>
- <property name="geometry">
- <rect>
- <x>400</x>
- <y>420</y>
- <width>151</width>
- <height>31</height>
- </rect>
- </property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>30</height>
- </size>
- </property>
- <property name="text">
- <string>Quitter</string>
- </property>
- </widget>
-</widget>
-<connections>
- <connection>
- <sender>CBVersions</sender>
- <signal>activated(int)</signal>
- <receiver>desOptions</receiver>
- <slot>VersionChoisie()</slot>
- </connection>
- <connection>
- <sender>Bdefaut</sender>
- <signal>clicked()</signal>
- <receiver>desOptions</receiver>
- <slot>BdefautChecked()</slot>
- </connection>
- <connection>
- <sender>LEVersionAjout</sender>
- <signal>returnPressed()</signal>
- <receiver>desOptions</receiver>
- <slot>AjoutVersion()</slot>
- </connection>
- <connection>
- <sender>LERepDoc</sender>
- <signal>returnPressed()</signal>
- <receiver>desOptions</receiver>
- <slot>ChangePathDoc()</slot>
- </connection>
- <connection>
- <sender>Bok</sender>
- <signal>clicked()</signal>
- <receiver>desOptions</receiver>
- <slot>BokClicked()</slot>
- </connection>
- <connection>
- <sender>LEVersionSup</sender>
- <signal>returnPressed()</signal>
- <receiver>desOptions</receiver>
- <slot>SupVersion()</slot>
- </connection>
- <connection>
- <sender>PBajout</sender>
- <signal>clicked()</signal>
- <receiver>desOptions</receiver>
- <slot>AjoutVersion()</slot>
- </connection>
- <connection>
- <sender>PBSup</sender>
- <signal>clicked()</signal>
- <receiver>desOptions</receiver>
- <slot>SupVersion()</slot>
- </connection>
- <connection>
- <sender>PBQuit</sender>
- <signal>clicked()</signal>
- <receiver>desOptions</receiver>
- <slot>close()</slot>
- </connection>
-</connections>
-<slots>
- <slot>VersionChoisie()</slot>
- <slot>BdefautChecked()</slot>
- <slot>AjoutVersion()</slot>
- <slot>SupVersion()</slot>
- <slot>ChangePathDoc()</slot>
- <slot>BokClicked()</slot>
-</slots>
-<layoutdefaults spacing="6" margin="11"/>
-</UI>
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desMacro.ui'
-#
-# Created: Wed Jul 9 10:11:21 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_DMacro(object):
- def setupUi(self, DMacro):
- DMacro.setObjectName("DMacro")
- DMacro.resize(521,499)
- DMacro.setMinimumSize(QtCore.QSize(505,0))
- self.gridlayout = QtGui.QGridLayout(DMacro)
- self.gridlayout.setObjectName("gridlayout")
- self.Commentaire = QtGui.QLabel(DMacro)
- self.Commentaire.setWordWrap(False)
- self.Commentaire.setObjectName("Commentaire")
- self.gridlayout.addWidget(self.Commentaire,1,0,1,3)
- self.TWChoix = QtGui.QTabWidget(DMacro)
- self.TWChoix.setObjectName("TWChoix")
- self.MotClef = QtGui.QWidget()
- self.MotClef.setObjectName("MotClef")
- self.gridlayout1 = QtGui.QGridLayout(self.MotClef)
- self.gridlayout1.setObjectName("gridlayout1")
- self.LBMCPermis = QtGui.QListView(self.MotClef)
- self.LBMCPermis.setMinimumSize(QtCore.QSize(0,0))
- self.LBMCPermis.setObjectName("LBMCPermis")
- self.gridlayout1.addWidget(self.LBMCPermis,1,0,1,1)
- self.LBRegles = QtGui.QListView(self.MotClef)
- self.LBRegles.setObjectName("LBRegles")
- self.gridlayout1.addWidget(self.LBRegles,1,1,1,1)
- self.textLabel1_2 = QtGui.QLabel(self.MotClef)
- self.textLabel1_2.setWordWrap(False)
- self.textLabel1_2.setObjectName("textLabel1_2")
- self.gridlayout1.addWidget(self.textLabel1_2,0,1,1,1)
- self.textLabel1 = QtGui.QLabel(self.MotClef)
- self.textLabel1.setMinimumSize(QtCore.QSize(0,0))
- self.textLabel1.setWordWrap(False)
- self.textLabel1.setObjectName("textLabel1")
- self.gridlayout1.addWidget(self.textLabel1,0,0,1,1)
- self.TWChoix.addTab(self.MotClef,"")
- self.Commande = QtGui.QWidget()
- self.Commande.setGeometry(QtCore.QRect(0,0,483,371))
- self.Commande.setObjectName("Commande")
- self.textLabel1_4 = QtGui.QLabel(self.Commande)
- self.textLabel1_4.setGeometry(QtCore.QRect(11,11,291,44))
- self.textLabel1_4.setWordWrap(False)
- self.textLabel1_4.setObjectName("textLabel1_4")
- self.textLabel4 = QtGui.QLabel(self.Commande)
- self.textLabel4.setGeometry(QtCore.QRect(11,341,457,17))
- self.textLabel4.setWordWrap(False)
- self.textLabel4.setObjectName("textLabel4")
- self.LEFiltre = QtGui.QLineEdit(self.Commande)
- self.LEFiltre.setGeometry(QtCore.QRect(60,60,169,30))
- self.LEFiltre.setMinimumSize(QtCore.QSize(160,30))
- self.LEFiltre.setObjectName("LEFiltre")
- self.textLabel6 = QtGui.QLabel(self.Commande)
- self.textLabel6.setGeometry(QtCore.QRect(11,61,50,30))
- self.textLabel6.setMinimumSize(QtCore.QSize(50,30))
- self.textLabel6.setWordWrap(False)
- self.textLabel6.setObjectName("textLabel6")
- self.RBGroupe = QtGui.QRadioButton(self.Commande)
- self.RBGroupe.setGeometry(QtCore.QRect(330,60,101,20))
- self.RBGroupe.setObjectName("RBGroupe")
- self.RBalpha = QtGui.QRadioButton(self.Commande)
- self.RBalpha.setGeometry(QtCore.QRect(330,30,120,20))
- self.RBalpha.setChecked(True)
- self.RBalpha.setObjectName("RBalpha")
- self.groupBox = QtGui.QGroupBox(self.Commande)
- self.groupBox.setGeometry(QtCore.QRect(310,10,141,80))
- self.groupBox.setObjectName("groupBox")
- self.LBNouvCommande = QtGui.QListWidget(self.Commande)
- self.LBNouvCommande.setGeometry(QtCore.QRect(5,101,471,231))
- self.LBNouvCommande.setObjectName("LBNouvCommande")
- self.pushButton = QtGui.QPushButton(self.Commande)
- self.pushButton.setGeometry(QtCore.QRect(233,60,71,27))
- self.pushButton.setObjectName("pushButton")
- self.TWChoix.addTab(self.Commande,"")
- self.gridlayout.addWidget(self.TWChoix,0,0,1,3)
- self.bSup = QtGui.QPushButton(DMacro)
- self.bSup.setMinimumSize(QtCore.QSize(0,30))
- self.bSup.setAutoDefault(True)
- self.bSup.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DMacro", "suppression du mot clef", None, QtGui.QApplication.UnicodeUTF8)))
- self.bSup.setObjectName("bSup")
- self.gridlayout.addWidget(self.bSup,2,0,1,1)
- self.bHelp = QtGui.QPushButton(DMacro)
- self.bHelp.setMinimumSize(QtCore.QSize(0,30))
- self.bHelp.setAutoDefault(True)
- self.bHelp.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DMacro", "affichage documentation aster", None, QtGui.QApplication.UnicodeUTF8)))
- self.bHelp.setObjectName("bHelp")
- self.gridlayout.addWidget(self.bHelp,2,2,1,1)
- self.bOk = QtGui.QPushButton(DMacro)
- self.bOk.setMinimumSize(QtCore.QSize(0,30))
- self.bOk.setAutoDefault(True)
- self.bOk.setDefault(True)
- self.bOk.setProperty("toolTip",QtCore.QVariant(QtGui.QApplication.translate("DMacro", "validation de la saisie", None, QtGui.QApplication.UnicodeUTF8)))
- self.bOk.setObjectName("bOk")
- self.gridlayout.addWidget(self.bOk,2,1,1,1)
-
- self.retranslateUi(DMacro)
- DMacro.setTabOrder(self.LEFiltre,DMacro.LENomConcept)
- DMacro.setTabOrder(DMacro.LENomConcept,self.TWChoix)
- DMacro.setTabOrder(self.TWChoix,self.LBMCPermis)
- DMacro.setTabOrder(self.LBMCPermis,self.LBRegles)
- DMacro.setTabOrder(self.LBRegles,self.LBNouvCommande)
- DMacro.setTabOrder(self.LBNouvCommande,self.RBalpha)
- DMacro.setTabOrder(self.RBalpha,self.bSup)
- DMacro.setTabOrder(self.bSup,self.bHelp)
- DMacro.setTabOrder(self.bHelp,self.bOk)
-
- def retranslateUi(self, DMacro):
- DMacro.setWindowTitle(QtGui.QApplication.translate("DMacro", "DMacro", None, QtGui.QApplication.UnicodeUTF8))
- self.textLabel1_2.setText(QtGui.QApplication.translate("DMacro", "<h3><p align=\"center\"><u><b>Régles</b></u></p></h3>", None, QtGui.QApplication.UnicodeUTF8))
- self.textLabel1.setText(QtGui.QApplication.translate("DMacro", "<h3><p align=\"center\"><u><b>Mots Clefs Permis</b></u></p></h3>", None, QtGui.QApplication.UnicodeUTF8))
- self.TWChoix.setTabText(self.TWChoix.indexOf(self.MotClef), QtGui.QApplication.translate("DMacro", "Ajouter Mot-Clef", None, QtGui.QApplication.UnicodeUTF8))
- self.textLabel1_4.setText(QtGui.QApplication.translate("DMacro", "<b><u>Commandes :</u></b>", None, QtGui.QApplication.UnicodeUTF8))
- self.textLabel4.setText(QtGui.QApplication.translate("DMacro", "La commande choisie sera ajoutée APRES la commande courante", None, QtGui.QApplication.UnicodeUTF8))
- self.textLabel6.setText(QtGui.QApplication.translate("DMacro", "Filtre", None, QtGui.QApplication.UnicodeUTF8))
- self.RBGroupe.setText(QtGui.QApplication.translate("DMacro", "par groupe", None, QtGui.QApplication.UnicodeUTF8))
- self.RBalpha.setText(QtGui.QApplication.translate("DMacro", "alphabétique", None, QtGui.QApplication.UnicodeUTF8))
- self.groupBox.setTitle(QtGui.QApplication.translate("DMacro", "Affichage", None, QtGui.QApplication.UnicodeUTF8))
- self.pushButton.setText(QtGui.QApplication.translate("DMacro", "Suivant", None, QtGui.QApplication.UnicodeUTF8))
- self.TWChoix.setTabText(self.TWChoix.indexOf(self.Commande), QtGui.QApplication.translate("DMacro", "Nouvelle Commande", None, QtGui.QApplication.UnicodeUTF8))
- self.bSup.setText(QtGui.QApplication.translate("DMacro", "&Supprimer", None, QtGui.QApplication.UnicodeUTF8))
- self.bSup.setShortcut(QtGui.QApplication.translate("DMacro", "Alt+S", None, QtGui.QApplication.UnicodeUTF8))
- self.bHelp.setText(QtGui.QApplication.translate("DMacro", "&Documentation", None, QtGui.QApplication.UnicodeUTF8))
- self.bHelp.setShortcut(QtGui.QApplication.translate("DMacro", "Alt+D", None, QtGui.QApplication.UnicodeUTF8))
- self.bOk.setText(QtGui.QApplication.translate("DMacro", "&Valider", None, QtGui.QApplication.UnicodeUTF8))
- self.bOk.setShortcut(QtGui.QApplication.translate("DMacro", "Shift+A, Alt+A, Alt+A, Alt+A", None, QtGui.QApplication.UnicodeUTF8))
-
-
-if __name__ == "__main__":
- import sys
- app = QtGui.QApplication(sys.argv)
- DMacro = QtGui.QWidget()
- ui = Ui_DMacro()
- ui.setupUi(DMacro)
- DMacro.show()
- sys.exit(app.exec_())
-