*.comm
*.sh
UiQT4/*.py
+UiQT5/*.py
Aster/Cata/*
Aster/Tests/*
class FormuleNode(browser.JDCNode,typeNode.PopUpMenuNode):
def getPanel(self):
-
- from monFormulePanel import MonFormulePanel
- return MonFormulePanel(self,parent=self.editor)
-
+ from monWidgetFormule import MonWidgetFormule
+ return MonWidgetFormule(self,self.editor,self.item.object)
+
def createPopUpMenu(self):
typeNode.PopUpMenuNode.createPopUpMenu(self)
# Modules Eficas
from determine import monEnvQT5
-#if monEnvQT5:
-# from PyQt5.QtWidgets import Qicon, QScrollbar, QFrame
-# from PyQt5.QtCore import QTimer, QSize, QT
-#else :
-# from PyQt4.QtGui import *
-# from PyQt4.QtCore import
+if monEnvQT5:
+ from PyQt5.QtWidgets import Qicon, QScrollbar, QFrame
+ from PyQt5.QtCore import QTimer, QSize, QT
+else :
+ from PyQt4.QtGui import *
+ from PyQt4.QtCore import
from Extensions.i18n import tr
+++ /dev/null
-# -*- coding: utf-8 -*-
-# Copyright (C) 2007-2013 EDF R&D
-#
-# This library is free software; you can redistribute it and/or
-# modify it under the terms of the GNU Lesser General Public
-# License as published by the Free Software Foundation; either
-# version 2.1 of the License.
-#
-# This library 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
-# Lesser General Public License for more details.
-#
-# You should have received a copy of the GNU Lesser General Public
-# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-#
-# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
-#
-
-from PyQt4.QtGui import QPixmap, QIcon
-import os
-
-class PixmapCache:
- """
- Class implementing a pixmap cache for icons.
- """
- def __init__(self):
- """
- Constructor
- """
- self.pixmapCache = {}
-
-
- def getPixmap(self, key):
- """
- Public method to retrieve a pixmap.
-
- @param key name of the wanted pixmap (string)
- @return the requested pixmap (QPixmap)
- """
- if (1==1):
- #try:
- key="/local/pnoyret/Install_Eficas/EficasV1/InterfaceQT/icons/"+key
- return QPixmap(key)
- #return self.pixmapCache[key]
- #except KeyError:
- else :
- self.pixmapCache[key] = QPixmap.fromMimeSource(key)
- return self.pixmapCache[key]
-
-pixCache = PixmapCache()
-
-def getPixmap(key, cache = pixCache):
- """
- Module function to retrieve a pixmap.
-
- @param key name of the wanted pixmap (string)
- @return the requested pixmap (QPixmap)
- """
- return cache.getPixmap(key)
-
-def getIcon(key):
- key="/local/pnoyret/Install_Eficas/EficasV1/InterfaceQT/icons/"+key
- return QIcon(key)
-
-
-#from PyQt4.Qt3Support import Q3MimeSourceFactory
-
-#def initializeMimeSourceFactory():
- """
- Function to initialize the default mime source factory.
-
- """
-# defaultFactory = Q3MimeSourceFactory.defaultFactory()
-# repini=os.path.dirname(os.path.abspath(__file__))
-# defaultFactory.addFilePath(repini+"/../Editeur/icons") #CS_pbruno todo (config)
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'Tuple2.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_Tuple2(object):
- def setupUi(self, Tuple2):
- Tuple2.setObjectName("Tuple2")
- Tuple2.resize(482, 34)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(Tuple2.sizePolicy().hasHeightForWidth())
- Tuple2.setSizePolicy(sizePolicy)
- self.horizontalLayout = QtWidgets.QHBoxLayout(Tuple2)
- self.horizontalLayout.setContentsMargins(0, 1, 0, 0)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.label_5 = QtWidgets.QLabel(Tuple2)
- self.label_5.setObjectName("label_5")
- self.horizontalLayout.addWidget(self.label_5)
- self.lineEditVal_1 = LECustomTuple(Tuple2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal_1.sizePolicy().hasHeightForWidth())
- self.lineEditVal_1.setSizePolicy(sizePolicy)
- self.lineEditVal_1.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal_1.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal_1.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;\n"
-"\n"
-"")
- self.lineEditVal_1.setText("")
- self.lineEditVal_1.setReadOnly(False)
- self.lineEditVal_1.setObjectName("lineEditVal_1")
- self.horizontalLayout.addWidget(self.lineEditVal_1)
- self.label_6 = QtWidgets.QLabel(Tuple2)
- self.label_6.setObjectName("label_6")
- self.horizontalLayout.addWidget(self.label_6)
- self.lineEditVal_2 = LECustomTuple(Tuple2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal_2.sizePolicy().hasHeightForWidth())
- self.lineEditVal_2.setSizePolicy(sizePolicy)
- self.lineEditVal_2.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal_2.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal_2.setFocusPolicy(QtCore.Qt.StrongFocus)
- self.lineEditVal_2.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal_2.setObjectName("lineEditVal_2")
- self.horizontalLayout.addWidget(self.lineEditVal_2)
- self.label_7 = QtWidgets.QLabel(Tuple2)
- self.label_7.setObjectName("label_7")
- self.horizontalLayout.addWidget(self.label_7)
- spacerItem = QtWidgets.QSpacerItem(5, 20, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
-
- self.retranslateUi(Tuple2)
- QtCore.QMetaObject.connectSlotsByName(Tuple2)
-
- def retranslateUi(self, Tuple2):
- _translate = QtCore.QCoreApplication.translate
- Tuple2.setWindowTitle(_translate("Tuple2", "Form"))
- self.label_5.setText(_translate("Tuple2", "<html><head/><body><p><span style=\" font-size:14pt;\">(</span></p></body></html>"))
- self.label_6.setText(_translate("Tuple2", "<html><head/><body><p><span style=\" font-size:14pt;\">,</span></p></body></html>"))
- self.label_7.setText(_translate("Tuple2", "<html><head/><body><p><span style=\" font-size:14pt;\">)</span></p></body></html>"))
-
-from gereListe import LECustomTuple
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- Tuple2 = QtWidgets.QWidget()
- ui = Ui_Tuple2()
- ui.setupUi(Tuple2)
- Tuple2.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'Tuple3.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_Tuple3(object):
- def setupUi(self, Tuple3):
- Tuple3.setObjectName("Tuple3")
- Tuple3.resize(880, 33)
- self.horizontalLayout = QtWidgets.QHBoxLayout(Tuple3)
- self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.label_5 = QtWidgets.QLabel(Tuple3)
- self.label_5.setObjectName("label_5")
- self.horizontalLayout.addWidget(self.label_5)
- self.lineEditVal_1 = LECustomTuple(Tuple3)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal_1.sizePolicy().hasHeightForWidth())
- self.lineEditVal_1.setSizePolicy(sizePolicy)
- self.lineEditVal_1.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal_1.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal_1.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;\n"
-"\n"
-"")
- self.lineEditVal_1.setReadOnly(False)
- self.lineEditVal_1.setObjectName("lineEditVal_1")
- self.horizontalLayout.addWidget(self.lineEditVal_1)
- self.label_6 = QtWidgets.QLabel(Tuple3)
- self.label_6.setObjectName("label_6")
- self.horizontalLayout.addWidget(self.label_6)
- self.lineEditVal_2 = LECustomTuple(Tuple3)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal_2.sizePolicy().hasHeightForWidth())
- self.lineEditVal_2.setSizePolicy(sizePolicy)
- self.lineEditVal_2.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal_2.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal_2.setFocusPolicy(QtCore.Qt.StrongFocus)
- self.lineEditVal_2.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal_2.setObjectName("lineEditVal_2")
- self.horizontalLayout.addWidget(self.lineEditVal_2)
- self.label_8 = QtWidgets.QLabel(Tuple3)
- self.label_8.setObjectName("label_8")
- self.horizontalLayout.addWidget(self.label_8)
- self.lineEditVal_3 = LECustomTuple(Tuple3)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal_3.sizePolicy().hasHeightForWidth())
- self.lineEditVal_3.setSizePolicy(sizePolicy)
- self.lineEditVal_3.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal_3.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal_3.setFocusPolicy(QtCore.Qt.StrongFocus)
- self.lineEditVal_3.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal_3.setObjectName("lineEditVal_3")
- self.horizontalLayout.addWidget(self.lineEditVal_3)
- self.label_7 = QtWidgets.QLabel(Tuple3)
- self.label_7.setObjectName("label_7")
- self.horizontalLayout.addWidget(self.label_7)
- spacerItem = QtWidgets.QSpacerItem(123, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
-
- self.retranslateUi(Tuple3)
- QtCore.QMetaObject.connectSlotsByName(Tuple3)
-
- def retranslateUi(self, Tuple3):
- _translate = QtCore.QCoreApplication.translate
- Tuple3.setWindowTitle(_translate("Tuple3", "Form"))
- self.label_5.setText(_translate("Tuple3", "<html><head/><body><p><span style=\" font-size:14pt;\">(</span></p></body></html>"))
- self.label_6.setText(_translate("Tuple3", "<html><head/><body><p><span style=\" font-size:14pt;\">,</span></p></body></html>"))
- self.label_8.setText(_translate("Tuple3", "<html><head/><body><p><span style=\" font-size:14pt;\">,</span></p></body></html>"))
- self.label_7.setText(_translate("Tuple3", "<html><head/><body><p><span style=\" font-size:14pt;\">)</span></p></body></html>"))
-
-from gereListe import LECustomTuple
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- Tuple3 = QtWidgets.QWidget()
- ui = Ui_Tuple3()
- ui.setupUi(Tuple3)
- Tuple3.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desBaseWidget.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_baseWidget(object):
- def setupUi(self, baseWidget):
- baseWidget.setObjectName("baseWidget")
- baseWidget.resize(1038, 557)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(baseWidget.sizePolicy().hasHeightForWidth())
- baseWidget.setSizePolicy(sizePolicy)
- baseWidget.setMinimumSize(QtCore.QSize(0, 0))
- baseWidget.setStyleSheet("")
- self.verticalLayout = QtWidgets.QVBoxLayout(baseWidget)
- self.verticalLayout.setContentsMargins(0, 0, 0, 0)
- self.verticalLayout.setSpacing(3)
- self.verticalLayout.setObjectName("verticalLayout")
- self.splitter = QtWidgets.QSplitter(baseWidget)
- self.splitter.setOrientation(QtCore.Qt.Horizontal)
- self.splitter.setObjectName("splitter")
- self.widgetTree = QtWidgets.QWidget(self.splitter)
- self.widgetTree.setStyleSheet("background:rgb(247,247,247);\n"
-"\n"
-"")
- self.widgetTree.setObjectName("widgetTree")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.widgetTree)
- self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
- self.verticalLayout_2.setSpacing(6)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.widgetCentrale = QtWidgets.QWidget(self.splitter)
- self.widgetCentrale.setObjectName("widgetCentrale")
- self.widgetCentraleLayout = QtWidgets.QVBoxLayout(self.widgetCentrale)
- self.widgetCentraleLayout.setContentsMargins(0, 0, 0, 0)
- self.widgetCentraleLayout.setSpacing(6)
- self.widgetCentraleLayout.setObjectName("widgetCentraleLayout")
- self.verticalLayout.addWidget(self.splitter)
- self.labelCommentaire = QtWidgets.QLabel(baseWidget)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.labelCommentaire.sizePolicy().hasHeightForWidth())
- self.labelCommentaire.setSizePolicy(sizePolicy)
- self.labelCommentaire.setMinimumSize(QtCore.QSize(0, 0))
- self.labelCommentaire.setStyleSheet("")
- self.labelCommentaire.setText("")
- self.labelCommentaire.setObjectName("labelCommentaire")
- self.verticalLayout.addWidget(self.labelCommentaire)
-
- self.retranslateUi(baseWidget)
- QtCore.QMetaObject.connectSlotsByName(baseWidget)
-
- def retranslateUi(self, baseWidget):
- _translate = QtCore.QCoreApplication.translate
- baseWidget.setWindowTitle(_translate("baseWidget", "DMacro"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- baseWidget = QtWidgets.QWidget()
- ui = Ui_baseWidget()
- ui.setupUi(baseWidget)
- baseWidget.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desChoixCata.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_DChoixCata(object):
- def setupUi(self, DChoixCata):
- DChoixCata.setObjectName("DChoixCata")
- DChoixCata.resize(466, 206)
- DChoixCata.setSizeGripEnabled(True)
- self.verticalLayout = QtWidgets.QVBoxLayout(DChoixCata)
- self.verticalLayout.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout.setSpacing(6)
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_3.setSpacing(6)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.TLNb = QtWidgets.QLabel(DChoixCata)
- self.TLNb.setMinimumSize(QtCore.QSize(0, 0))
- self.TLNb.setWordWrap(False)
- self.TLNb.setObjectName("TLNb")
- self.horizontalLayout_3.addWidget(self.TLNb)
- spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem)
- self.verticalLayout.addLayout(self.horizontalLayout_3)
- spacerItem1 = QtWidgets.QSpacerItem(20, 45, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem1)
- self.CBChoixCata = QtWidgets.QComboBox(DChoixCata)
- self.CBChoixCata.setEnabled(True)
- self.CBChoixCata.setMinimumSize(QtCore.QSize(400, 41))
- self.CBChoixCata.setMaximumSize(QtCore.QSize(150, 16777215))
- self.CBChoixCata.setObjectName("CBChoixCata")
- self.verticalLayout.addWidget(self.CBChoixCata)
- spacerItem2 = QtWidgets.QSpacerItem(20, 45, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem2)
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout.setSpacing(6)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem3)
- self.buttonCancel = QtWidgets.QPushButton(DChoixCata)
- self.buttonCancel.setMinimumSize(QtCore.QSize(140, 40))
- self.buttonCancel.setToolTip("")
- self.buttonCancel.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.buttonCancel.setShortcut("")
- self.buttonCancel.setAutoDefault(True)
- self.buttonCancel.setObjectName("buttonCancel")
- self.horizontalLayout.addWidget(self.buttonCancel)
- spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem4)
- self.buttonOk = QtWidgets.QPushButton(DChoixCata)
- self.buttonOk.setMinimumSize(QtCore.QSize(140, 40))
- self.buttonOk.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"\n"
-"")
- self.buttonOk.setShortcut("")
- self.buttonOk.setAutoDefault(True)
- self.buttonOk.setDefault(True)
- self.buttonOk.setObjectName("buttonOk")
- self.horizontalLayout.addWidget(self.buttonOk)
- self.verticalLayout.addLayout(self.horizontalLayout)
-
- self.retranslateUi(DChoixCata)
- QtCore.QMetaObject.connectSlotsByName(DChoixCata)
-
- def retranslateUi(self, DChoixCata):
- _translate = QtCore.QCoreApplication.translate
- DChoixCata.setWindowTitle(_translate("DChoixCata", "Choix d\'une version du code Aster"))
- self.TLNb.setText(_translate("DChoixCata", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
-"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
-"p, li { white-space: pre-wrap; }\n"
-"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
-"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-size:11pt;\">2 versions sont disponibles</span></p></body></html>"))
- self.buttonCancel.setText(_translate("DChoixCata", "&Cancel"))
- self.buttonOk.setToolTip(_translate("DChoixCata", "Validate choice"))
- self.buttonOk.setText(_translate("DChoixCata", "&OK"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- DChoixCata = QtWidgets.QDialog()
- ui = Ui_DChoixCata()
- ui.setupUi(DChoixCata)
- DChoixCata.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desChoixCode.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_ChoixCode(object):
- def setupUi(self, ChoixCode):
- ChoixCode.setObjectName("ChoixCode")
- ChoixCode.resize(555, 332)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(ChoixCode.sizePolicy().hasHeightForWidth())
- ChoixCode.setSizePolicy(sizePolicy)
- self.verticalLayout = QtWidgets.QVBoxLayout(ChoixCode)
- self.verticalLayout.setObjectName("verticalLayout")
- self.label_choix = QtWidgets.QLabel(ChoixCode)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label_choix.sizePolicy().hasHeightForWidth())
- self.label_choix.setSizePolicy(sizePolicy)
- self.label_choix.setMinimumSize(QtCore.QSize(0, 30))
- self.label_choix.setObjectName("label_choix")
- self.verticalLayout.addWidget(self.label_choix)
- self.groupBox = QtWidgets.QGroupBox(ChoixCode)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
- self.groupBox.setSizePolicy(sizePolicy)
- self.groupBox.setTitle("")
- self.groupBox.setObjectName("groupBox")
- self.verticalLayout.addWidget(self.groupBox)
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.pB_cancel = QtWidgets.QPushButton(ChoixCode)
- self.pB_cancel.setMinimumSize(QtCore.QSize(140, 40))
- self.pB_cancel.setToolTip("")
- self.pB_cancel.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.pB_cancel.setShortcut("")
- self.pB_cancel.setAutoDefault(True)
- self.pB_cancel.setObjectName("pB_cancel")
- self.horizontalLayout.addWidget(self.pB_cancel)
- spacerItem1 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem1)
- self.pB_OK = QtWidgets.QPushButton(ChoixCode)
- self.pB_OK.setMinimumSize(QtCore.QSize(140, 40))
- self.pB_OK.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"\n"
-"")
- self.pB_OK.setShortcut("")
- self.pB_OK.setAutoDefault(True)
- self.pB_OK.setDefault(True)
- self.pB_OK.setObjectName("pB_OK")
- self.horizontalLayout.addWidget(self.pB_OK)
- self.verticalLayout.addLayout(self.horizontalLayout)
-
- self.retranslateUi(ChoixCode)
- QtCore.QMetaObject.connectSlotsByName(ChoixCode)
-
- def retranslateUi(self, ChoixCode):
- _translate = QtCore.QCoreApplication.translate
- ChoixCode.setWindowTitle(_translate("ChoixCode", "Choix du code"))
- self.label_choix.setText(_translate("ChoixCode", "Veuillez choisir un code :"))
- self.pB_cancel.setText(_translate("ChoixCode", "&Cancel"))
- self.pB_OK.setToolTip(_translate("ChoixCode", "Validate choice"))
- self.pB_OK.setText(_translate("ChoixCode", "&OK"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- ChoixCode = QtWidgets.QWidget()
- ui = Ui_ChoixCode()
- ui.setupUi(ChoixCode)
- ChoixCode.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desChoixCommandes.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_ChoixCommandes(object):
- def setupUi(self, ChoixCommandes):
- ChoixCommandes.setObjectName("ChoixCommandes")
- ChoixCommandes.resize(1244, 652)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(ChoixCommandes.sizePolicy().hasHeightForWidth())
- ChoixCommandes.setSizePolicy(sizePolicy)
- ChoixCommandes.setMinimumSize(QtCore.QSize(505, 0))
- ChoixCommandes.setStyleSheet("background-color : rgb(248,247,246)")
- self.verticalLayout_4 = QtWidgets.QVBoxLayout(ChoixCommandes)
- self.verticalLayout_4.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout_4.setSpacing(6)
- self.verticalLayout_4.setObjectName("verticalLayout_4")
- self.frameAffichage = QtWidgets.QFrame(ChoixCommandes)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.frameAffichage.sizePolicy().hasHeightForWidth())
- self.frameAffichage.setSizePolicy(sizePolicy)
- self.frameAffichage.setMinimumSize(QtCore.QSize(0, 130))
- self.frameAffichage.setMaximumSize(QtCore.QSize(16777215, 130))
- self.frameAffichage.setStyleSheet("background-color:rgb(224,223,222)")
- self.frameAffichage.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.frameAffichage.setFrameShadow(QtWidgets.QFrame.Raised)
- self.frameAffichage.setObjectName("frameAffichage")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.frameAffichage)
- self.horizontalLayout_3.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_3.setSpacing(6)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.verticalLayout_2.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.label = QtWidgets.QLabel(self.frameAffichage)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setObjectName("label")
- self.verticalLayout_2.addWidget(self.label)
- self.RBalpha = QtWidgets.QRadioButton(self.frameAffichage)
- self.RBalpha.setObjectName("RBalpha")
- self.verticalLayout_2.addWidget(self.RBalpha)
- self.RBOrdre = QtWidgets.QRadioButton(self.frameAffichage)
- self.RBOrdre.setObjectName("RBOrdre")
- self.verticalLayout_2.addWidget(self.RBOrdre)
- self.RBGroupe = QtWidgets.QRadioButton(self.frameAffichage)
- self.RBGroupe.setObjectName("RBGroupe")
- self.verticalLayout_2.addWidget(self.RBGroupe)
- self.horizontalLayout_3.addLayout(self.verticalLayout_2)
- spacerItem = QtWidgets.QSpacerItem(109, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem)
- self.verticalLayout_3 = QtWidgets.QVBoxLayout()
- self.verticalLayout_3.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout_3.setSpacing(0)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.textLabel6 = QtWidgets.QLabel(self.frameAffichage)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.textLabel6.sizePolicy().hasHeightForWidth())
- self.textLabel6.setSizePolicy(sizePolicy)
- self.textLabel6.setMinimumSize(QtCore.QSize(141, 35))
- self.textLabel6.setMaximumSize(QtCore.QSize(16777215, 35))
- self.textLabel6.setFrameShape(QtWidgets.QFrame.Box)
- self.textLabel6.setFrameShadow(QtWidgets.QFrame.Raised)
- self.textLabel6.setLineWidth(1)
- self.textLabel6.setWordWrap(False)
- self.textLabel6.setObjectName("textLabel6")
- self.verticalLayout_3.addWidget(self.textLabel6)
- self.LEFiltre = QtWidgets.QLineEdit(self.frameAffichage)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.LEFiltre.sizePolicy().hasHeightForWidth())
- self.LEFiltre.setSizePolicy(sizePolicy)
- self.LEFiltre.setMinimumSize(QtCore.QSize(195, 30))
- self.LEFiltre.setStyleSheet("background-color : rgb(248,247,246)")
- self.LEFiltre.setFrame(False)
- self.LEFiltre.setObjectName("LEFiltre")
- self.verticalLayout_3.addWidget(self.LEFiltre)
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_2.setSpacing(6)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.RBCasse = QtWidgets.QRadioButton(self.frameAffichage)
- self.RBCasse.setAutoExclusive(False)
- self.RBCasse.setObjectName("RBCasse")
- self.horizontalLayout_2.addWidget(self.RBCasse)
- self.RBClear = QtWidgets.QPushButton(self.frameAffichage)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.RBClear.sizePolicy().hasHeightForWidth())
- self.RBClear.setSizePolicy(sizePolicy)
- self.RBClear.setMinimumSize(QtCore.QSize(200, 40))
- self.RBClear.setMaximumSize(QtCore.QSize(200, 40))
- self.RBClear.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.RBClear.setObjectName("RBClear")
- self.horizontalLayout_2.addWidget(self.RBClear)
- self.verticalLayout_3.addLayout(self.horizontalLayout_2)
- self.horizontalLayout_3.addLayout(self.verticalLayout_3)
- spacerItem1 = QtWidgets.QSpacerItem(108, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem1)
- self.verticalLayout_5 = QtWidgets.QVBoxLayout()
- self.verticalLayout_5.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout_5.setSpacing(6)
- self.verticalLayout_5.setObjectName("verticalLayout_5")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout.setSpacing(6)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.RBRegle = QtWidgets.QToolButton(self.frameAffichage)
- self.RBRegle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBRegle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBRegle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBRegle.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/lettreRblanc30.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBRegle.setIcon(icon)
- self.RBRegle.setIconSize(QtCore.QSize(21, 31))
- self.RBRegle.setObjectName("RBRegle")
- self.horizontalLayout.addWidget(self.RBRegle)
- self.labelRegle = QtWidgets.QLabel(self.frameAffichage)
- self.labelRegle.setObjectName("labelRegle")
- self.horizontalLayout.addWidget(self.labelRegle)
- self.verticalLayout_5.addLayout(self.horizontalLayout)
- spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_5.addItem(spacerItem2)
- self.horizontalLayout_3.addLayout(self.verticalLayout_5)
- self.verticalLayout_4.addWidget(self.frameAffichage)
- self.scrollAreaCommandes = QtWidgets.QScrollArea(ChoixCommandes)
- self.scrollAreaCommandes.setStyleSheet("")
- self.scrollAreaCommandes.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollAreaCommandes.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
- self.scrollAreaCommandes.setWidgetResizable(True)
- self.scrollAreaCommandes.setObjectName("scrollAreaCommandes")
- self.scrollAreaWidgetContents = QtWidgets.QWidget()
- self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 1226, 498))
- self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
- self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
- self.verticalLayout.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout.setSpacing(6)
- self.verticalLayout.setObjectName("verticalLayout")
- self.commandesLayout = QtWidgets.QVBoxLayout()
- self.commandesLayout.setContentsMargins(11, 11, 11, 11)
- self.commandesLayout.setSpacing(0)
- self.commandesLayout.setObjectName("commandesLayout")
- self.verticalLayout.addLayout(self.commandesLayout)
- self.scrollAreaCommandes.setWidget(self.scrollAreaWidgetContents)
- self.verticalLayout_4.addWidget(self.scrollAreaCommandes)
-
- self.retranslateUi(ChoixCommandes)
- QtCore.QMetaObject.connectSlotsByName(ChoixCommandes)
-
- def retranslateUi(self, ChoixCommandes):
- _translate = QtCore.QCoreApplication.translate
- ChoixCommandes.setWindowTitle(_translate("ChoixCommandes", "DMacro"))
- self.label.setText(_translate("ChoixCommandes", "<html><head/><body><p align=\"center\"><span style=\" text-decoration: underline;\">Affichage</span></p></body></html>"))
- self.RBalpha.setToolTip(_translate("ChoixCommandes", "affiche les commandes par ordre alphabetique"))
- self.RBalpha.setText(_translate("ChoixCommandes", "Alphabetique"))
- self.RBOrdre.setToolTip(_translate("ChoixCommandes", "affiche les commandes selon les thèmes"))
- self.RBOrdre.setText(_translate("ChoixCommandes", "Ordre de la modélisation"))
- self.RBGroupe.setToolTip(_translate("ChoixCommandes", "affiche les commandes selon les thèmes"))
- self.RBGroupe.setText(_translate("ChoixCommandes", "Par Groupe"))
- self.textLabel6.setToolTip(_translate("ChoixCommandes", "selectionne les mots qui CONTIENNENT l expression"))
- self.textLabel6.setText(_translate("ChoixCommandes", "<html><head/><body><p align=\"center\">Filtre Commande</p></body></html>"))
- self.LEFiltre.setToolTip(_translate("ChoixCommandes", "filter commands"))
- self.RBCasse.setText(_translate("ChoixCommandes", "Sensible à la casse"))
- self.RBClear.setToolTip(_translate("ChoixCommandes", "ré-affiche toutes les commandes"))
- self.RBClear.setText(_translate("ChoixCommandes", "Effacer "))
- self.RBRegle.setToolTip(_translate("ChoixCommandes", "affiche les régles de validité"))
- self.RBRegle.setText(_translate("ChoixCommandes", "..."))
- self.labelRegle.setText(_translate("ChoixCommandes", "Règles de construction"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- ChoixCommandes = QtWidgets.QWidget()
- ui = Ui_ChoixCommandes()
- ui.setupUi(ChoixCommandes)
- ChoixCommandes.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desRecherche.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_desRecherche(object):
- def setupUi(self, desRecherche):
- desRecherche.setObjectName("desRecherche")
- desRecherche.resize(525, 55)
- self.LERecherche = QtWidgets.QLineEdit(desRecherche)
- self.LERecherche.setGeometry(QtCore.QRect(0, 10, 411, 41))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Maximum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.LERecherche.sizePolicy().hasHeightForWidth())
- self.LERecherche.setSizePolicy(sizePolicy)
- self.LERecherche.setStyleSheet("background:rgb(240,240,240)")
- self.LERecherche.setObjectName("LERecherche")
- self.PBSuivant = QtWidgets.QPushButton(desRecherche)
- self.PBSuivant.setEnabled(True)
- self.PBSuivant.setGeometry(QtCore.QRect(420, 10, 101, 41))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.PBSuivant.sizePolicy().hasHeightForWidth())
- self.PBSuivant.setSizePolicy(sizePolicy)
- self.PBSuivant.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.PBSuivant.setAutoDefault(False)
- self.PBSuivant.setDefault(True)
- self.PBSuivant.setObjectName("PBSuivant")
-
- self.retranslateUi(desRecherche)
- QtCore.QMetaObject.connectSlotsByName(desRecherche)
-
- def retranslateUi(self, desRecherche):
- _translate = QtCore.QCoreApplication.translate
- desRecherche.setWindowTitle(_translate("desRecherche", "Rechercher dans le JDC"))
- desRecherche.setToolTip(_translate("desRecherche", "Next"))
- self.PBSuivant.setText(_translate("desRecherche", "Suivant"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- desRecherche = QtWidgets.QWidget()
- ui = Ui_desRecherche()
- ui.setupUi(desRecherche)
- desRecherche.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desSelectVal.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_DSelVal(object):
- def setupUi(self, DSelVal):
- DSelVal.setObjectName("DSelVal")
- DSelVal.resize(633, 705)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(DSelVal.sizePolicy().hasHeightForWidth())
- DSelVal.setSizePolicy(sizePolicy)
- DSelVal.setStyleSheet("background:rgb(235,235,235)")
- self.verticalLayout_3 = QtWidgets.QVBoxLayout(DSelVal)
- self.verticalLayout_3.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout_3.setSpacing(6)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.TBtext = QtWidgets.QTextEdit(DSelVal)
- self.TBtext.setMinimumSize(QtCore.QSize(0, 400))
- self.TBtext.setStyleSheet("background:rgb(250,250,250)")
- self.TBtext.setObjectName("TBtext")
- self.verticalLayout_3.addWidget(self.TBtext)
- spacerItem = QtWidgets.QSpacerItem(20, 10, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
- self.verticalLayout_3.addItem(spacerItem)
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout.setSpacing(6)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.BGSeparateur = QtWidgets.QGroupBox(DSelVal)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.BGSeparateur.sizePolicy().hasHeightForWidth())
- self.BGSeparateur.setSizePolicy(sizePolicy)
- self.BGSeparateur.setMinimumSize(QtCore.QSize(280, 150))
- self.BGSeparateur.setObjectName("BGSeparateur")
- self.verticalLayout_4 = QtWidgets.QVBoxLayout(self.BGSeparateur)
- self.verticalLayout_4.setContentsMargins(11, 15, 11, 0)
- self.verticalLayout_4.setSpacing(6)
- self.verticalLayout_4.setObjectName("verticalLayout_4")
- spacerItem1 = QtWidgets.QSpacerItem(20, 7, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
- self.verticalLayout_4.addItem(spacerItem1)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.verticalLayout.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout.setSpacing(0)
- self.verticalLayout.setObjectName("verticalLayout")
- self.Bespace = QtWidgets.QRadioButton(self.BGSeparateur)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.Bespace.sizePolicy().hasHeightForWidth())
- self.Bespace.setSizePolicy(sizePolicy)
- self.Bespace.setChecked(True)
- self.Bespace.setObjectName("Bespace")
- self.verticalLayout.addWidget(self.Bespace)
- self.Bvirgule = QtWidgets.QRadioButton(self.BGSeparateur)
- self.Bvirgule.setObjectName("Bvirgule")
- self.verticalLayout.addWidget(self.Bvirgule)
- self.BpointVirgule = QtWidgets.QRadioButton(self.BGSeparateur)
- self.BpointVirgule.setObjectName("BpointVirgule")
- self.verticalLayout.addWidget(self.BpointVirgule)
- self.verticalLayout_4.addLayout(self.verticalLayout)
- self.horizontalLayout.addWidget(self.BGSeparateur)
- spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem2)
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- spacerItem3 = QtWidgets.QSpacerItem(23, 43, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
- self.verticalLayout_2.addItem(spacerItem3)
- self.BImportTout = QtWidgets.QPushButton(DSelVal)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.BImportTout.sizePolicy().hasHeightForWidth())
- self.BImportTout.setSizePolicy(sizePolicy)
- self.BImportTout.setMinimumSize(QtCore.QSize(200, 40))
- self.BImportTout.setMaximumSize(QtCore.QSize(200, 40))
- self.BImportTout.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.BImportTout.setObjectName("BImportTout")
- self.verticalLayout_2.addWidget(self.BImportTout)
- self.BImportSel = QtWidgets.QPushButton(DSelVal)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.BImportSel.sizePolicy().hasHeightForWidth())
- self.BImportSel.setSizePolicy(sizePolicy)
- self.BImportSel.setMinimumSize(QtCore.QSize(200, 40))
- self.BImportSel.setMaximumSize(QtCore.QSize(200, 40))
- self.BImportSel.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.BImportSel.setObjectName("BImportSel")
- self.verticalLayout_2.addWidget(self.BImportSel)
- self.horizontalLayout.addLayout(self.verticalLayout_2)
- self.verticalLayout_3.addLayout(self.horizontalLayout)
-
- self.retranslateUi(DSelVal)
- QtCore.QMetaObject.connectSlotsByName(DSelVal)
-
- def retranslateUi(self, DSelVal):
- _translate = QtCore.QCoreApplication.translate
- DSelVal.setWindowTitle(_translate("DSelVal", "Sélection de valeurs"))
- self.BGSeparateur.setTitle(_translate("DSelVal", "Separateur"))
- self.Bespace.setText(_translate("DSelVal", "espace"))
- self.Bvirgule.setText(_translate("DSelVal", "virgule"))
- self.BpointVirgule.setText(_translate("DSelVal", "point-virgule"))
- self.BImportTout.setText(_translate("DSelVal", "Importer Tout"))
- self.BImportSel.setText(_translate("DSelVal", "Ajouter Selection"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- DSelVal = QtWidgets.QWidget()
- ui = Ui_DSelVal()
- ui.setupUi(DSelVal)
- DSelVal.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desViewRegles.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_viewRegles(object):
- def setupUi(self, viewRegles):
- viewRegles.setObjectName("viewRegles")
- viewRegles.resize(411, 322)
- self.verticalLayout_2 = QtWidgets.QVBoxLayout(viewRegles)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.scrollArea = QtWidgets.QScrollArea(viewRegles)
- self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollArea.setWidgetResizable(True)
- self.scrollArea.setObjectName("scrollArea")
- self.scrollAreaWidgetContents = QtWidgets.QWidget()
- self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 393, 304))
- self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
- self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
- self.verticalLayout.setContentsMargins(0, 0, 0, 0)
- self.verticalLayout.setSpacing(0)
- self.verticalLayout.setObjectName("verticalLayout")
- self.LBRegles = QtWidgets.QListWidget(self.scrollAreaWidgetContents)
- self.LBRegles.setObjectName("LBRegles")
- self.verticalLayout.addWidget(self.LBRegles)
- self.scrollArea.setWidget(self.scrollAreaWidgetContents)
- self.verticalLayout_2.addWidget(self.scrollArea)
-
- self.retranslateUi(viewRegles)
- QtCore.QMetaObject.connectSlotsByName(viewRegles)
-
- def retranslateUi(self, viewRegles):
- _translate = QtCore.QCoreApplication.translate
- viewRegles.setWindowTitle(_translate("viewRegles", "Dialog"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- viewRegles = QtWidgets.QDialog()
- ui = Ui_viewRegles()
- ui.setupUi(viewRegles)
- viewRegles.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desViewTexte.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_dView(object):
- def setupUi(self, dView):
- dView.setObjectName("dView")
- dView.resize(400, 322)
- self.gridLayout = QtWidgets.QGridLayout(dView)
- self.gridLayout.setObjectName("gridLayout")
- self.view = QtWidgets.QTextBrowser(dView)
- self.view.setObjectName("view")
- self.gridLayout.addWidget(self.view, 0, 0, 1, 4)
- spacerItem = QtWidgets.QSpacerItem(209, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.gridLayout.addItem(spacerItem, 1, 0, 1, 1)
- self.bclose = QtWidgets.QPushButton(dView)
- self.bclose.setObjectName("bclose")
- self.gridLayout.addWidget(self.bclose, 1, 2, 1, 1)
- self.bsave = QtWidgets.QPushButton(dView)
- self.bsave.setObjectName("bsave")
- self.gridLayout.addWidget(self.bsave, 1, 1, 1, 1)
- self.view.raise_()
- self.bclose.raise_()
- self.bsave.raise_()
-
- self.retranslateUi(dView)
- QtCore.QMetaObject.connectSlotsByName(dView)
-
- def retranslateUi(self, dView):
- _translate = QtCore.QCoreApplication.translate
- dView.setWindowTitle(_translate("dView", "Dialog"))
- self.bclose.setText(_translate("dView", "Fermer"))
- self.bsave.setText(_translate("dView", "Sauver"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- dView = QtWidgets.QDialog()
- ui = Ui_dView()
- ui.setupUi(dView)
- dView.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desVisu.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_DVisu(object):
- def setupUi(self, DVisu):
- DVisu.setObjectName("DVisu")
- DVisu.resize(501, 61)
- self.horizontalLayout = QtWidgets.QHBoxLayout(DVisu)
- self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.TB = QtWidgets.QTextBrowser(DVisu)
- self.TB.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.TB.setFrameShadow(QtWidgets.QFrame.Plain)
- self.TB.setObjectName("TB")
- self.horizontalLayout.addWidget(self.TB)
-
- self.retranslateUi(DVisu)
- QtCore.QMetaObject.connectSlotsByName(DVisu)
-
- def retranslateUi(self, DVisu):
- _translate = QtCore.QCoreApplication.translate
- DVisu.setWindowTitle(_translate("DVisu", "Visualisation Include Materiau"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- DVisu = QtWidgets.QWidget()
- ui = Ui_DVisu()
- ui.setupUi(DVisu)
- DVisu.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidget4a6RadioButton.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_Widget4a6RadioButton(object):
- def setupUi(self, Widget4a6RadioButton):
- Widget4a6RadioButton.setObjectName("Widget4a6RadioButton")
- Widget4a6RadioButton.resize(949, 73)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(Widget4a6RadioButton.sizePolicy().hasHeightForWidth())
- Widget4a6RadioButton.setSizePolicy(sizePolicy)
- Widget4a6RadioButton.setMinimumSize(QtCore.QSize(0, 0))
- Widget4a6RadioButton.setMaximumSize(QtCore.QSize(16777215, 16777215))
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout(Widget4a6RadioButton)
- self.horizontalLayout_2.setContentsMargins(0, 2, 0, 2)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.verticalLayout_3 = QtWidgets.QVBoxLayout()
- self.verticalLayout_3.setSpacing(0)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(Widget4a6RadioButton)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout_3.addLayout(self.horizontalLayout)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_3.addItem(spacerItem1)
- self.horizontalLayout_2.addLayout(self.verticalLayout_3)
- self.label = MonLabelClic(Widget4a6RadioButton)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_2.addWidget(self.label)
- self.frame = QtWidgets.QFrame(Widget4a6RadioButton)
- self.frame.setFrameShape(QtWidgets.QFrame.Box)
- self.frame.setObjectName("frame")
- self.gridLayout = QtWidgets.QGridLayout(self.frame)
- self.gridLayout.setContentsMargins(1, 0, 1, 0)
- self.gridLayout.setHorizontalSpacing(1)
- self.gridLayout.setVerticalSpacing(0)
- self.gridLayout.setObjectName("gridLayout")
- self.radioButton_1 = QtWidgets.QRadioButton(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.radioButton_1.sizePolicy().hasHeightForWidth())
- self.radioButton_1.setSizePolicy(sizePolicy)
- self.radioButton_1.setObjectName("radioButton_1")
- self.gridLayout.addWidget(self.radioButton_1, 0, 0, 1, 1)
- self.radioButton_2 = QtWidgets.QRadioButton(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.radioButton_2.sizePolicy().hasHeightForWidth())
- self.radioButton_2.setSizePolicy(sizePolicy)
- self.radioButton_2.setObjectName("radioButton_2")
- self.gridLayout.addWidget(self.radioButton_2, 0, 1, 1, 1)
- self.radioButton_3 = QtWidgets.QRadioButton(self.frame)
- self.radioButton_3.setObjectName("radioButton_3")
- self.gridLayout.addWidget(self.radioButton_3, 0, 2, 1, 1)
- self.radioButton_4 = QtWidgets.QRadioButton(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.radioButton_4.sizePolicy().hasHeightForWidth())
- self.radioButton_4.setSizePolicy(sizePolicy)
- self.radioButton_4.setObjectName("radioButton_4")
- self.gridLayout.addWidget(self.radioButton_4, 1, 0, 1, 1)
- self.radioButton_5 = QtWidgets.QRadioButton(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.radioButton_5.sizePolicy().hasHeightForWidth())
- self.radioButton_5.setSizePolicy(sizePolicy)
- self.radioButton_5.setObjectName("radioButton_5")
- self.gridLayout.addWidget(self.radioButton_5, 1, 1, 1, 1)
- self.radioButton_6 = QtWidgets.QRadioButton(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.radioButton_6.sizePolicy().hasHeightForWidth())
- self.radioButton_6.setSizePolicy(sizePolicy)
- self.radioButton_6.setObjectName("radioButton_6")
- self.gridLayout.addWidget(self.radioButton_6, 1, 2, 1, 1)
- self.horizontalLayout_2.addWidget(self.frame)
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- spacerItem2 = QtWidgets.QSpacerItem(10, 20, QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Minimum)
- self.verticalLayout_2.addItem(spacerItem2)
- spacerItem3 = QtWidgets.QSpacerItem(17, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem3)
- self.horizontalLayout_2.addLayout(self.verticalLayout_2)
- self.verticalLayout_4 = QtWidgets.QVBoxLayout()
- self.verticalLayout_4.setObjectName("verticalLayout_4")
- self.RBPoubelle = QtWidgets.QToolButton(Widget4a6RadioButton)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.StrongFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.verticalLayout_4.addWidget(self.RBPoubelle)
- spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_4.addItem(spacerItem4)
- self.horizontalLayout_2.addLayout(self.verticalLayout_4)
-
- self.retranslateUi(Widget4a6RadioButton)
- QtCore.QMetaObject.connectSlotsByName(Widget4a6RadioButton)
- Widget4a6RadioButton.setTabOrder(self.radioButton_1, self.radioButton_4)
- Widget4a6RadioButton.setTabOrder(self.radioButton_4, self.RBPoubelle)
-
- def retranslateUi(self, Widget4a6RadioButton):
- _translate = QtCore.QCoreApplication.translate
- Widget4a6RadioButton.setWindowTitle(_translate("Widget4a6RadioButton", "Form"))
- self.RBValide.setToolTip(_translate("Widget4a6RadioButton", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("Widget4a6RadioButton", "..."))
- self.label.setText(_translate("Widget4a6RadioButton", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.radioButton_1.setText(_translate("Widget4a6RadioButton", "RadioButton"))
- self.radioButton_2.setText(_translate("Widget4a6RadioButton", "RadioButton"))
- self.radioButton_3.setText(_translate("Widget4a6RadioButton", "RadioButton"))
- self.radioButton_4.setText(_translate("Widget4a6RadioButton", "RadioButton"))
- self.radioButton_5.setText(_translate("Widget4a6RadioButton", "RadioButton"))
- self.radioButton_6.setText(_translate("Widget4a6RadioButton", "RadioButton"))
- self.RBPoubelle.setToolTip(_translate("Widget4a6RadioButton", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("Widget4a6RadioButton", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- Widget4a6RadioButton = QtWidgets.QWidget()
- ui = Ui_Widget4a6RadioButton()
- ui.setupUi(Widget4a6RadioButton)
- Widget4a6RadioButton.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetBloc.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetBloc(object):
- def setupUi(self, WidgetBloc):
- WidgetBloc.setObjectName("WidgetBloc")
- WidgetBloc.resize(1033, 25)
- WidgetBloc.setStyleSheet(" QGroupBox {\n"
-" border: 1px solid gray;\n"
-" border-radius: 5px;\n"
-" margin-top: 1ex; /* leave space at the top for the title */\n"
-" }\n"
-"\n"
-" QGroupBox::title {\n"
-" padding: 0 3px;\n"
-" }")
- self.verticalLayout = QtWidgets.QVBoxLayout(WidgetBloc)
- self.verticalLayout.setContentsMargins(0, 0, 0, 0)
- self.verticalLayout.setObjectName("verticalLayout")
- self.commandesLayout = QtWidgets.QVBoxLayout()
- self.commandesLayout.setContentsMargins(-1, 5, -1, -1)
- self.commandesLayout.setSpacing(0)
- self.commandesLayout.setObjectName("commandesLayout")
- self.verticalLayout.addLayout(self.commandesLayout)
-
- self.retranslateUi(WidgetBloc)
- QtCore.QMetaObject.connectSlotsByName(WidgetBloc)
-
- def retranslateUi(self, WidgetBloc):
- _translate = QtCore.QCoreApplication.translate
- WidgetBloc.setWindowTitle(_translate("WidgetBloc", "Form"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetBloc = QtWidgets.QWidget()
- ui = Ui_WidgetBloc()
- ui.setupUi(WidgetBloc)
- WidgetBloc.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetCB.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetCB(object):
- def setupUi(self, WidgetCB):
- WidgetCB.setObjectName("WidgetCB")
- WidgetCB.resize(739, 63)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetCB.sizePolicy().hasHeightForWidth())
- WidgetCB.setSizePolicy(sizePolicy)
- WidgetCB.setMinimumSize(QtCore.QSize(0, 0))
- WidgetCB.setMaximumSize(QtCore.QSize(1493, 85))
- WidgetCB.setStyleSheet("QComboBox{combobox-popup:0;};")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout(WidgetCB)
- self.horizontalLayout_3.setContentsMargins(0, 2, 0, 1)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetCB)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem1)
- self.horizontalLayout_3.addLayout(self.verticalLayout_2)
- self.label = MonLabelClic(WidgetCB)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_3.addWidget(self.label)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setSpacing(0)
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.CBChoix = QtWidgets.QComboBox(WidgetCB)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.CBChoix.sizePolicy().hasHeightForWidth())
- self.CBChoix.setSizePolicy(sizePolicy)
- self.CBChoix.setMinimumSize(QtCore.QSize(361, 25))
- self.CBChoix.setAccessibleName("")
- self.CBChoix.setAccessibleDescription("")
- self.CBChoix.setStyleSheet("QComboBox {\n"
-" background:rgb(235,235,235);\n"
-" }\n"
-"/*QComboBox: on {\n"
-" font : italic\n"
-" }\n"
-"background:rgb(235,235,235);\n"
-"border:0px;\n"
-"\n"
-"\n"
-"QComboBox:!editable:on, QComboBox::drop-down:editable:on {\n"
-"background: black;\n"
-" font : italic 14px\n"
-" }\n"
-"QComboBox:on { \n"
-" font : italic 20px;\n"
-" background: red ;\n"
-"}/*\n"
-"")
- self.CBChoix.setMaxVisibleItems(100)
- self.CBChoix.setFrame(False)
- self.CBChoix.setObjectName("CBChoix")
- self.horizontalLayout_2.addWidget(self.CBChoix)
- spacerItem2 = QtWidgets.QSpacerItem(301, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem2)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetCB)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout_2.addWidget(self.RBPoubelle)
- self.verticalLayout.addLayout(self.horizontalLayout_2)
- spacerItem3 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem3)
- self.horizontalLayout_3.addLayout(self.verticalLayout)
-
- self.retranslateUi(WidgetCB)
- QtCore.QMetaObject.connectSlotsByName(WidgetCB)
-
- def retranslateUi(self, WidgetCB):
- _translate = QtCore.QCoreApplication.translate
- WidgetCB.setWindowTitle(_translate("WidgetCB", "Form"))
- self.RBValide.setToolTip(_translate("WidgetCB", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetCB", "..."))
- self.label.setText(_translate("WidgetCB", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetCB", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetCB", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetCB = QtWidgets.QWidget()
- ui = Ui_WidgetCB()
- ui.setupUi(WidgetCB)
- WidgetCB.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetCommande.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetCommande(object):
- def setupUi(self, WidgetCommande):
- WidgetCommande.setObjectName("WidgetCommande")
- WidgetCommande.resize(1031, 250)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetCommande.sizePolicy().hasHeightForWidth())
- WidgetCommande.setSizePolicy(sizePolicy)
- WidgetCommande.setMinimumSize(QtCore.QSize(0, 0))
- WidgetCommande.setToolTip("")
- WidgetCommande.setStyleSheet("background-color : rgb(224,223,222);\n"
-"font : \'times\' 9px")
- self.verticalLayout_3 = QtWidgets.QVBoxLayout(WidgetCommande)
- self.verticalLayout_3.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout_3.setSpacing(6)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_4.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_4.setSpacing(6)
- self.horizontalLayout_4.setObjectName("horizontalLayout_4")
- self.frame_2 = QtWidgets.QFrame(WidgetCommande)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth())
- self.frame_2.setSizePolicy(sizePolicy)
- self.frame_2.setFrameShape(QtWidgets.QFrame.Box)
- self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
- self.frame_2.setObjectName("frame_2")
- self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_2)
- self.horizontalLayout.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(self.frame_2)
- self.RBValide.setMinimumSize(QtCore.QSize(17, 31))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 31))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(21, 31))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- spacerItem1 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem1)
- self.labelNomCommande = MonLabelClic(self.frame_2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.labelNomCommande.sizePolicy().hasHeightForWidth())
- self.labelNomCommande.setSizePolicy(sizePolicy)
- self.labelNomCommande.setMinimumSize(QtCore.QSize(150, 31))
- self.labelNomCommande.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.labelNomCommande.setFrameShadow(QtWidgets.QFrame.Raised)
- self.labelNomCommande.setObjectName("labelNomCommande")
- self.horizontalLayout.addWidget(self.labelNomCommande)
- spacerItem2 = QtWidgets.QSpacerItem(2, 40, QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem2)
- self.LENom = QtWidgets.QLineEdit(self.frame_2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.LENom.sizePolicy().hasHeightForWidth())
- self.LENom.setSizePolicy(sizePolicy)
- self.LENom.setStyleSheet(" QLineEdit {\n"
-" border: 2px solid gray;\n"
-" border-radius: 10px;\n"
-" padding: 0 8px;\n"
-" background: darkgray;\n"
-" /* selection-background-color: darkgray;*/\n"
-" }\n"
-"QLineEdit:disabled\n"
-"{\n"
-" background: lightgray;\n"
-"}\n"
-"/*read-only {\n"
-" background: lightblue;*/")
- self.LENom.setReadOnly(False)
- self.LENom.setObjectName("LENom")
- self.horizontalLayout.addWidget(self.LENom)
- spacerItem3 = QtWidgets.QSpacerItem(2, 40, QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem3)
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_2.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_2.setSpacing(4)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.RBRun = QtWidgets.QToolButton(self.frame_2)
- self.RBRun.setMinimumSize(QtCore.QSize(21, 31))
- self.RBRun.setMaximumSize(QtCore.QSize(21, 31))
- self.RBRun.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBRun.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/roue.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBRun.setIcon(icon1)
- self.RBRun.setIconSize(QtCore.QSize(21, 31))
- self.RBRun.setObjectName("RBRun")
- self.horizontalLayout_2.addWidget(self.RBRun)
- self.RBInfo = QtWidgets.QToolButton(self.frame_2)
- self.RBInfo.setMinimumSize(QtCore.QSize(21, 31))
- self.RBInfo.setMaximumSize(QtCore.QSize(21, 31))
- self.RBInfo.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBInfo.setStyleSheet("border : 0px")
- icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/point-interrogation30.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBInfo.setIcon(icon2)
- self.RBInfo.setIconSize(QtCore.QSize(21, 31))
- self.RBInfo.setObjectName("RBInfo")
- self.horizontalLayout_2.addWidget(self.RBInfo)
- self.RBRegle = QtWidgets.QToolButton(self.frame_2)
- self.RBRegle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBRegle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBRegle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBRegle.setStyleSheet("border : 0px")
- icon3 = QtGui.QIcon()
- icon3.addPixmap(QtGui.QPixmap("../Editeur/icons/lettreRblanc30.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBRegle.setIcon(icon3)
- self.RBRegle.setIconSize(QtCore.QSize(21, 31))
- self.RBRegle.setObjectName("RBRegle")
- self.horizontalLayout_2.addWidget(self.RBRegle)
- self.horizontalLayout.addLayout(self.horizontalLayout_2)
- spacerItem4 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem4)
- self.RBPoubelle = QtWidgets.QToolButton(self.frame_2)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon4 = QtGui.QIcon()
- icon4.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon4)
- self.RBPoubelle.setIconSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout.addWidget(self.RBPoubelle)
- self.RBValide.raise_()
- self.labelNomCommande.raise_()
- self.LENom.raise_()
- self.RBPoubelle.raise_()
- self.horizontalLayout_4.addWidget(self.frame_2)
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout_2.setSpacing(6)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.bCatalogue = QtWidgets.QPushButton(WidgetCommande)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bCatalogue.sizePolicy().hasHeightForWidth())
- self.bCatalogue.setSizePolicy(sizePolicy)
- self.bCatalogue.setMinimumSize(QtCore.QSize(160, 31))
- self.bCatalogue.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.bCatalogue.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bCatalogue.setAutoDefault(True)
- self.bCatalogue.setDefault(True)
- self.bCatalogue.setObjectName("bCatalogue")
- self.verticalLayout_2.addWidget(self.bCatalogue)
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_3.setSpacing(6)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.bAvant = QtWidgets.QPushButton(WidgetCommande)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bAvant.sizePolicy().hasHeightForWidth())
- self.bAvant.setSizePolicy(sizePolicy)
- self.bAvant.setMinimumSize(QtCore.QSize(60, 24))
- self.bAvant.setMaximumSize(QtCore.QSize(60, 24))
- self.bAvant.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.bAvant.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bAvant.setAutoDefault(True)
- self.bAvant.setDefault(True)
- self.bAvant.setObjectName("bAvant")
- self.horizontalLayout_3.addWidget(self.bAvant)
- self.bApres = QtWidgets.QPushButton(WidgetCommande)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bApres.sizePolicy().hasHeightForWidth())
- self.bApres.setSizePolicy(sizePolicy)
- self.bApres.setMinimumSize(QtCore.QSize(60, 24))
- self.bApres.setMaximumSize(QtCore.QSize(60, 24))
- self.bApres.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.bApres.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bApres.setAutoDefault(True)
- self.bApres.setDefault(True)
- self.bApres.setObjectName("bApres")
- self.horizontalLayout_3.addWidget(self.bApres)
- self.verticalLayout_2.addLayout(self.horizontalLayout_3)
- self.horizontalLayout_4.addLayout(self.verticalLayout_2)
- self.verticalLayout_3.addLayout(self.horizontalLayout_4)
- self.labelDoc = QtWidgets.QLabel(WidgetCommande)
- self.labelDoc.setObjectName("labelDoc")
- self.verticalLayout_3.addWidget(self.labelDoc)
- self.scrollAreaCommandes = QtWidgets.QScrollArea(WidgetCommande)
- self.scrollAreaCommandes.setMinimumSize(QtCore.QSize(0, 81))
- self.scrollAreaCommandes.setStyleSheet("background : rgb(247,247,247)\n"
-"\n"
-"\n"
-"")
- self.scrollAreaCommandes.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollAreaCommandes.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
- self.scrollAreaCommandes.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
- self.scrollAreaCommandes.setWidgetResizable(True)
- self.scrollAreaCommandes.setObjectName("scrollAreaCommandes")
- self.scrollAreaWidgetContents = QtWidgets.QWidget()
- self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 1013, 129))
- self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
- self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
- self.verticalLayout.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout.setSpacing(6)
- self.verticalLayout.setObjectName("verticalLayout")
- self.commandesLayout = QtWidgets.QVBoxLayout()
- self.commandesLayout.setContentsMargins(11, 11, 11, 11)
- self.commandesLayout.setSpacing(1)
- self.commandesLayout.setObjectName("commandesLayout")
- self.verticalLayout.addLayout(self.commandesLayout)
- spacerItem5 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem5)
- self.scrollAreaCommandes.setWidget(self.scrollAreaWidgetContents)
- self.verticalLayout_3.addWidget(self.scrollAreaCommandes)
-
- self.retranslateUi(WidgetCommande)
- QtCore.QMetaObject.connectSlotsByName(WidgetCommande)
-
- def retranslateUi(self, WidgetCommande):
- _translate = QtCore.QCoreApplication.translate
- WidgetCommande.setWindowTitle(_translate("WidgetCommande", "DCommandeUnique"))
- self.RBValide.setToolTip(_translate("WidgetCommande", "Affiche le rapport de validité de la commande"))
- self.RBValide.setText(_translate("WidgetCommande", "..."))
- self.labelNomCommande.setText(_translate("WidgetCommande", "<html><head/><body><p><span style=\" color:#0000ff;\">commande </span></p></body></html>"))
- self.LENom.setToolTip(_translate("WidgetCommande", "Nom de l\'objet. Seuls, les objets valides peuvent être nommés"))
- self.RBRun.setToolTip(_translate("WidgetCommande", "Lance un script associé à la commande"))
- self.RBRun.setText(_translate("WidgetCommande", "..."))
- self.RBInfo.setToolTip(_translate("WidgetCommande", "ouvre un navigateur sur l\'aide contextuelle"))
- self.RBInfo.setText(_translate("WidgetCommande", "..."))
- self.RBRegle.setToolTip(_translate("WidgetCommande", "affiche les régles de validité"))
- self.RBRegle.setText(_translate("WidgetCommande", "..."))
- self.RBPoubelle.setToolTip(_translate("WidgetCommande", "Détruit la commande"))
- self.RBPoubelle.setText(_translate("WidgetCommande", "..."))
- self.bCatalogue.setToolTip(_translate("WidgetCommande", "Affiche les commandes possibles"))
- self.bCatalogue.setText(_translate("WidgetCommande", "&Commandes"))
- self.bCatalogue.setShortcut(_translate("WidgetCommande", "Shift+A, Alt+A, Alt+A, Alt+A"))
- self.bAvant.setToolTip(_translate("WidgetCommande", "Affiche le formulaire de la commande précédente"))
- self.bAvant.setText(_translate("WidgetCommande", "<<"))
- self.bAvant.setShortcut(_translate("WidgetCommande", "Shift+A, Alt+A, Alt+A, Alt+A"))
- self.bApres.setToolTip(_translate("WidgetCommande", "Affiche le formulaire de la commande suivante"))
- self.bApres.setText(_translate("WidgetCommande", ">>"))
- self.bApres.setShortcut(_translate("WidgetCommande", "Shift+A, Alt+A, Alt+A, Alt+A"))
- self.labelDoc.setText(_translate("WidgetCommande", "TextLabel"))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetCommande = QtWidgets.QWidget()
- ui = Ui_WidgetCommande()
- ui.setupUi(WidgetCommande)
- WidgetCommande.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetCommentaire.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetCommentaire(object):
- def setupUi(self, WidgetCommentaire):
- WidgetCommentaire.setObjectName("WidgetCommentaire")
- WidgetCommentaire.resize(1031, 177)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetCommentaire.sizePolicy().hasHeightForWidth())
- WidgetCommentaire.setSizePolicy(sizePolicy)
- WidgetCommentaire.setMinimumSize(QtCore.QSize(0, 0))
- WidgetCommentaire.setToolTip("")
- WidgetCommentaire.setStyleSheet("background-color : rgb(224,223,222);\n"
-"font : \'times\' 9px")
- self.verticalLayout_3 = QtWidgets.QVBoxLayout(WidgetCommentaire)
- self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
- self.verticalLayout_3.setSpacing(0)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_2.setSpacing(6)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.frame_2 = QtWidgets.QFrame(WidgetCommentaire)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth())
- self.frame_2.setSizePolicy(sizePolicy)
- self.frame_2.setFrameShape(QtWidgets.QFrame.Box)
- self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
- self.frame_2.setObjectName("frame_2")
- self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_2)
- self.horizontalLayout.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout.setSpacing(6)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(self.frame_2)
- self.RBValide.setMinimumSize(QtCore.QSize(17, 31))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 31))
- self.RBValide.setToolTip("")
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(21, 31))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- spacerItem1 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem1)
- self.labelNomCommande = QtWidgets.QLabel(self.frame_2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.labelNomCommande.sizePolicy().hasHeightForWidth())
- self.labelNomCommande.setSizePolicy(sizePolicy)
- self.labelNomCommande.setMinimumSize(QtCore.QSize(150, 31))
- self.labelNomCommande.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.labelNomCommande.setFrameShadow(QtWidgets.QFrame.Raised)
- self.labelNomCommande.setObjectName("labelNomCommande")
- self.horizontalLayout.addWidget(self.labelNomCommande)
- spacerItem2 = QtWidgets.QSpacerItem(78, 40, QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem2)
- self.RBPoubelle = QtWidgets.QToolButton(self.frame_2)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout.addWidget(self.RBPoubelle)
- self.RBValide.raise_()
- self.labelNomCommande.raise_()
- self.RBPoubelle.raise_()
- self.horizontalLayout_2.addWidget(self.frame_2)
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout_2.setSpacing(6)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.bCatalogue = QtWidgets.QPushButton(WidgetCommentaire)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bCatalogue.sizePolicy().hasHeightForWidth())
- self.bCatalogue.setSizePolicy(sizePolicy)
- self.bCatalogue.setMinimumSize(QtCore.QSize(160, 31))
- self.bCatalogue.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bCatalogue.setAutoDefault(True)
- self.bCatalogue.setDefault(True)
- self.bCatalogue.setObjectName("bCatalogue")
- self.verticalLayout_2.addWidget(self.bCatalogue)
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_3.setSpacing(6)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.bAvant = QtWidgets.QPushButton(WidgetCommentaire)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bAvant.sizePolicy().hasHeightForWidth())
- self.bAvant.setSizePolicy(sizePolicy)
- self.bAvant.setMinimumSize(QtCore.QSize(60, 24))
- self.bAvant.setMaximumSize(QtCore.QSize(60, 24))
- self.bAvant.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.bAvant.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bAvant.setAutoDefault(True)
- self.bAvant.setDefault(True)
- self.bAvant.setObjectName("bAvant")
- self.horizontalLayout_3.addWidget(self.bAvant)
- self.bApres = QtWidgets.QPushButton(WidgetCommentaire)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bApres.sizePolicy().hasHeightForWidth())
- self.bApres.setSizePolicy(sizePolicy)
- self.bApres.setMinimumSize(QtCore.QSize(60, 24))
- self.bApres.setMaximumSize(QtCore.QSize(60, 24))
- self.bApres.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.bApres.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bApres.setAutoDefault(True)
- self.bApres.setDefault(True)
- self.bApres.setObjectName("bApres")
- self.horizontalLayout_3.addWidget(self.bApres)
- self.verticalLayout_2.addLayout(self.horizontalLayout_3)
- self.horizontalLayout_2.addLayout(self.verticalLayout_2)
- self.verticalLayout_3.addLayout(self.horizontalLayout_2)
- self.scrollAreaCommandes = QtWidgets.QScrollArea(WidgetCommentaire)
- self.scrollAreaCommandes.setMinimumSize(QtCore.QSize(0, 0))
- self.scrollAreaCommandes.setStyleSheet("\n"
-"\n"
-"\n"
-"")
- self.scrollAreaCommandes.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollAreaCommandes.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
- self.scrollAreaCommandes.setWidgetResizable(True)
- self.scrollAreaCommandes.setObjectName("scrollAreaCommandes")
- self.scrollAreaWidgetContents = QtWidgets.QWidget()
- self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 1031, 110))
- self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
- self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
- self.verticalLayout.setContentsMargins(0, 11, 0, 11)
- self.verticalLayout.setSpacing(6)
- self.verticalLayout.setObjectName("verticalLayout")
- self.commentaireLE = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.commentaireLE.sizePolicy().hasHeightForWidth())
- self.commentaireLE.setSizePolicy(sizePolicy)
- self.commentaireLE.setMinimumSize(QtCore.QSize(0, 43))
- self.commentaireLE.setMaximumSize(QtCore.QSize(16777215, 43))
- self.commentaireLE.setStyleSheet("background : rgb(247,247,247)")
- self.commentaireLE.setFrame(False)
- self.commentaireLE.setObjectName("commentaireLE")
- self.verticalLayout.addWidget(self.commentaireLE)
- spacerItem3 = QtWidgets.QSpacerItem(20, 32, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem3)
- self.scrollAreaCommandes.setWidget(self.scrollAreaWidgetContents)
- self.verticalLayout_3.addWidget(self.scrollAreaCommandes)
-
- self.retranslateUi(WidgetCommentaire)
- QtCore.QMetaObject.connectSlotsByName(WidgetCommentaire)
- WidgetCommentaire.setTabOrder(self.RBPoubelle, self.bCatalogue)
- WidgetCommentaire.setTabOrder(self.bCatalogue, self.RBValide)
- WidgetCommentaire.setTabOrder(self.RBValide, self.scrollAreaCommandes)
-
- def retranslateUi(self, WidgetCommentaire):
- _translate = QtCore.QCoreApplication.translate
- WidgetCommentaire.setWindowTitle(_translate("WidgetCommentaire", "DCommandeUnique"))
- self.RBValide.setText(_translate("WidgetCommentaire", "..."))
- self.labelNomCommande.setText(_translate("WidgetCommentaire", "<html><head/><body><p><span style=\" color:#0000ff;\">Commentaire</span></p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetCommentaire", "Détruit le commentaire"))
- self.RBPoubelle.setText(_translate("WidgetCommentaire", "..."))
- self.bCatalogue.setToolTip(_translate("WidgetCommentaire", "Affiche les commandes possibles"))
- self.bCatalogue.setText(_translate("WidgetCommentaire", "&Commandes"))
- self.bCatalogue.setShortcut(_translate("WidgetCommentaire", "Shift+A, Alt+A, Alt+A, Alt+A"))
- self.bAvant.setToolTip(_translate("WidgetCommentaire", "Affiche le formulaire de la commande précédente"))
- self.bAvant.setText(_translate("WidgetCommentaire", "<<"))
- self.bAvant.setShortcut(_translate("WidgetCommentaire", "Shift+A, Alt+A, Alt+A, Alt+A"))
- self.bApres.setToolTip(_translate("WidgetCommentaire", "Affiche le formulaire de la commande suivante"))
- self.bApres.setText(_translate("WidgetCommentaire", ">>"))
- self.bApres.setShortcut(_translate("WidgetCommentaire", "Shift+A, Alt+A, Alt+A, Alt+A"))
-
-from monBoutonValide import MonBoutonValide
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetCommentaire = QtWidgets.QWidget()
- ui = Ui_WidgetCommentaire()
- ui.setupUi(WidgetCommentaire)
- WidgetCommentaire.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetCreeParam.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_desWidgetCreeParam(object):
- def setupUi(self, desWidgetCreeParam):
- desWidgetCreeParam.setObjectName("desWidgetCreeParam")
- desWidgetCreeParam.resize(728, 530)
- self.verticalLayout_2 = QtWidgets.QVBoxLayout(desWidgetCreeParam)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.scrollArea = QtWidgets.QScrollArea(desWidgetCreeParam)
- self.scrollArea.setMinimumSize(QtCore.QSize(701, 291))
- self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollArea.setWidgetResizable(True)
- self.scrollArea.setObjectName("scrollArea")
- self.scrollAreaWidgetContents = QtWidgets.QWidget()
- self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 710, 349))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents.sizePolicy().hasHeightForWidth())
- self.scrollAreaWidgetContents.setSizePolicy(sizePolicy)
- self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
- self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
- self.verticalLayout.setContentsMargins(0, 0, 0, 0)
- self.verticalLayout.setSpacing(0)
- self.verticalLayout.setObjectName("verticalLayout")
- self.LBParam = QtWidgets.QListWidget(self.scrollAreaWidgetContents)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.MinimumExpanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.LBParam.sizePolicy().hasHeightForWidth())
- self.LBParam.setSizePolicy(sizePolicy)
- self.LBParam.setMinimumSize(QtCore.QSize(701, 291))
- self.LBParam.setStyleSheet("alternate-background-color:rgb(235,235,235); \n"
-"background-color: rgb(247,247,247);\n"
-"")
- self.LBParam.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.LBParam.setFrameShadow(QtWidgets.QFrame.Raised)
- self.LBParam.setAlternatingRowColors(True)
- self.LBParam.setSelectionMode(QtWidgets.QAbstractItemView.SingleSelection)
- self.LBParam.setObjectName("LBParam")
- self.verticalLayout.addWidget(self.LBParam)
- self.scrollArea.setWidget(self.scrollAreaWidgetContents)
- self.verticalLayout_2.addWidget(self.scrollArea)
- spacerItem = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
- self.verticalLayout_2.addItem(spacerItem)
- self.frame = QtWidgets.QFrame(desWidgetCreeParam)
- self.frame.setMinimumSize(QtCore.QSize(701, 131))
- self.frame.setStyleSheet("background:rgb(247,247,247)")
- self.frame.setFrameShape(QtWidgets.QFrame.StyledPanel)
- self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
- self.frame.setObjectName("frame")
- self.layoutWidget = QtWidgets.QWidget(self.frame)
- self.layoutWidget.setGeometry(QtCore.QRect(30, 40, 531, 70))
- self.layoutWidget.setObjectName("layoutWidget")
- self.gridLayout = QtWidgets.QGridLayout(self.layoutWidget)
- self.gridLayout.setObjectName("gridLayout")
- self.lineEditVal = QtWidgets.QLineEdit(self.layoutWidget)
- self.lineEditVal.setMinimumSize(QtCore.QSize(231, 31))
- self.lineEditVal.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal.setFrame(False)
- self.lineEditVal.setObjectName("lineEditVal")
- self.gridLayout.addWidget(self.lineEditVal, 1, 1, 1, 1)
- self.textLabel2_2 = QtWidgets.QLabel(self.layoutWidget)
- self.textLabel2_2.setWordWrap(False)
- self.textLabel2_2.setObjectName("textLabel2_2")
- self.gridLayout.addWidget(self.textLabel2_2, 0, 0, 1, 1)
- self.lineEditNom = QtWidgets.QLineEdit(self.layoutWidget)
- self.lineEditNom.setMinimumSize(QtCore.QSize(231, 31))
- self.lineEditNom.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditNom.setFrame(False)
- self.lineEditNom.setObjectName("lineEditNom")
- self.gridLayout.addWidget(self.lineEditNom, 0, 1, 1, 1)
- self.textLabel2 = QtWidgets.QLabel(self.layoutWidget)
- self.textLabel2.setWordWrap(False)
- self.textLabel2.setObjectName("textLabel2")
- self.gridLayout.addWidget(self.textLabel2, 1, 0, 1, 1)
- self.layoutWidget_2 = QtWidgets.QWidget(self.frame)
- self.layoutWidget_2.setGeometry(QtCore.QRect(30, 10, 531, 22))
- self.layoutWidget_2.setObjectName("layoutWidget_2")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout(self.layoutWidget_2)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.textLabel2_2_2 = QtWidgets.QLabel(self.layoutWidget_2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Ignored)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.textLabel2_2_2.sizePolicy().hasHeightForWidth())
- self.textLabel2_2_2.setSizePolicy(sizePolicy)
- self.textLabel2_2_2.setWordWrap(False)
- self.textLabel2_2_2.setObjectName("textLabel2_2_2")
- self.horizontalLayout_2.addWidget(self.textLabel2_2_2)
- spacerItem1 = QtWidgets.QSpacerItem(288, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem1)
- self.verticalLayout_2.addWidget(self.frame)
-
- self.retranslateUi(desWidgetCreeParam)
- QtCore.QMetaObject.connectSlotsByName(desWidgetCreeParam)
-
- def retranslateUi(self, desWidgetCreeParam):
- _translate = QtCore.QCoreApplication.translate
- desWidgetCreeParam.setWindowTitle(_translate("desWidgetCreeParam", "Gestion des Paramètres"))
- self.textLabel2_2.setText(_translate("desWidgetCreeParam", "<html><head/><body><p>Nom: </p></body></html>"))
- self.textLabel2.setText(_translate("desWidgetCreeParam", "<html><head/><body><p>Valeur: </p></body></html>"))
- self.textLabel2_2_2.setText(_translate("desWidgetCreeParam", "<html><head/><body><p><span style=\" text-decoration: underline;\">Créer un paramètre</span></p></body></html>"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- desWidgetCreeParam = QtWidgets.QWidget()
- ui = Ui_desWidgetCreeParam()
- ui.setupUi(desWidgetCreeParam)
- desWidgetCreeParam.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetDate.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetDate(object):
- def setupUi(self, WidgetDate):
- WidgetDate.setObjectName("WidgetDate")
- WidgetDate.resize(736, 62)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetDate.sizePolicy().hasHeightForWidth())
- WidgetDate.setSizePolicy(sizePolicy)
- WidgetDate.setMinimumSize(QtCore.QSize(0, 0))
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout(WidgetDate)
- self.horizontalLayout_3.setContentsMargins(0, 1, 0, 1)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetDate)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout_2.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout_2)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem1)
- self.horizontalLayout_3.addLayout(self.verticalLayout_2)
- self.label = MonLabelClic(WidgetDate)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_3.addWidget(self.label)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.label_2 = QtWidgets.QLabel(WidgetDate)
- self.label_2.setText("")
- self.label_2.setObjectName("label_2")
- self.horizontalLayout.addWidget(self.label_2)
- spacerItem2 = QtWidgets.QSpacerItem(20, 20, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem2)
- self.dateEdit = QtWidgets.QDateEdit(WidgetDate)
- self.dateEdit.setObjectName("dateEdit")
- self.horizontalLayout.addWidget(self.dateEdit)
- spacerItem3 = QtWidgets.QSpacerItem(411, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem3)
- self.label_5 = QtWidgets.QLabel(WidgetDate)
- self.label_5.setText("")
- self.label_5.setObjectName("label_5")
- self.horizontalLayout.addWidget(self.label_5)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetDate)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout.addWidget(self.RBPoubelle)
- self.verticalLayout.addLayout(self.horizontalLayout)
- spacerItem4 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem4)
- self.horizontalLayout_3.addLayout(self.verticalLayout)
-
- self.retranslateUi(WidgetDate)
- QtCore.QMetaObject.connectSlotsByName(WidgetDate)
-
- def retranslateUi(self, WidgetDate):
- _translate = QtCore.QCoreApplication.translate
- WidgetDate.setWindowTitle(_translate("WidgetDate", "Form"))
- self.RBValide.setToolTip(_translate("WidgetDate", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetDate", "..."))
- self.label.setText(_translate("WidgetDate", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetDate", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetDate", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetDate = QtWidgets.QWidget()
- ui = Ui_WidgetDate()
- ui.setupUi(WidgetDate)
- WidgetDate.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetFact.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetFact(object):
- def setupUi(self, WidgetFact):
- WidgetFact.setObjectName("WidgetFact")
- WidgetFact.resize(949, 49)
- WidgetFact.setFocusPolicy(QtCore.Qt.StrongFocus)
- WidgetFact.setStyleSheet(" QGroupBox {\n"
-" border: 1px solid gray;\n"
-" border-radius: 5px;\n"
-" margin-top: 1ex; /* leave space at the top for the title */\n"
-" }\n"
-"\n"
-" QGroupBox::title {\n"
-" padding: 0 3px;\n"
-" }")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout(WidgetFact)
- self.horizontalLayout_3.setContentsMargins(0, 2, 0, 0)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setSpacing(0)
- self.verticalLayout.setObjectName("verticalLayout")
- spacerItem = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
- self.verticalLayout.addItem(spacerItem)
- self.RBPlie = QtWidgets.QToolButton(WidgetFact)
- self.RBPlie.setMinimumSize(QtCore.QSize(21, 15))
- self.RBPlie.setMaximumSize(QtCore.QSize(21, 21))
- self.RBPlie.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/minusnode.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPlie.setIcon(icon)
- self.RBPlie.setIconSize(QtCore.QSize(21, 21))
- self.RBPlie.setObjectName("RBPlie")
- self.verticalLayout.addWidget(self.RBPlie)
- self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_4.setObjectName("horizontalLayout_4")
- self.line_7 = QtWidgets.QFrame(WidgetFact)
- self.line_7.setFrameShape(QtWidgets.QFrame.VLine)
- self.line_7.setFrameShadow(QtWidgets.QFrame.Sunken)
- self.line_7.setObjectName("line_7")
- self.horizontalLayout_4.addWidget(self.line_7)
- self.verticalLayout.addLayout(self.horizontalLayout_4)
- self.horizontalLayout_3.addLayout(self.verticalLayout)
- self.gridLayout = QtWidgets.QGridLayout()
- self.gridLayout.setHorizontalSpacing(0)
- self.gridLayout.setObjectName("gridLayout")
- self.RBValide = MonBoutonValide(WidgetFact)
- self.RBValide.setMinimumSize(QtCore.QSize(17, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon1)
- self.RBValide.setIconSize(QtCore.QSize(21, 25))
- self.RBValide.setObjectName("RBValide")
- self.gridLayout.addWidget(self.RBValide, 0, 0, 1, 1)
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.GroupBox = MonLabelClic(WidgetFact)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.GroupBox.sizePolicy().hasHeightForWidth())
- self.GroupBox.setSizePolicy(sizePolicy)
- self.GroupBox.setMinimumSize(QtCore.QSize(0, 25))
- self.GroupBox.setMaximumSize(QtCore.QSize(12121213, 25))
- self.GroupBox.setObjectName("GroupBox")
- self.horizontalLayout.addWidget(self.GroupBox)
- spacerItem1 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem1)
- self.line_4 = QtWidgets.QFrame(WidgetFact)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.line_4.sizePolicy().hasHeightForWidth())
- self.line_4.setSizePolicy(sizePolicy)
- self.line_4.setMinimumSize(QtCore.QSize(200, 0))
- self.line_4.setMaximumSize(QtCore.QSize(1500, 16))
- self.line_4.setFrameShape(QtWidgets.QFrame.HLine)
- self.line_4.setFrameShadow(QtWidgets.QFrame.Sunken)
- self.line_4.setObjectName("line_4")
- self.horizontalLayout.addWidget(self.line_4)
- spacerItem2 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem2)
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.RBInfo = QtWidgets.QToolButton(WidgetFact)
- self.RBInfo.setMinimumSize(QtCore.QSize(21, 25))
- self.RBInfo.setMaximumSize(QtCore.QSize(21, 25))
- self.RBInfo.setStyleSheet("border : 0px")
- icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/point-interrogation30.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBInfo.setIcon(icon2)
- self.RBInfo.setIconSize(QtCore.QSize(21, 25))
- self.RBInfo.setObjectName("RBInfo")
- self.horizontalLayout_2.addWidget(self.RBInfo)
- self.RBRegle = QtWidgets.QToolButton(WidgetFact)
- self.RBRegle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBRegle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBRegle.setStyleSheet("border : 0px")
- icon3 = QtGui.QIcon()
- icon3.addPixmap(QtGui.QPixmap("../Editeur/icons/lettreRblanc30.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBRegle.setIcon(icon3)
- self.RBRegle.setIconSize(QtCore.QSize(21, 25))
- self.RBRegle.setObjectName("RBRegle")
- self.horizontalLayout_2.addWidget(self.RBRegle)
- self.horizontalLayout.addLayout(self.horizontalLayout_2)
- spacerItem3 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem3)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetFact)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon4 = QtGui.QIcon()
- icon4.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon4)
- self.RBPoubelle.setIconSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout.addWidget(self.RBPoubelle)
- self.gridLayout.addLayout(self.horizontalLayout, 0, 1, 1, 1)
- self.commandesLayout = QtWidgets.QVBoxLayout()
- self.commandesLayout.setContentsMargins(-1, 2, -1, -1)
- self.commandesLayout.setSpacing(0)
- self.commandesLayout.setObjectName("commandesLayout")
- self.gridLayout.addLayout(self.commandesLayout, 1, 1, 1, 1)
- self.horizontalLayout_3.addLayout(self.gridLayout)
-
- self.retranslateUi(WidgetFact)
- QtCore.QMetaObject.connectSlotsByName(WidgetFact)
-
- def retranslateUi(self, WidgetFact):
- _translate = QtCore.QCoreApplication.translate
- WidgetFact.setWindowTitle(_translate("WidgetFact", "Form"))
- self.RBPlie.setText(_translate("WidgetFact", "..."))
- self.RBValide.setText(_translate("WidgetFact", "..."))
- self.GroupBox.setText(_translate("WidgetFact", "<html><head/><body><p><span style=\" font-style:italic;\">TextLabel</span></p></body></html>"))
- self.RBInfo.setText(_translate("WidgetFact", "..."))
- self.RBRegle.setText(_translate("WidgetFact", "..."))
- self.RBPoubelle.setText(_translate("WidgetFact", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetFact = QtWidgets.QWidget()
- ui = Ui_WidgetFact()
- ui.setupUi(WidgetFact)
- WidgetFact.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetFactPlie.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetFactPlie(object):
- def setupUi(self, WidgetFactPlie):
- WidgetFactPlie.setObjectName("WidgetFactPlie")
- WidgetFactPlie.resize(727, 27)
- WidgetFactPlie.setStyleSheet(" QGroupBox {\n"
-" border: 1px solid gray;\n"
-" border-radius: 5px;\n"
-" margin-top: 1ex; /* leave space at the top for the title */\n"
-" }\n"
-"\n"
-" QGroupBox::title {\n"
-" padding: 0 3px;\n"
-" }")
- self.horizontalLayout = QtWidgets.QHBoxLayout(WidgetFactPlie)
- self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.RBDeplie = QtWidgets.QToolButton(WidgetFactPlie)
- self.RBDeplie.setMinimumSize(QtCore.QSize(21, 15))
- self.RBDeplie.setMaximumSize(QtCore.QSize(21, 21))
- self.RBDeplie.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/plusnode.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBDeplie.setIcon(icon)
- self.RBDeplie.setIconSize(QtCore.QSize(25, 25))
- self.RBDeplie.setObjectName("RBDeplie")
- self.horizontalLayout.addWidget(self.RBDeplie)
- self.widget_5 = QtWidgets.QWidget(WidgetFactPlie)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.widget_5.sizePolicy().hasHeightForWidth())
- self.widget_5.setSizePolicy(sizePolicy)
- self.widget_5.setObjectName("widget_5")
- self.horizontalLayout_5 = QtWidgets.QHBoxLayout(self.widget_5)
- self.horizontalLayout_5.setContentsMargins(0, 0, 0, 0)
- self.horizontalLayout_5.setSpacing(0)
- self.horizontalLayout_5.setObjectName("horizontalLayout_5")
- self.RBValide = MonBoutonValide(self.widget_5)
- self.RBValide.setMinimumSize(QtCore.QSize(17, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon1)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout_5.addWidget(self.RBValide)
- self.horizontalLayout.addWidget(self.widget_5)
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSpacing(22)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.groupBox = MonLabelClic(WidgetFactPlie)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.groupBox.sizePolicy().hasHeightForWidth())
- self.groupBox.setSizePolicy(sizePolicy)
- self.groupBox.setMinimumSize(QtCore.QSize(0, 25))
- self.groupBox.setMaximumSize(QtCore.QSize(12121213, 25))
- self.groupBox.setObjectName("groupBox")
- self.horizontalLayout_2.addWidget(self.groupBox)
- self.line_5 = QtWidgets.QFrame(WidgetFactPlie)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.line_5.sizePolicy().hasHeightForWidth())
- self.line_5.setSizePolicy(sizePolicy)
- self.line_5.setMinimumSize(QtCore.QSize(500, 0))
- self.line_5.setMaximumSize(QtCore.QSize(1500, 16))
- self.line_5.setFrameShape(QtWidgets.QFrame.HLine)
- self.line_5.setFrameShadow(QtWidgets.QFrame.Sunken)
- self.line_5.setObjectName("line_5")
- self.horizontalLayout_2.addWidget(self.line_5)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetFactPlie)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon2)
- self.RBPoubelle.setIconSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout_2.addWidget(self.RBPoubelle)
- self.horizontalLayout.addLayout(self.horizontalLayout_2)
-
- self.retranslateUi(WidgetFactPlie)
- QtCore.QMetaObject.connectSlotsByName(WidgetFactPlie)
-
- def retranslateUi(self, WidgetFactPlie):
- _translate = QtCore.QCoreApplication.translate
- WidgetFactPlie.setWindowTitle(_translate("WidgetFactPlie", "Form"))
- self.RBDeplie.setText(_translate("WidgetFactPlie", "..."))
- self.RBValide.setText(_translate("WidgetFactPlie", "..."))
- self.groupBox.setText(_translate("WidgetFactPlie", "TextLabel"))
- self.RBPoubelle.setText(_translate("WidgetFactPlie", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetFactPlie = QtWidgets.QWidget()
- ui = Ui_WidgetFactPlie()
- ui.setupUi(WidgetFactPlie)
- WidgetFactPlie.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetHeure.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetHeure(object):
- def setupUi(self, WidgetHeure):
- WidgetHeure.setObjectName("WidgetHeure")
- WidgetHeure.resize(658, 61)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetHeure.sizePolicy().hasHeightForWidth())
- WidgetHeure.setSizePolicy(sizePolicy)
- WidgetHeure.setMinimumSize(QtCore.QSize(0, 0))
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout(WidgetHeure)
- self.horizontalLayout_3.setContentsMargins(0, 1, 0, 0)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetHeure)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.horizontalLayout_3.addLayout(self.horizontalLayout)
- self.label = MonLabelClic(WidgetHeure)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_3.addWidget(self.label)
- self.label_2 = QtWidgets.QLabel(WidgetHeure)
- self.label_2.setObjectName("label_2")
- self.horizontalLayout_3.addWidget(self.label_2)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- spacerItem1 = QtWidgets.QSpacerItem(17, 17, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem1)
- self.timeEdit = QtWidgets.QTimeEdit(WidgetHeure)
- self.timeEdit.setObjectName("timeEdit")
- self.horizontalLayout_2.addWidget(self.timeEdit)
- spacerItem2 = QtWidgets.QSpacerItem(454, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem2)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetHeure)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout_2.addWidget(self.RBPoubelle)
- self.verticalLayout.addLayout(self.horizontalLayout_2)
- spacerItem3 = QtWidgets.QSpacerItem(20, 3, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem3)
- self.horizontalLayout_3.addLayout(self.verticalLayout)
-
- self.retranslateUi(WidgetHeure)
- QtCore.QMetaObject.connectSlotsByName(WidgetHeure)
-
- def retranslateUi(self, WidgetHeure):
- _translate = QtCore.QCoreApplication.translate
- WidgetHeure.setWindowTitle(_translate("WidgetHeure", "Form"))
- self.RBValide.setToolTip(_translate("WidgetHeure", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetHeure", "..."))
- self.label.setText(_translate("WidgetHeure", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.label_2.setText(_translate("WidgetHeure", "<html><head/><body><p><br/></p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetHeure", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetHeure", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetHeure = QtWidgets.QWidget()
- ui = Ui_WidgetHeure()
- ui.setupUi(WidgetHeure)
- WidgetHeure.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetInactif.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetInactif(object):
- def setupUi(self, WidgetInactif):
- WidgetInactif.setObjectName("WidgetInactif")
- WidgetInactif.resize(946, 495)
- WidgetInactif.setMinimumSize(QtCore.QSize(350, 0))
- self.verticalLayout = QtWidgets.QVBoxLayout(WidgetInactif)
- self.verticalLayout.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout.setSpacing(6)
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_4.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_4.setSpacing(6)
- self.horizontalLayout_4.setObjectName("horizontalLayout_4")
- self.frame = QtWidgets.QFrame(WidgetInactif)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
- self.frame.setSizePolicy(sizePolicy)
- self.frame.setFrameShape(QtWidgets.QFrame.Box)
- self.frame.setFrameShadow(QtWidgets.QFrame.Raised)
- self.frame.setObjectName("frame")
- self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame)
- self.horizontalLayout.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = QtWidgets.QCheckBox(self.frame)
- self.RBValide.setMinimumSize(QtCore.QSize(17, 31))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 31))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- self.RBValide.setText("")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-white-square.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(21, 31))
- self.RBValide.setCheckable(False)
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- spacerItem1 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem1)
- self.labelNomCommande = MonLabelClic(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.labelNomCommande.sizePolicy().hasHeightForWidth())
- self.labelNomCommande.setSizePolicy(sizePolicy)
- self.labelNomCommande.setMinimumSize(QtCore.QSize(150, 31))
- self.labelNomCommande.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.labelNomCommande.setFrameShadow(QtWidgets.QFrame.Raised)
- self.labelNomCommande.setObjectName("labelNomCommande")
- self.horizontalLayout.addWidget(self.labelNomCommande)
- spacerItem2 = QtWidgets.QSpacerItem(2, 40, QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem2)
- spacerItem3 = QtWidgets.QSpacerItem(2, 40, QtWidgets.QSizePolicy.Ignored, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem3)
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_2.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_2.setSpacing(4)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.horizontalLayout.addLayout(self.horizontalLayout_2)
- spacerItem4 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem4)
- self.RBPoubelle = QtWidgets.QToolButton(self.frame)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout.addWidget(self.RBPoubelle)
- self.RBValide.raise_()
- self.labelNomCommande.raise_()
- self.RBPoubelle.raise_()
- self.horizontalLayout_4.addWidget(self.frame)
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout_2.setSpacing(6)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.bCatalogue = QtWidgets.QPushButton(WidgetInactif)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bCatalogue.sizePolicy().hasHeightForWidth())
- self.bCatalogue.setSizePolicy(sizePolicy)
- self.bCatalogue.setMinimumSize(QtCore.QSize(160, 31))
- self.bCatalogue.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.bCatalogue.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bCatalogue.setAutoDefault(True)
- self.bCatalogue.setDefault(True)
- self.bCatalogue.setObjectName("bCatalogue")
- self.verticalLayout_2.addWidget(self.bCatalogue)
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_3.setSpacing(6)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.bAvant = QtWidgets.QPushButton(WidgetInactif)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bAvant.sizePolicy().hasHeightForWidth())
- self.bAvant.setSizePolicy(sizePolicy)
- self.bAvant.setMinimumSize(QtCore.QSize(60, 24))
- self.bAvant.setMaximumSize(QtCore.QSize(60, 24))
- self.bAvant.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.bAvant.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bAvant.setAutoDefault(True)
- self.bAvant.setDefault(True)
- self.bAvant.setObjectName("bAvant")
- self.horizontalLayout_3.addWidget(self.bAvant)
- self.bApres = QtWidgets.QPushButton(WidgetInactif)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bApres.sizePolicy().hasHeightForWidth())
- self.bApres.setSizePolicy(sizePolicy)
- self.bApres.setMinimumSize(QtCore.QSize(60, 24))
- self.bApres.setMaximumSize(QtCore.QSize(60, 24))
- self.bApres.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.bApres.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bApres.setAutoDefault(True)
- self.bApres.setDefault(True)
- self.bApres.setObjectName("bApres")
- self.horizontalLayout_3.addWidget(self.bApres)
- self.verticalLayout_2.addLayout(self.horizontalLayout_3)
- self.horizontalLayout_4.addLayout(self.verticalLayout_2)
- self.verticalLayout.addLayout(self.horizontalLayout_4)
- spacerItem5 = QtWidgets.QSpacerItem(20, 66, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem5)
- self.textLabel1_3 = QtWidgets.QLabel(WidgetInactif)
- self.textLabel1_3.setMinimumSize(QtCore.QSize(0, 0))
- self.textLabel1_3.setWordWrap(False)
- self.textLabel1_3.setObjectName("textLabel1_3")
- self.verticalLayout.addWidget(self.textLabel1_3)
- spacerItem6 = QtWidgets.QSpacerItem(20, 67, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem6)
- self.textLabel1 = QtWidgets.QLabel(WidgetInactif)
- self.textLabel1.setWordWrap(False)
- self.textLabel1.setObjectName("textLabel1")
- self.verticalLayout.addWidget(self.textLabel1)
- spacerItem7 = QtWidgets.QSpacerItem(20, 66, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem7)
-
- self.retranslateUi(WidgetInactif)
- QtCore.QMetaObject.connectSlotsByName(WidgetInactif)
-
- def retranslateUi(self, WidgetInactif):
- _translate = QtCore.QCoreApplication.translate
- WidgetInactif.setWindowTitle(_translate("WidgetInactif", "DInactif"))
- self.RBValide.setToolTip(_translate("WidgetInactif", "Affiche le rapport de validité de la commande"))
- self.labelNomCommande.setText(_translate("WidgetInactif", "<html><head/><body><p><span style=\" color:#0000ff;\">commande </span></p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetInactif", "Détruit la commande"))
- self.RBPoubelle.setText(_translate("WidgetInactif", "..."))
- self.bCatalogue.setToolTip(_translate("WidgetInactif", "Affiche les commandes possibles"))
- self.bCatalogue.setText(_translate("WidgetInactif", "&Commandes"))
- self.bCatalogue.setShortcut(_translate("WidgetInactif", "Shift+A, Alt+A, Alt+A, Alt+A"))
- self.bAvant.setToolTip(_translate("WidgetInactif", "Affiche le formulaire de la commande précédente"))
- self.bAvant.setText(_translate("WidgetInactif", "<<"))
- self.bAvant.setShortcut(_translate("WidgetInactif", "Shift+A, Alt+A, Alt+A, Alt+A"))
- self.bApres.setToolTip(_translate("WidgetInactif", "Affiche le formulaire de la commande suivante"))
- self.bApres.setText(_translate("WidgetInactif", ">>"))
- self.bApres.setShortcut(_translate("WidgetInactif", "Shift+A, Alt+A, Alt+A, Alt+A"))
- self.textLabel1_3.setText(_translate("WidgetInactif", "<html><head/><body><p align=\"center\"><span style=\" font-size:16pt;\">Le noeud sélectionné</span></p><p align=\"center\"><span style=\" font-size:16pt;\">ne correspond pas à un objet actif</span></p></body></html>"))
- self.textLabel1.setText(_translate("WidgetInactif", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
-"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
-"p, li { white-space: pre-wrap; }\n"
-"</style></head><body style=\" font-family:\'Sans Serif\'; font-size:9pt; font-weight:400; font-style:normal;\">\n"
-"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:x-large;\"><span style=\" font-size:x-large;\">Seules les commandes placées</span></p>\n"
-"<p align=\"center\" style=\" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:x-large;\"><span style=\" font-size:x-large;\"> entre : DEBUT / FIN sont actives </span></p></body></html>"))
-
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetInactif = QtWidgets.QWidget()
- ui = Ui_WidgetInactif()
- ui.setupUi(WidgetInactif)
- WidgetInactif.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetInformation.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetInformative(object):
- def setupUi(self, WidgetInformative):
- WidgetInformative.setObjectName("WidgetInformative")
- WidgetInformative.resize(837, 44)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetInformative.sizePolicy().hasHeightForWidth())
- WidgetInformative.setSizePolicy(sizePolicy)
- WidgetInformative.setMinimumSize(QtCore.QSize(0, 0))
- self.horizontalLayout = QtWidgets.QHBoxLayout(WidgetInformative)
- self.horizontalLayout.setContentsMargins(0, 1, 0, 1)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(38, 17, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.lineEditVal = QtWidgets.QLineEdit(WidgetInformative)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(1)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal.sizePolicy().hasHeightForWidth())
- self.lineEditVal.setSizePolicy(sizePolicy)
- self.lineEditVal.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal.setMaximumSize(QtCore.QSize(16777215, 16777215))
- self.lineEditVal.setStyleSheet("background:rgb(255,255,235);\n"
-"border:0px;")
- self.lineEditVal.setObjectName("lineEditVal")
- self.horizontalLayout.addWidget(self.lineEditVal)
- spacerItem1 = QtWidgets.QSpacerItem(13, 17, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem1)
-
- self.retranslateUi(WidgetInformative)
- QtCore.QMetaObject.connectSlotsByName(WidgetInformative)
-
- def retranslateUi(self, WidgetInformative):
- _translate = QtCore.QCoreApplication.translate
- WidgetInformative.setWindowTitle(_translate("WidgetInformative", "Form"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetInformative = QtWidgets.QWidget()
- ui = Ui_WidgetInformative()
- ui.setupUi(WidgetInformative)
- WidgetInformative.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetMatrice.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_desWidgetMatrice(object):
- def setupUi(self, desWidgetMatrice):
- desWidgetMatrice.setObjectName("desWidgetMatrice")
- desWidgetMatrice.resize(802, 300)
- self.horizontalLayout = QtWidgets.QHBoxLayout(desWidgetMatrice)
- self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
- self.horizontalLayout.setSpacing(4)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem)
- self.RBValide = MonBoutonValide(desWidgetMatrice)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../../../../../../home/A96028/GitEficasTravail/eficas/Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout_2.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout_2)
- spacerItem1 = QtWidgets.QSpacerItem(20, 15, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Fixed)
- self.verticalLayout_2.addItem(spacerItem1)
- self.PBrefresh = QtWidgets.QPushButton(desWidgetMatrice)
- self.PBrefresh.setText("")
- icon = QtGui.QIcon.fromTheme("view-refresh")
- self.PBrefresh.setIcon(icon)
- self.PBrefresh.setObjectName("PBrefresh")
- self.verticalLayout_2.addWidget(self.PBrefresh)
- spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem2)
- self.horizontalLayout.addLayout(self.verticalLayout_2)
- self.label = MonLabelClic(desWidgetMatrice)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout.addWidget(self.label)
- self.TBMatrice = QtWidgets.QTableWidget(desWidgetMatrice)
- self.TBMatrice.setObjectName("TBMatrice")
- self.TBMatrice.setColumnCount(0)
- self.TBMatrice.setRowCount(0)
- self.horizontalLayout.addWidget(self.TBMatrice)
-
- self.retranslateUi(desWidgetMatrice)
- QtCore.QMetaObject.connectSlotsByName(desWidgetMatrice)
-
- def retranslateUi(self, desWidgetMatrice):
- _translate = QtCore.QCoreApplication.translate
- desWidgetMatrice.setWindowTitle(_translate("desWidgetMatrice", "Dialog"))
- self.RBValide.setToolTip(_translate("desWidgetMatrice", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("desWidgetMatrice", "..."))
- self.PBrefresh.setToolTip(_translate("desWidgetMatrice", "<html><head/><body><p>Met à jour l\'en-tête</p></body></html>"))
- self.label.setText(_translate("desWidgetMatrice", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- desWidgetMatrice = QtWidgets.QDialog()
- ui = Ui_desWidgetMatrice()
- ui.setupUi(desWidgetMatrice)
- desWidgetMatrice.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetOptionnel.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetOptionnel(object):
- def setupUi(self, WidgetOptionnel):
- WidgetOptionnel.setObjectName("WidgetOptionnel")
- WidgetOptionnel.resize(297, 199)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetOptionnel.sizePolicy().hasHeightForWidth())
- WidgetOptionnel.setSizePolicy(sizePolicy)
- WidgetOptionnel.setMinimumSize(QtCore.QSize(0, 0))
- WidgetOptionnel.setStyleSheet("background-color : rgb(224,223,222);\n"
-"font : \'times\' 9px")
- self.verticalLayout = QtWidgets.QVBoxLayout(WidgetOptionnel)
- self.verticalLayout.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout.setSpacing(6)
- self.verticalLayout.setObjectName("verticalLayout")
- self.frame_2 = QtWidgets.QFrame(WidgetOptionnel)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth())
- self.frame_2.setSizePolicy(sizePolicy)
- self.frame_2.setFrameShape(QtWidgets.QFrame.Box)
- self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
- self.frame_2.setObjectName("frame_2")
- self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_2)
- self.horizontalLayout.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout.setSpacing(6)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.GeneaLabel = QtWidgets.QLabel(self.frame_2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.GeneaLabel.sizePolicy().hasHeightForWidth())
- self.GeneaLabel.setSizePolicy(sizePolicy)
- self.GeneaLabel.setMinimumSize(QtCore.QSize(0, 31))
- self.GeneaLabel.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.GeneaLabel.setFrameShadow(QtWidgets.QFrame.Raised)
- self.GeneaLabel.setObjectName("GeneaLabel")
- self.horizontalLayout.addWidget(self.GeneaLabel)
- spacerItem = QtWidgets.QSpacerItem(1037, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.verticalLayout.addWidget(self.frame_2)
- self.widget_2 = QtWidgets.QWidget(WidgetOptionnel)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.widget_2.sizePolicy().hasHeightForWidth())
- self.widget_2.setSizePolicy(sizePolicy)
- self.widget_2.setObjectName("widget_2")
- self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.widget_2)
- self.verticalLayout_3.setContentsMargins(0, 0, 0, 0)
- self.verticalLayout_3.setSpacing(0)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.scrollAreaCommandesOptionnelles = QtWidgets.QScrollArea(self.widget_2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollAreaCommandesOptionnelles.sizePolicy().hasHeightForWidth())
- self.scrollAreaCommandesOptionnelles.setSizePolicy(sizePolicy)
- self.scrollAreaCommandesOptionnelles.setStyleSheet("background : rgb(247,247,247)")
- self.scrollAreaCommandesOptionnelles.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollAreaCommandesOptionnelles.setLineWidth(0)
- self.scrollAreaCommandesOptionnelles.setWidgetResizable(True)
- self.scrollAreaCommandesOptionnelles.setObjectName("scrollAreaCommandesOptionnelles")
- self.commandesOptionnellesWidget = QtWidgets.QWidget()
- self.commandesOptionnellesWidget.setGeometry(QtCore.QRect(0, 0, 279, 124))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.commandesOptionnellesWidget.sizePolicy().hasHeightForWidth())
- self.commandesOptionnellesWidget.setSizePolicy(sizePolicy)
- self.commandesOptionnellesWidget.setObjectName("commandesOptionnellesWidget")
- self.commandesOptionnellesLayout = QtWidgets.QVBoxLayout(self.commandesOptionnellesWidget)
- self.commandesOptionnellesLayout.setContentsMargins(11, 11, 11, 11)
- self.commandesOptionnellesLayout.setSpacing(6)
- self.commandesOptionnellesLayout.setObjectName("commandesOptionnellesLayout")
- spacerItem1 = QtWidgets.QSpacerItem(20, 75, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.commandesOptionnellesLayout.addItem(spacerItem1)
- self.scrollAreaCommandesOptionnelles.setWidget(self.commandesOptionnellesWidget)
- self.verticalLayout_3.addWidget(self.scrollAreaCommandesOptionnelles)
- self.verticalLayout.addWidget(self.widget_2)
-
- self.retranslateUi(WidgetOptionnel)
- QtCore.QMetaObject.connectSlotsByName(WidgetOptionnel)
-
- def retranslateUi(self, WidgetOptionnel):
- _translate = QtCore.QCoreApplication.translate
- WidgetOptionnel.setWindowTitle(_translate("WidgetOptionnel", "WidgetOptionnel"))
- self.GeneaLabel.setText(_translate("WidgetOptionnel", "<html><head/><body><p><span style=\" color:#0000ff;\">commande </span></p></body></html>"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetOptionnel = QtWidgets.QWidget()
- ui = Ui_WidgetOptionnel()
- ui.setupUi(WidgetOptionnel)
- WidgetOptionnel.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetOptionnelMC.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_desWidgetOptionnel(object):
- def setupUi(self, desWidgetOptionnel):
- desWidgetOptionnel.setObjectName("desWidgetOptionnel")
- desWidgetOptionnel.resize(384, 218)
- self.verticalLayout = QtWidgets.QVBoxLayout(desWidgetOptionnel)
- self.verticalLayout.setContentsMargins(0, 0, 0, 0)
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.line = QtWidgets.QFrame(desWidgetOptionnel)
- self.line.setFrameShape(QtWidgets.QFrame.HLine)
- self.line.setFrameShadow(QtWidgets.QFrame.Sunken)
- self.line.setObjectName("line")
- self.horizontalLayout.addWidget(self.line)
- self.nomMC = MonLabelClic(desWidgetOptionnel)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.nomMC.sizePolicy().hasHeightForWidth())
- self.nomMC.setSizePolicy(sizePolicy)
- self.nomMC.setMinimumSize(QtCore.QSize(0, 25))
- self.nomMC.setMaximumSize(QtCore.QSize(12121213, 25))
- self.nomMC.setObjectName("nomMC")
- self.horizontalLayout.addWidget(self.nomMC)
- self.line_2 = QtWidgets.QFrame(desWidgetOptionnel)
- self.line_2.setFrameShape(QtWidgets.QFrame.HLine)
- self.line_2.setFrameShadow(QtWidgets.QFrame.Sunken)
- self.line_2.setObjectName("line_2")
- self.horizontalLayout.addWidget(self.line_2)
- self.verticalLayout.addLayout(self.horizontalLayout)
- self.scrollAreaCommandesOptionnelles = QtWidgets.QScrollArea(desWidgetOptionnel)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollAreaCommandesOptionnelles.sizePolicy().hasHeightForWidth())
- self.scrollAreaCommandesOptionnelles.setSizePolicy(sizePolicy)
- self.scrollAreaCommandesOptionnelles.setStyleSheet("background : rgb(247,247,247)")
- self.scrollAreaCommandesOptionnelles.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollAreaCommandesOptionnelles.setLineWidth(0)
- self.scrollAreaCommandesOptionnelles.setWidgetResizable(True)
- self.scrollAreaCommandesOptionnelles.setObjectName("scrollAreaCommandesOptionnelles")
- self.commandesOptionnellesWidget = QtWidgets.QWidget()
- self.commandesOptionnellesWidget.setGeometry(QtCore.QRect(0, 0, 384, 185))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.commandesOptionnellesWidget.sizePolicy().hasHeightForWidth())
- self.commandesOptionnellesWidget.setSizePolicy(sizePolicy)
- self.commandesOptionnellesWidget.setObjectName("commandesOptionnellesWidget")
- self.commandesOptionnellesLayout = QtWidgets.QVBoxLayout(self.commandesOptionnellesWidget)
- self.commandesOptionnellesLayout.setObjectName("commandesOptionnellesLayout")
- spacerItem = QtWidgets.QSpacerItem(20, 75, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.commandesOptionnellesLayout.addItem(spacerItem)
- self.scrollAreaCommandesOptionnelles.setWidget(self.commandesOptionnellesWidget)
- self.verticalLayout.addWidget(self.scrollAreaCommandesOptionnelles)
-
- self.retranslateUi(desWidgetOptionnel)
- QtCore.QMetaObject.connectSlotsByName(desWidgetOptionnel)
-
- def retranslateUi(self, desWidgetOptionnel):
- _translate = QtCore.QCoreApplication.translate
- desWidgetOptionnel.setWindowTitle(_translate("desWidgetOptionnel", "Form"))
- self.nomMC.setText(_translate("desWidgetOptionnel", "TextLabel"))
-
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- desWidgetOptionnel = QtWidgets.QWidget()
- ui = Ui_desWidgetOptionnel()
- ui.setupUi(desWidgetOptionnel)
- desWidgetOptionnel.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetParam.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetParam(object):
- def setupUi(self, WidgetParam):
- WidgetParam.setObjectName("WidgetParam")
- WidgetParam.resize(1058, 440)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetParam.sizePolicy().hasHeightForWidth())
- WidgetParam.setSizePolicy(sizePolicy)
- WidgetParam.setMinimumSize(QtCore.QSize(0, 0))
- WidgetParam.setToolTip("")
- WidgetParam.setStyleSheet("background-color : rgb(224,223,222);\n"
-"font : \'times\' 9px")
- self.verticalLayout_3 = QtWidgets.QVBoxLayout(WidgetParam)
- self.verticalLayout_3.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout_3.setSpacing(6)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_2.setSpacing(6)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.frame_2 = QtWidgets.QFrame(WidgetParam)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.frame_2.sizePolicy().hasHeightForWidth())
- self.frame_2.setSizePolicy(sizePolicy)
- self.frame_2.setFrameShape(QtWidgets.QFrame.Box)
- self.frame_2.setFrameShadow(QtWidgets.QFrame.Raised)
- self.frame_2.setObjectName("frame_2")
- self.horizontalLayout = QtWidgets.QHBoxLayout(self.frame_2)
- self.horizontalLayout.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout.setSpacing(6)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(self.frame_2)
- self.RBValide.setMinimumSize(QtCore.QSize(17, 31))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 31))
- self.RBValide.setToolTip("")
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(21, 31))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- spacerItem1 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem1)
- self.labelNomCommande = QtWidgets.QLabel(self.frame_2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.labelNomCommande.sizePolicy().hasHeightForWidth())
- self.labelNomCommande.setSizePolicy(sizePolicy)
- self.labelNomCommande.setMinimumSize(QtCore.QSize(150, 31))
- self.labelNomCommande.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.labelNomCommande.setFrameShadow(QtWidgets.QFrame.Raised)
- self.labelNomCommande.setObjectName("labelNomCommande")
- self.horizontalLayout.addWidget(self.labelNomCommande)
- spacerItem2 = QtWidgets.QSpacerItem(78, 40, QtWidgets.QSizePolicy.Maximum, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem2)
- self.RBPoubelle = QtWidgets.QToolButton(self.frame_2)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout.addWidget(self.RBPoubelle)
- self.RBValide.raise_()
- self.labelNomCommande.raise_()
- self.RBPoubelle.raise_()
- self.horizontalLayout_2.addWidget(self.frame_2)
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout_2.setSpacing(6)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.bCatalogue = QtWidgets.QPushButton(WidgetParam)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bCatalogue.sizePolicy().hasHeightForWidth())
- self.bCatalogue.setSizePolicy(sizePolicy)
- self.bCatalogue.setMinimumSize(QtCore.QSize(160, 31))
- self.bCatalogue.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bCatalogue.setAutoDefault(True)
- self.bCatalogue.setDefault(True)
- self.bCatalogue.setObjectName("bCatalogue")
- self.verticalLayout_2.addWidget(self.bCatalogue)
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setContentsMargins(11, 11, 11, 11)
- self.horizontalLayout_3.setSpacing(6)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.bAvant = QtWidgets.QPushButton(WidgetParam)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bAvant.sizePolicy().hasHeightForWidth())
- self.bAvant.setSizePolicy(sizePolicy)
- self.bAvant.setMinimumSize(QtCore.QSize(60, 24))
- self.bAvant.setMaximumSize(QtCore.QSize(60, 24))
- self.bAvant.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.bAvant.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bAvant.setAutoDefault(True)
- self.bAvant.setDefault(True)
- self.bAvant.setObjectName("bAvant")
- self.horizontalLayout_3.addWidget(self.bAvant)
- self.bApres = QtWidgets.QPushButton(WidgetParam)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bApres.sizePolicy().hasHeightForWidth())
- self.bApres.setSizePolicy(sizePolicy)
- self.bApres.setMinimumSize(QtCore.QSize(60, 24))
- self.bApres.setMaximumSize(QtCore.QSize(60, 24))
- self.bApres.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.bApres.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bApres.setAutoDefault(True)
- self.bApres.setDefault(True)
- self.bApres.setObjectName("bApres")
- self.horizontalLayout_3.addWidget(self.bApres)
- self.verticalLayout_2.addLayout(self.horizontalLayout_3)
- self.horizontalLayout_2.addLayout(self.verticalLayout_2)
- self.verticalLayout_3.addLayout(self.horizontalLayout_2)
- self.scrollAreaCommandes = QtWidgets.QScrollArea(WidgetParam)
- self.scrollAreaCommandes.setMinimumSize(QtCore.QSize(0, 81))
- self.scrollAreaCommandes.setStyleSheet("background : rgb(247,247,247);\n"
-"\n"
-"\n"
-"\n"
-"")
- self.scrollAreaCommandes.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollAreaCommandes.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAsNeeded)
- self.scrollAreaCommandes.setWidgetResizable(True)
- self.scrollAreaCommandes.setObjectName("scrollAreaCommandes")
- self.scrollAreaWidgetContents = QtWidgets.QWidget()
- self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 1040, 349))
- self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
- self.verticalLayout = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
- self.verticalLayout.setContentsMargins(11, 11, 11, 11)
- self.verticalLayout.setSpacing(6)
- self.verticalLayout.setObjectName("verticalLayout")
- self.gridLayout = QtWidgets.QGridLayout()
- self.gridLayout.setContentsMargins(11, 11, 11, 11)
- self.gridLayout.setSpacing(25)
- self.gridLayout.setObjectName("gridLayout")
- self.textLabelVal = QtWidgets.QLabel(self.scrollAreaWidgetContents)
- self.textLabelVal.setWordWrap(False)
- self.textLabelVal.setObjectName("textLabelVal")
- self.gridLayout.addWidget(self.textLabelVal, 1, 0, 1, 1)
- self.lineEditNom = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
- self.lineEditNom.setMinimumSize(QtCore.QSize(231, 31))
- self.lineEditNom.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;\n"
-"\n"
-"")
- self.lineEditNom.setObjectName("lineEditNom")
- self.gridLayout.addWidget(self.lineEditNom, 0, 1, 1, 1)
- self.lineEditVal = QtWidgets.QLineEdit(self.scrollAreaWidgetContents)
- self.lineEditVal.setMinimumSize(QtCore.QSize(231, 31))
- self.lineEditVal.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal.setObjectName("lineEditVal")
- self.gridLayout.addWidget(self.lineEditVal, 1, 1, 1, 1)
- self.textLabelNom = QtWidgets.QLabel(self.scrollAreaWidgetContents)
- self.textLabelNom.setWordWrap(False)
- self.textLabelNom.setObjectName("textLabelNom")
- self.gridLayout.addWidget(self.textLabelNom, 0, 0, 1, 1)
- spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.gridLayout.addItem(spacerItem3, 2, 0, 1, 1)
- self.bVerifie = QtWidgets.QPushButton(self.scrollAreaWidgetContents)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.bVerifie.sizePolicy().hasHeightForWidth())
- self.bVerifie.setSizePolicy(sizePolicy)
- self.bVerifie.setMinimumSize(QtCore.QSize(160, 31))
- self.bVerifie.setStyleSheet("background-color:rgb(104,110,149);\n"
-"color :white;\n"
-"border-radius : 12px\n"
-"")
- self.bVerifie.setAutoDefault(True)
- self.bVerifie.setDefault(True)
- self.bVerifie.setObjectName("bVerifie")
- self.gridLayout.addWidget(self.bVerifie, 2, 1, 1, 1)
- self.verticalLayout.addLayout(self.gridLayout)
- self.LECommentaire = QtWidgets.QLabel(self.scrollAreaWidgetContents)
- self.LECommentaire.setWordWrap(False)
- self.LECommentaire.setObjectName("LECommentaire")
- self.verticalLayout.addWidget(self.LECommentaire)
- spacerItem4 = QtWidgets.QSpacerItem(20, 70, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem4)
- self.scrollAreaCommandes.setWidget(self.scrollAreaWidgetContents)
- self.verticalLayout_3.addWidget(self.scrollAreaCommandes)
-
- self.retranslateUi(WidgetParam)
- QtCore.QMetaObject.connectSlotsByName(WidgetParam)
- WidgetParam.setTabOrder(self.RBPoubelle, self.bCatalogue)
- WidgetParam.setTabOrder(self.bCatalogue, self.RBValide)
- WidgetParam.setTabOrder(self.RBValide, self.scrollAreaCommandes)
-
- def retranslateUi(self, WidgetParam):
- _translate = QtCore.QCoreApplication.translate
- WidgetParam.setWindowTitle(_translate("WidgetParam", "DCommandeUnique"))
- self.RBValide.setText(_translate("WidgetParam", "..."))
- self.labelNomCommande.setText(_translate("WidgetParam", "<html><head/><body><p><span style=\" color:#000000;\">Paramètre</span></p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetParam", "Détruit le commentaire"))
- self.RBPoubelle.setText(_translate("WidgetParam", "..."))
- self.bCatalogue.setToolTip(_translate("WidgetParam", "Affiche les commandes possibles"))
- self.bCatalogue.setText(_translate("WidgetParam", "&Commandes"))
- self.bCatalogue.setShortcut(_translate("WidgetParam", "Shift+A, Alt+A, Alt+A, Alt+A"))
- self.bAvant.setToolTip(_translate("WidgetParam", "Affiche le formulaire de la commande précédente"))
- self.bAvant.setText(_translate("WidgetParam", "<<"))
- self.bAvant.setShortcut(_translate("WidgetParam", "Shift+A, Alt+A, Alt+A, Alt+A"))
- self.bApres.setToolTip(_translate("WidgetParam", "Affiche le formulaire de la commande suivante"))
- self.bApres.setText(_translate("WidgetParam", ">>"))
- self.bApres.setShortcut(_translate("WidgetParam", "Shift+A, Alt+A, Alt+A, Alt+A"))
- self.textLabelVal.setText(_translate("WidgetParam", "<html><head/><body><p>Valeur: </p></body></html>"))
- self.textLabelNom.setText(_translate("WidgetParam", "<html><head/><body><p>Nom: </p></body></html>"))
- self.bVerifie.setToolTip(_translate("WidgetParam", "Affiche les commandes possibles"))
- self.bVerifie.setText(_translate("WidgetParam", "Verifie la valeur"))
- self.bVerifie.setShortcut(_translate("WidgetParam", "Shift+A, Alt+A, Alt+A, Alt+A"))
- self.LECommentaire.setText(_translate("WidgetParam", "<html><head/><body><p><br/></p></body></html>"))
-
-from monBoutonValide import MonBoutonValide
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetParam = QtWidgets.QWidget()
- ui = Ui_WidgetParam()
- ui.setupUi(WidgetParam)
- WidgetParam.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetPlusieursBase.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetPlusieursBase(object):
- def setupUi(self, WidgetPlusieursBase):
- WidgetPlusieursBase.setObjectName("WidgetPlusieursBase")
- WidgetPlusieursBase.resize(764, 202)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetPlusieursBase.sizePolicy().hasHeightForWidth())
- WidgetPlusieursBase.setSizePolicy(sizePolicy)
- WidgetPlusieursBase.setMinimumSize(QtCore.QSize(100, 20))
- WidgetPlusieursBase.setStyleSheet("/* QFrame {\n"
-"border: 1px solid gray;\n"
-"}*/\n"
-"")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout(WidgetPlusieursBase)
- self.horizontalLayout_2.setContentsMargins(0, 2, 2, 0)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.verticalLayout_3 = QtWidgets.QVBoxLayout()
- self.verticalLayout_3.setSpacing(0)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.BFermeListe = QtWidgets.QToolButton(WidgetPlusieursBase)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.BFermeListe.sizePolicy().hasHeightForWidth())
- self.BFermeListe.setSizePolicy(sizePolicy)
- self.BFermeListe.setMaximumSize(QtCore.QSize(21, 25))
- self.BFermeListe.setStyleSheet("border:0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/minusnode.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.BFermeListe.setIcon(icon)
- self.BFermeListe.setIconSize(QtCore.QSize(25, 25))
- self.BFermeListe.setObjectName("BFermeListe")
- self.horizontalLayout.addWidget(self.BFermeListe)
- self.RBValide = MonBoutonValide(WidgetPlusieursBase)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon1)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout_3.addLayout(self.horizontalLayout)
- spacerItem = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_3.addItem(spacerItem)
- self.horizontalLayout_2.addLayout(self.verticalLayout_3)
- self.verticalLayout_4 = QtWidgets.QVBoxLayout()
- self.verticalLayout_4.setSpacing(0)
- self.verticalLayout_4.setObjectName("verticalLayout_4")
- self.label = MonLabelClic(WidgetPlusieursBase)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.verticalLayout_4.addWidget(self.label)
- self.scrollArea_2 = QtWidgets.QScrollArea(WidgetPlusieursBase)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollArea_2.sizePolicy().hasHeightForWidth())
- self.scrollArea_2.setSizePolicy(sizePolicy)
- self.scrollArea_2.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollArea_2.setFrameShadow(QtWidgets.QFrame.Plain)
- self.scrollArea_2.setWidgetResizable(True)
- self.scrollArea_2.setObjectName("scrollArea_2")
- self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
- self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 112, 138))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents_2.sizePolicy().hasHeightForWidth())
- self.scrollAreaWidgetContents_2.setSizePolicy(sizePolicy)
- self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
- self.horizontalLayout_7 = QtWidgets.QHBoxLayout(self.scrollAreaWidgetContents_2)
- self.horizontalLayout_7.setObjectName("horizontalLayout_7")
- self.monCommentaireLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.MinimumExpanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.monCommentaireLabel.sizePolicy().hasHeightForWidth())
- self.monCommentaireLabel.setSizePolicy(sizePolicy)
- self.monCommentaireLabel.setObjectName("monCommentaireLabel")
- self.horizontalLayout_7.addWidget(self.monCommentaireLabel)
- self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
- self.verticalLayout_4.addWidget(self.scrollArea_2)
- self.horizontalLayout_2.addLayout(self.verticalLayout_4)
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.scrollArea = QtWidgets.QScrollArea(WidgetPlusieursBase)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
- self.scrollArea.setSizePolicy(sizePolicy)
- self.scrollArea.setMinimumSize(QtCore.QSize(400, 50))
- self.scrollArea.setStyleSheet("background : rgb(247,247,247);\n"
-"border: 1px solid gray;\n"
-"/* QFrame {\n"
-"border: 1px solid gray;\n"
-"}*/\n"
-"\n"
-"")
- self.scrollArea.setFrameShape(QtWidgets.QFrame.Box)
- self.scrollArea.setFrameShadow(QtWidgets.QFrame.Plain)
- self.scrollArea.setLineWidth(1)
- self.scrollArea.setWidgetResizable(True)
- self.scrollArea.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
- self.scrollArea.setObjectName("scrollArea")
- self.verticalWidgetLE = QtWidgets.QWidget()
- self.verticalWidgetLE.setGeometry(QtCore.QRect(0, 0, 398, 161))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.verticalWidgetLE.sizePolicy().hasHeightForWidth())
- self.verticalWidgetLE.setSizePolicy(sizePolicy)
- self.verticalWidgetLE.setObjectName("verticalWidgetLE")
- self.verticalLayoutLE = QtWidgets.QVBoxLayout(self.verticalWidgetLE)
- self.verticalLayoutLE.setContentsMargins(2, 0, 2, 0)
- self.verticalLayoutLE.setSpacing(2)
- self.verticalLayoutLE.setObjectName("verticalLayoutLE")
- spacerItem1 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayoutLE.addItem(spacerItem1)
- self.scrollArea.setWidget(self.verticalWidgetLE)
- self.verticalLayout_2.addWidget(self.scrollArea)
- self.frame = QtWidgets.QFrame(WidgetPlusieursBase)
- self.frame.setFrameShape(QtWidgets.QFrame.Box)
- self.frame.setObjectName("frame")
- self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.frame)
- self.horizontalLayout_6.setContentsMargins(0, 0, 0, 0)
- self.horizontalLayout_6.setObjectName("horizontalLayout_6")
- spacerItem2 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_6.addItem(spacerItem2)
- self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_4.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_4.setSpacing(0)
- self.horizontalLayout_4.setObjectName("horizontalLayout_4")
- self.RBHaut = QtWidgets.QToolButton(self.frame)
- self.RBHaut.setMinimumSize(QtCore.QSize(21, 31))
- self.RBHaut.setMaximumSize(QtCore.QSize(21, 31))
- self.RBHaut.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBHaut.setStyleSheet("border : 0px")
- icon = QtGui.QIcon.fromTheme("go-up")
- self.RBHaut.setIcon(icon)
- self.RBHaut.setIconSize(QtCore.QSize(32, 32))
- self.RBHaut.setObjectName("RBHaut")
- self.horizontalLayout_4.addWidget(self.RBHaut)
- self.RBBas = QtWidgets.QToolButton(self.frame)
- self.RBBas.setMinimumSize(QtCore.QSize(21, 31))
- self.RBBas.setMaximumSize(QtCore.QSize(21, 31))
- self.RBBas.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBBas.setStyleSheet("border : 0px")
- icon = QtGui.QIcon.fromTheme("go-down")
- self.RBBas.setIcon(icon)
- self.RBBas.setIconSize(QtCore.QSize(32, 32))
- self.RBBas.setObjectName("RBBas")
- self.horizontalLayout_4.addWidget(self.RBBas)
- self.RBMoins = QtWidgets.QToolButton(self.frame)
- self.RBMoins.setMinimumSize(QtCore.QSize(21, 31))
- self.RBMoins.setMaximumSize(QtCore.QSize(21, 31))
- self.RBMoins.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBMoins.setStyleSheet("border : 0px")
- icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/MoinsBleu2.png"), QtGui.QIcon.Normal, QtGui.QIcon.On)
- self.RBMoins.setIcon(icon2)
- self.RBMoins.setIconSize(QtCore.QSize(32, 32))
- self.RBMoins.setObjectName("RBMoins")
- self.horizontalLayout_4.addWidget(self.RBMoins)
- self.RBPlus = QtWidgets.QToolButton(self.frame)
- self.RBPlus.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPlus.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPlus.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPlus.setStyleSheet("border : 0px")
- icon3 = QtGui.QIcon()
- icon3.addPixmap(QtGui.QPixmap("../Editeur/icons/PlusBleu.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPlus.setIcon(icon3)
- self.RBPlus.setIconSize(QtCore.QSize(32, 32))
- self.RBPlus.setObjectName("RBPlus")
- self.horizontalLayout_4.addWidget(self.RBPlus)
- self.horizontalLayout_6.addLayout(self.horizontalLayout_4)
- spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_6.addItem(spacerItem3)
- self.RBVoisListe = QtWidgets.QToolButton(self.frame)
- self.RBVoisListe.setMinimumSize(QtCore.QSize(21, 31))
- self.RBVoisListe.setMaximumSize(QtCore.QSize(21, 31))
- self.RBVoisListe.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBVoisListe.setStyleSheet("border : 0px")
- icon4 = QtGui.QIcon()
- icon4.addPixmap(QtGui.QPixmap("../Editeur/icons/verre-loupe-icone-6087-64.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBVoisListe.setIcon(icon4)
- self.RBVoisListe.setIconSize(QtCore.QSize(32, 32))
- self.RBVoisListe.setObjectName("RBVoisListe")
- self.horizontalLayout_6.addWidget(self.RBVoisListe)
- spacerItem4 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_6.addItem(spacerItem4)
- self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_5.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_5.setSpacing(0)
- self.horizontalLayout_5.setObjectName("horizontalLayout_5")
- self.RBSalome = QtWidgets.QToolButton(self.frame)
- self.RBSalome.setMinimumSize(QtCore.QSize(21, 31))
- self.RBSalome.setMaximumSize(QtCore.QSize(21, 31))
- self.RBSalome.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBSalome.setStyleSheet("border : 0px")
- icon5 = QtGui.QIcon()
- icon5.addPixmap(QtGui.QPixmap("../Editeur/icons/flecheSalome.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBSalome.setIcon(icon5)
- self.RBSalome.setIconSize(QtCore.QSize(32, 32))
- self.RBSalome.setObjectName("RBSalome")
- self.horizontalLayout_5.addWidget(self.RBSalome)
- self.RBSalomeVue = QtWidgets.QToolButton(self.frame)
- self.RBSalomeVue.setMinimumSize(QtCore.QSize(21, 31))
- self.RBSalomeVue.setMaximumSize(QtCore.QSize(21, 31))
- self.RBSalomeVue.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBSalomeVue.setStyleSheet("border : 0px")
- icon6 = QtGui.QIcon()
- icon6.addPixmap(QtGui.QPixmap("../Editeur/icons/eye.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBSalomeVue.setIcon(icon6)
- self.RBSalomeVue.setIconSize(QtCore.QSize(32, 32))
- self.RBSalomeVue.setObjectName("RBSalomeVue")
- self.horizontalLayout_5.addWidget(self.RBSalomeVue)
- self.horizontalLayout_6.addLayout(self.horizontalLayout_5)
- self.verticalLayout_2.addWidget(self.frame)
- self.horizontalLayout_2.addLayout(self.verticalLayout_2)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setContentsMargins(0, -1, 0, -1)
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.BSelectFichier = QtWidgets.QToolButton(WidgetPlusieursBase)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.BSelectFichier.sizePolicy().hasHeightForWidth())
- self.BSelectFichier.setSizePolicy(sizePolicy)
- self.BSelectFichier.setMaximumSize(QtCore.QSize(25, 30))
- self.BSelectFichier.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.BSelectFichier.setStyleSheet("border:0px")
- icon = QtGui.QIcon.fromTheme("text-x-generic")
- self.BSelectFichier.setIcon(icon)
- self.BSelectFichier.setIconSize(QtCore.QSize(32, 32))
- self.BSelectFichier.setObjectName("BSelectFichier")
- self.horizontalLayout_3.addWidget(self.BSelectFichier)
- spacerItem5 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem5)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetPlusieursBase)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon7 = QtGui.QIcon()
- icon7.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon7)
- self.RBPoubelle.setIconSize(QtCore.QSize(32, 32))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout_3.addWidget(self.RBPoubelle)
- self.verticalLayout.addLayout(self.horizontalLayout_3)
- spacerItem6 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem6)
- self.horizontalLayout_2.addLayout(self.verticalLayout)
- self.label.raise_()
- self.monCommentaireLabel.raise_()
- self.scrollArea_2.raise_()
-
- self.retranslateUi(WidgetPlusieursBase)
- QtCore.QMetaObject.connectSlotsByName(WidgetPlusieursBase)
- WidgetPlusieursBase.setTabOrder(self.scrollArea, self.RBHaut)
- WidgetPlusieursBase.setTabOrder(self.RBHaut, self.RBBas)
- WidgetPlusieursBase.setTabOrder(self.RBBas, self.RBMoins)
- WidgetPlusieursBase.setTabOrder(self.RBMoins, self.RBVoisListe)
- WidgetPlusieursBase.setTabOrder(self.RBVoisListe, self.RBSalome)
- WidgetPlusieursBase.setTabOrder(self.RBSalome, self.RBSalomeVue)
- WidgetPlusieursBase.setTabOrder(self.RBSalomeVue, self.BSelectFichier)
- WidgetPlusieursBase.setTabOrder(self.BSelectFichier, self.RBPoubelle)
-
- def retranslateUi(self, WidgetPlusieursBase):
- _translate = QtCore.QCoreApplication.translate
- WidgetPlusieursBase.setWindowTitle(_translate("WidgetPlusieursBase", "Form"))
- self.BFermeListe.setToolTip(_translate("WidgetPlusieursBase", "permet de gérer la liste"))
- self.BFermeListe.setText(_translate("WidgetPlusieursBase", "..."))
- self.RBValide.setToolTip(_translate("WidgetPlusieursBase", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetPlusieursBase", "..."))
- self.label.setText(_translate("WidgetPlusieursBase", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.monCommentaireLabel.setText(_translate("WidgetPlusieursBase", "TextLabel"))
- self.RBHaut.setToolTip(_translate("WidgetPlusieursBase", "Remonte la ligne"))
- self.RBHaut.setText(_translate("WidgetPlusieursBase", "..."))
- self.RBBas.setToolTip(_translate("WidgetPlusieursBase", "Descend la ligne"))
- self.RBBas.setText(_translate("WidgetPlusieursBase", "..."))
- self.RBMoins.setToolTip(_translate("WidgetPlusieursBase", "supprime une ligne"))
- self.RBMoins.setText(_translate("WidgetPlusieursBase", "..."))
- self.RBPlus.setToolTip(_translate("WidgetPlusieursBase", "Ajoute une ligne"))
- self.RBPlus.setText(_translate("WidgetPlusieursBase", "..."))
- self.RBVoisListe.setToolTip(_translate("WidgetPlusieursBase", "Montre l\'ensemble des valeurs"))
- self.RBVoisListe.setText(_translate("WidgetPlusieursBase", "..."))
- self.RBSalome.setToolTip(_translate("WidgetPlusieursBase", "Sélectionne depuis Salome"))
- self.RBSalome.setText(_translate("WidgetPlusieursBase", "..."))
- self.RBSalomeVue.setToolTip(_translate("WidgetPlusieursBase", "Visualise dans Salome"))
- self.RBSalomeVue.setText(_translate("WidgetPlusieursBase", "..."))
- self.BSelectFichier.setToolTip(_translate("WidgetPlusieursBase", "Ouvre un fichier de sélection des valeurs"))
- self.BSelectFichier.setText(_translate("WidgetPlusieursBase", "..."))
- self.RBPoubelle.setToolTip(_translate("WidgetPlusieursBase", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetPlusieursBase", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetPlusieursBase = QtWidgets.QWidget()
- ui = Ui_WidgetPlusieursBase()
- ui.setupUi(WidgetPlusieursBase)
- WidgetPlusieursBase.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetPlusieursInto.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetPlusieursInto(object):
- def setupUi(self, WidgetPlusieursInto):
- WidgetPlusieursInto.setObjectName("WidgetPlusieursInto")
- WidgetPlusieursInto.resize(938, 236)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetPlusieursInto.sizePolicy().hasHeightForWidth())
- WidgetPlusieursInto.setSizePolicy(sizePolicy)
- WidgetPlusieursInto.setMinimumSize(QtCore.QSize(0, 60))
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout(WidgetPlusieursInto)
- self.horizontalLayout_2.setContentsMargins(0, 2, 2, 0)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.BFermeListe = QtWidgets.QToolButton(WidgetPlusieursInto)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.BFermeListe.sizePolicy().hasHeightForWidth())
- self.BFermeListe.setSizePolicy(sizePolicy)
- self.BFermeListe.setMaximumSize(QtCore.QSize(21, 25))
- self.BFermeListe.setStyleSheet("border:0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/minusnode.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.BFermeListe.setIcon(icon)
- self.BFermeListe.setIconSize(QtCore.QSize(25, 25))
- self.BFermeListe.setObjectName("BFermeListe")
- self.horizontalLayout.addWidget(self.BFermeListe)
- self.RBValide = MonBoutonValide(WidgetPlusieursInto)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon1)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout)
- spacerItem = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem)
- self.horizontalLayout_2.addLayout(self.verticalLayout_2)
- self.verticalLayout_3 = QtWidgets.QVBoxLayout()
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.label = MonLabelClic(WidgetPlusieursInto)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(280, 25))
- self.label.setMaximumSize(QtCore.QSize(280, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.verticalLayout_3.addWidget(self.label)
- self.scrollArea_2 = QtWidgets.QScrollArea(WidgetPlusieursInto)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollArea_2.sizePolicy().hasHeightForWidth())
- self.scrollArea_2.setSizePolicy(sizePolicy)
- self.scrollArea_2.setMinimumSize(QtCore.QSize(300, 0))
- self.scrollArea_2.setMaximumSize(QtCore.QSize(300, 16777215))
- self.scrollArea_2.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollArea_2.setLineWidth(0)
- self.scrollArea_2.setWidgetResizable(True)
- self.scrollArea_2.setObjectName("scrollArea_2")
- self.scrollAreaWidgetContents_2 = QtWidgets.QWidget()
- self.scrollAreaWidgetContents_2.setGeometry(QtCore.QRect(0, 0, 300, 166))
- self.scrollAreaWidgetContents_2.setObjectName("scrollAreaWidgetContents_2")
- self.gridLayout_2 = QtWidgets.QGridLayout(self.scrollAreaWidgetContents_2)
- self.gridLayout_2.setContentsMargins(0, 0, 0, 0)
- self.gridLayout_2.setHorizontalSpacing(0)
- self.gridLayout_2.setObjectName("gridLayout_2")
- self.monCommentaireLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents_2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.monCommentaireLabel.sizePolicy().hasHeightForWidth())
- self.monCommentaireLabel.setSizePolicy(sizePolicy)
- self.monCommentaireLabel.setMinimumSize(QtCore.QSize(78, 25))
- self.monCommentaireLabel.setMaximumSize(QtCore.QSize(278, 16777215))
- self.monCommentaireLabel.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.monCommentaireLabel.setScaledContents(False)
- self.monCommentaireLabel.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.monCommentaireLabel.setObjectName("monCommentaireLabel")
- self.gridLayout_2.addWidget(self.monCommentaireLabel, 0, 0, 1, 1)
- self.scrollArea_2.setWidget(self.scrollAreaWidgetContents_2)
- self.verticalLayout_3.addWidget(self.scrollArea_2)
- self.horizontalLayout_2.addLayout(self.verticalLayout_3)
- self.scrollArea = QtWidgets.QScrollArea(WidgetPlusieursInto)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
- self.scrollArea.setSizePolicy(sizePolicy)
- self.scrollArea.setStyleSheet("background : rgb(247,247,247)")
- self.scrollArea.setFrameShape(QtWidgets.QFrame.Box)
- self.scrollArea.setLineWidth(1)
- self.scrollArea.setWidgetResizable(True)
- self.scrollArea.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
- self.scrollArea.setObjectName("scrollArea")
- self.verticalWidgetLE = QtWidgets.QWidget()
- self.verticalWidgetLE.setGeometry(QtCore.QRect(0, 0, 543, 232))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.verticalWidgetLE.sizePolicy().hasHeightForWidth())
- self.verticalWidgetLE.setSizePolicy(sizePolicy)
- self.verticalWidgetLE.setObjectName("verticalWidgetLE")
- self.CBLayout = QtWidgets.QVBoxLayout(self.verticalWidgetLE)
- self.CBLayout.setContentsMargins(0, 0, 0, 0)
- self.CBLayout.setSpacing(0)
- self.CBLayout.setObjectName("CBLayout")
- self.scrollArea.setWidget(self.verticalWidgetLE)
- self.horizontalLayout_2.addWidget(self.scrollArea)
- spacerItem1 = QtWidgets.QSpacerItem(20, 17, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem1)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.RBPoubelle = QtWidgets.QToolButton(WidgetPlusieursInto)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon2)
- self.RBPoubelle.setIconSize(QtCore.QSize(32, 32))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.verticalLayout.addWidget(self.RBPoubelle)
- self.CBCheck = QtWidgets.QCheckBox(WidgetPlusieursInto)
- self.CBCheck.setText("")
- self.CBCheck.setChecked(True)
- self.CBCheck.setObjectName("CBCheck")
- self.verticalLayout.addWidget(self.CBCheck)
- spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem2)
- self.horizontalLayout_2.addLayout(self.verticalLayout)
- self.scrollArea.raise_()
-
- self.retranslateUi(WidgetPlusieursInto)
- QtCore.QMetaObject.connectSlotsByName(WidgetPlusieursInto)
-
- def retranslateUi(self, WidgetPlusieursInto):
- _translate = QtCore.QCoreApplication.translate
- WidgetPlusieursInto.setWindowTitle(_translate("WidgetPlusieursInto", "Form"))
- self.BFermeListe.setToolTip(_translate("WidgetPlusieursInto", "permet de gérer la liste"))
- self.BFermeListe.setText(_translate("WidgetPlusieursInto", "..."))
- self.RBValide.setToolTip(_translate("WidgetPlusieursInto", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetPlusieursInto", "..."))
- self.label.setText(_translate("WidgetPlusieursInto", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.monCommentaireLabel.setText(_translate("WidgetPlusieursInto", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetPlusieursInto", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetPlusieursInto", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetPlusieursInto = QtWidgets.QWidget()
- ui = Ui_WidgetPlusieursInto()
- ui.setupUi(WidgetPlusieursInto)
- WidgetPlusieursInto.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetPlusieursIntoOrdonne.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetPlusieursIntoOrdonne(object):
- def setupUi(self, WidgetPlusieursIntoOrdonne):
- WidgetPlusieursIntoOrdonne.setObjectName("WidgetPlusieursIntoOrdonne")
- WidgetPlusieursIntoOrdonne.resize(1013, 243)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetPlusieursIntoOrdonne.sizePolicy().hasHeightForWidth())
- WidgetPlusieursIntoOrdonne.setSizePolicy(sizePolicy)
- WidgetPlusieursIntoOrdonne.setMinimumSize(QtCore.QSize(0, 0))
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout(WidgetPlusieursIntoOrdonne)
- self.horizontalLayout_2.setContentsMargins(0, 2, 0, 7)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.verticalLayout_3 = QtWidgets.QVBoxLayout()
- self.verticalLayout_3.setSpacing(0)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.BFermeListe = QtWidgets.QToolButton(WidgetPlusieursIntoOrdonne)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.BFermeListe.sizePolicy().hasHeightForWidth())
- self.BFermeListe.setSizePolicy(sizePolicy)
- self.BFermeListe.setMaximumSize(QtCore.QSize(21, 25))
- self.BFermeListe.setStyleSheet("border:0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/minusnode.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.BFermeListe.setIcon(icon)
- self.BFermeListe.setIconSize(QtCore.QSize(25, 25))
- self.BFermeListe.setObjectName("BFermeListe")
- self.horizontalLayout.addWidget(self.BFermeListe)
- self.RBValide = MonBoutonValide(WidgetPlusieursIntoOrdonne)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon1)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout_3.addLayout(self.horizontalLayout)
- spacerItem = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_3.addItem(spacerItem)
- self.horizontalLayout_2.addLayout(self.verticalLayout_3)
- self.verticalLayout_4 = QtWidgets.QVBoxLayout()
- self.verticalLayout_4.setSpacing(0)
- self.verticalLayout_4.setObjectName("verticalLayout_4")
- self.label = MonLabelClic(WidgetPlusieursIntoOrdonne)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.verticalLayout_4.addWidget(self.label)
- self.scrollArea_2 = QtWidgets.QScrollArea(WidgetPlusieursIntoOrdonne)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollArea_2.sizePolicy().hasHeightForWidth())
- self.scrollArea_2.setSizePolicy(sizePolicy)
- self.scrollArea_2.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollArea_2.setFrameShadow(QtWidgets.QFrame.Plain)
- self.scrollArea_2.setWidgetResizable(True)
- self.scrollArea_2.setObjectName("scrollArea_2")
- self.scrollAreaWidgetContents = QtWidgets.QWidget()
- self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 112, 172))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents.sizePolicy().hasHeightForWidth())
- self.scrollAreaWidgetContents.setSizePolicy(sizePolicy)
- self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
- self.verticalLayout_6 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
- self.verticalLayout_6.setObjectName("verticalLayout_6")
- self.monCommentaireLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.monCommentaireLabel.sizePolicy().hasHeightForWidth())
- self.monCommentaireLabel.setSizePolicy(sizePolicy)
- self.monCommentaireLabel.setObjectName("monCommentaireLabel")
- self.verticalLayout_6.addWidget(self.monCommentaireLabel)
- self.scrollArea_2.setWidget(self.scrollAreaWidgetContents)
- self.verticalLayout_4.addWidget(self.scrollArea_2)
- self.horizontalLayout_2.addLayout(self.verticalLayout_4)
- spacerItem1 = QtWidgets.QSpacerItem(8, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem1)
- self.scrollArea = QtWidgets.QScrollArea(WidgetPlusieursIntoOrdonne)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
- self.scrollArea.setSizePolicy(sizePolicy)
- self.scrollArea.setStyleSheet("background : rgb(247,247,247)")
- self.scrollArea.setFrameShape(QtWidgets.QFrame.Box)
- self.scrollArea.setFrameShadow(QtWidgets.QFrame.Plain)
- self.scrollArea.setLineWidth(1)
- self.scrollArea.setWidgetResizable(True)
- self.scrollArea.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
- self.scrollArea.setObjectName("scrollArea")
- self.verticalWidgetLE = QtWidgets.QWidget()
- self.verticalWidgetLE.setGeometry(QtCore.QRect(0, 0, 301, 232))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.verticalWidgetLE.sizePolicy().hasHeightForWidth())
- self.verticalWidgetLE.setSizePolicy(sizePolicy)
- self.verticalWidgetLE.setObjectName("verticalWidgetLE")
- self.CBLayout = QtWidgets.QVBoxLayout(self.verticalWidgetLE)
- self.CBLayout.setContentsMargins(0, 0, 0, 0)
- self.CBLayout.setSpacing(0)
- self.CBLayout.setObjectName("CBLayout")
- spacerItem2 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.CBLayout.addItem(spacerItem2)
- self.scrollArea.setWidget(self.verticalWidgetLE)
- self.horizontalLayout_2.addWidget(self.scrollArea)
- spacerItem3 = QtWidgets.QSpacerItem(8, 108, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem3)
- self.verticalLayout_5 = QtWidgets.QVBoxLayout()
- self.verticalLayout_5.setObjectName("verticalLayout_5")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.scrollAreaRE = QtWidgets.QScrollArea(WidgetPlusieursIntoOrdonne)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollAreaRE.sizePolicy().hasHeightForWidth())
- self.scrollAreaRE.setSizePolicy(sizePolicy)
- self.scrollAreaRE.setStyleSheet("background : rgb(247,247,247)")
- self.scrollAreaRE.setFrameShape(QtWidgets.QFrame.Box)
- self.scrollAreaRE.setFrameShadow(QtWidgets.QFrame.Plain)
- self.scrollAreaRE.setLineWidth(1)
- self.scrollAreaRE.setWidgetResizable(True)
- self.scrollAreaRE.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
- self.scrollAreaRE.setObjectName("scrollAreaRE")
- self.verticalWidgetLEChoisis = QtWidgets.QWidget()
- self.verticalWidgetLEChoisis.setGeometry(QtCore.QRect(0, 0, 297, 187))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.verticalWidgetLEChoisis.sizePolicy().hasHeightForWidth())
- self.verticalWidgetLEChoisis.setSizePolicy(sizePolicy)
- self.verticalWidgetLEChoisis.setObjectName("verticalWidgetLEChoisis")
- self.CBChoisis = QtWidgets.QVBoxLayout(self.verticalWidgetLEChoisis)
- self.CBChoisis.setContentsMargins(0, 0, 0, 0)
- self.CBChoisis.setSpacing(0)
- self.CBChoisis.setObjectName("CBChoisis")
- spacerItem4 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.CBChoisis.addItem(spacerItem4)
- self.scrollAreaRE.setWidget(self.verticalWidgetLEChoisis)
- self.verticalLayout_2.addWidget(self.scrollAreaRE)
- self.verticalLayout_5.addLayout(self.verticalLayout_2)
- self.frame = QtWidgets.QFrame(WidgetPlusieursIntoOrdonne)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.frame.sizePolicy().hasHeightForWidth())
- self.frame.setSizePolicy(sizePolicy)
- self.frame.setFrameShape(QtWidgets.QFrame.Box)
- self.frame.setObjectName("frame")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout(self.frame)
- self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_4.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_4.setSpacing(0)
- self.horizontalLayout_4.setObjectName("horizontalLayout_4")
- self.RBHaut = QtWidgets.QToolButton(self.frame)
- self.RBHaut.setMinimumSize(QtCore.QSize(21, 31))
- self.RBHaut.setMaximumSize(QtCore.QSize(21, 31))
- self.RBHaut.setStyleSheet("border : 0px")
- icon = QtGui.QIcon.fromTheme("go-up")
- self.RBHaut.setIcon(icon)
- self.RBHaut.setIconSize(QtCore.QSize(32, 32))
- self.RBHaut.setObjectName("RBHaut")
- self.horizontalLayout_4.addWidget(self.RBHaut)
- self.RBBas = QtWidgets.QToolButton(self.frame)
- self.RBBas.setMinimumSize(QtCore.QSize(21, 31))
- self.RBBas.setMaximumSize(QtCore.QSize(21, 31))
- self.RBBas.setStyleSheet("border : 0px")
- icon = QtGui.QIcon.fromTheme("go-down")
- self.RBBas.setIcon(icon)
- self.RBBas.setIconSize(QtCore.QSize(32, 32))
- self.RBBas.setObjectName("RBBas")
- self.horizontalLayout_4.addWidget(self.RBBas)
- self.RBMoins = QtWidgets.QToolButton(self.frame)
- self.RBMoins.setMinimumSize(QtCore.QSize(21, 31))
- self.RBMoins.setMaximumSize(QtCore.QSize(21, 31))
- self.RBMoins.setStyleSheet("border : 0px")
- icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/MoinsBleu2.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBMoins.setIcon(icon2)
- self.RBMoins.setIconSize(QtCore.QSize(32, 32))
- self.RBMoins.setObjectName("RBMoins")
- self.horizontalLayout_4.addWidget(self.RBMoins)
- self.RBPlus = QtWidgets.QToolButton(self.frame)
- self.RBPlus.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPlus.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPlus.setStyleSheet("border : 0px")
- icon3 = QtGui.QIcon()
- icon3.addPixmap(QtGui.QPixmap("../Editeur/icons/PlusBleu.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPlus.setIcon(icon3)
- self.RBPlus.setIconSize(QtCore.QSize(32, 32))
- self.RBPlus.setObjectName("RBPlus")
- self.horizontalLayout_4.addWidget(self.RBPlus)
- self.horizontalLayout_3.addLayout(self.horizontalLayout_4)
- spacerItem5 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem5)
- self.RBVoisListe = QtWidgets.QToolButton(self.frame)
- self.RBVoisListe.setMinimumSize(QtCore.QSize(21, 31))
- self.RBVoisListe.setMaximumSize(QtCore.QSize(21, 31))
- self.RBVoisListe.setStyleSheet("border : 0px")
- icon4 = QtGui.QIcon()
- icon4.addPixmap(QtGui.QPixmap("../Editeur/icons/verre-loupe-icone-6087-64.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBVoisListe.setIcon(icon4)
- self.RBVoisListe.setIconSize(QtCore.QSize(32, 32))
- self.RBVoisListe.setObjectName("RBVoisListe")
- self.horizontalLayout_3.addWidget(self.RBVoisListe)
- spacerItem6 = QtWidgets.QSpacerItem(18, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem6)
- self.verticalLayout_5.addWidget(self.frame)
- self.horizontalLayout_2.addLayout(self.verticalLayout_5)
- spacerItem7 = QtWidgets.QSpacerItem(20, 17, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem7)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.RBPoubelle = QtWidgets.QToolButton(WidgetPlusieursIntoOrdonne)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon5 = QtGui.QIcon()
- icon5.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon5)
- self.RBPoubelle.setIconSize(QtCore.QSize(32, 32))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.verticalLayout.addWidget(self.RBPoubelle)
- spacerItem8 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem8)
- self.horizontalLayout_2.addLayout(self.verticalLayout)
- self.scrollArea.raise_()
-
- self.retranslateUi(WidgetPlusieursIntoOrdonne)
- QtCore.QMetaObject.connectSlotsByName(WidgetPlusieursIntoOrdonne)
-
- def retranslateUi(self, WidgetPlusieursIntoOrdonne):
- _translate = QtCore.QCoreApplication.translate
- WidgetPlusieursIntoOrdonne.setWindowTitle(_translate("WidgetPlusieursIntoOrdonne", "Form"))
- self.BFermeListe.setToolTip(_translate("WidgetPlusieursIntoOrdonne", "permet de gérer la liste"))
- self.BFermeListe.setText(_translate("WidgetPlusieursIntoOrdonne", "..."))
- self.RBValide.setToolTip(_translate("WidgetPlusieursIntoOrdonne", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetPlusieursIntoOrdonne", "..."))
- self.label.setText(_translate("WidgetPlusieursIntoOrdonne", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.monCommentaireLabel.setText(_translate("WidgetPlusieursIntoOrdonne", "TextLabel"))
- self.RBHaut.setToolTip(_translate("WidgetPlusieursIntoOrdonne", "Remonte d\'une ligne"))
- self.RBHaut.setText(_translate("WidgetPlusieursIntoOrdonne", "..."))
- self.RBBas.setToolTip(_translate("WidgetPlusieursIntoOrdonne", "Descend d\'une ligne"))
- self.RBBas.setText(_translate("WidgetPlusieursIntoOrdonne", "..."))
- self.RBMoins.setToolTip(_translate("WidgetPlusieursIntoOrdonne", "Détruit une ligne"))
- self.RBMoins.setText(_translate("WidgetPlusieursIntoOrdonne", "..."))
- self.RBPlus.setToolTip(_translate("WidgetPlusieursIntoOrdonne", "ajoute une ligne"))
- self.RBPlus.setText(_translate("WidgetPlusieursIntoOrdonne", "..."))
- self.RBVoisListe.setToolTip(_translate("WidgetPlusieursIntoOrdonne", "visualise l\'ensemble des valeurs"))
- self.RBVoisListe.setText(_translate("WidgetPlusieursIntoOrdonne", "..."))
- self.RBPoubelle.setToolTip(_translate("WidgetPlusieursIntoOrdonne", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetPlusieursIntoOrdonne", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetPlusieursIntoOrdonne = QtWidgets.QWidget()
- ui = Ui_WidgetPlusieursIntoOrdonne()
- ui.setupUi(WidgetPlusieursIntoOrdonne)
- WidgetPlusieursIntoOrdonne.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetPlusieursPlie.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetPlusieursPlie(object):
- def setupUi(self, WidgetPlusieursPlie):
- WidgetPlusieursPlie.setObjectName("WidgetPlusieursPlie")
- WidgetPlusieursPlie.resize(1095, 62)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetPlusieursPlie.sizePolicy().hasHeightForWidth())
- WidgetPlusieursPlie.setSizePolicy(sizePolicy)
- WidgetPlusieursPlie.setMinimumSize(QtCore.QSize(0, 0))
- self.horizontalLayout_4 = QtWidgets.QHBoxLayout(WidgetPlusieursPlie)
- self.horizontalLayout_4.setContentsMargins(0, 1, 0, 1)
- self.horizontalLayout_4.setSpacing(0)
- self.horizontalLayout_4.setObjectName("horizontalLayout_4")
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.BVisuListe = QtWidgets.QToolButton(WidgetPlusieursPlie)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.BVisuListe.sizePolicy().hasHeightForWidth())
- self.BVisuListe.setSizePolicy(sizePolicy)
- self.BVisuListe.setMaximumSize(QtCore.QSize(21, 25))
- self.BVisuListe.setStyleSheet("border:0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/plusnode.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.BVisuListe.setIcon(icon)
- self.BVisuListe.setIconSize(QtCore.QSize(25, 25))
- self.BVisuListe.setObjectName("BVisuListe")
- self.horizontalLayout.addWidget(self.BVisuListe)
- self.RBValide = MonBoutonValide(WidgetPlusieursPlie)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon1)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout.addLayout(self.horizontalLayout)
- spacerItem = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem)
- self.horizontalLayout_4.addLayout(self.verticalLayout)
- self.label = MonLabelClic(WidgetPlusieursPlie)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_4.addWidget(self.label)
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.lineEditVal = QtWidgets.QLineEdit(WidgetPlusieursPlie)
- self.lineEditVal.setEnabled(False)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(1)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal.sizePolicy().hasHeightForWidth())
- self.lineEditVal.setSizePolicy(sizePolicy)
- self.lineEditVal.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal.setStyleSheet("background:rgb(195,195,195);\n"
-"border:0px;\n"
-"")
- self.lineEditVal.setObjectName("lineEditVal")
- self.horizontalLayout_3.addWidget(self.lineEditVal)
- spacerItem1 = QtWidgets.QSpacerItem(71, 20, QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem1)
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- spacerItem2 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem2)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetPlusieursPlie)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.RBPoubelle.sizePolicy().hasHeightForWidth())
- self.RBPoubelle.setSizePolicy(sizePolicy)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon2)
- self.RBPoubelle.setIconSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout_2.addWidget(self.RBPoubelle)
- self.horizontalLayout_3.addLayout(self.horizontalLayout_2)
- self.verticalLayout_2.addLayout(self.horizontalLayout_3)
- spacerItem3 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem3)
- self.horizontalLayout_4.addLayout(self.verticalLayout_2)
-
- self.retranslateUi(WidgetPlusieursPlie)
- QtCore.QMetaObject.connectSlotsByName(WidgetPlusieursPlie)
- WidgetPlusieursPlie.setTabOrder(self.lineEditVal, self.RBPoubelle)
- WidgetPlusieursPlie.setTabOrder(self.RBPoubelle, self.RBValide)
-
- def retranslateUi(self, WidgetPlusieursPlie):
- _translate = QtCore.QCoreApplication.translate
- WidgetPlusieursPlie.setWindowTitle(_translate("WidgetPlusieursPlie", "Form"))
- self.BVisuListe.setToolTip(_translate("WidgetPlusieursPlie", "permet de gérer la liste"))
- self.BVisuListe.setText(_translate("WidgetPlusieursPlie", "..."))
- self.RBValide.setToolTip(_translate("WidgetPlusieursPlie", "Affiche le rapport de validité du mot-clef"))
- self.RBValide.setText(_translate("WidgetPlusieursPlie", "..."))
- self.label.setText(_translate("WidgetPlusieursPlie", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetPlusieursPlie", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetPlusieursPlie", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetPlusieursPlie = QtWidgets.QWidget()
- ui = Ui_WidgetPlusieursPlie()
- ui.setupUi(WidgetPlusieursPlie)
- WidgetPlusieursPlie.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetPlusieursTuple.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetPlusieursTuple(object):
- def setupUi(self, WidgetPlusieursTuple):
- WidgetPlusieursTuple.setObjectName("WidgetPlusieursTuple")
- WidgetPlusieursTuple.resize(612, 175)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.MinimumExpanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetPlusieursTuple.sizePolicy().hasHeightForWidth())
- WidgetPlusieursTuple.setSizePolicy(sizePolicy)
- WidgetPlusieursTuple.setMinimumSize(QtCore.QSize(0, 0))
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout(WidgetPlusieursTuple)
- self.horizontalLayout_2.setContentsMargins(0, 2, 0, 2)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.verticalLayout_5 = QtWidgets.QVBoxLayout()
- self.verticalLayout_5.setObjectName("verticalLayout_5")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetPlusieursTuple)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem1)
- self.verticalLayout_5.addLayout(self.verticalLayout_2)
- self.horizontalLayout_2.addLayout(self.verticalLayout_5)
- self.verticalLayout_6 = QtWidgets.QVBoxLayout()
- self.verticalLayout_6.setSpacing(0)
- self.verticalLayout_6.setObjectName("verticalLayout_6")
- self.label = MonLabelClic(WidgetPlusieursTuple)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.verticalLayout_6.addWidget(self.label)
- self.scrollArea_2 = QtWidgets.QScrollArea(WidgetPlusieursTuple)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollArea_2.sizePolicy().hasHeightForWidth())
- self.scrollArea_2.setSizePolicy(sizePolicy)
- self.scrollArea_2.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollArea_2.setFrameShadow(QtWidgets.QFrame.Plain)
- self.scrollArea_2.setWidgetResizable(True)
- self.scrollArea_2.setObjectName("scrollArea_2")
- self.scrollAreaWidgetContents = QtWidgets.QWidget()
- self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 112, 109))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollAreaWidgetContents.sizePolicy().hasHeightForWidth())
- self.scrollAreaWidgetContents.setSizePolicy(sizePolicy)
- self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
- self.verticalLayout_7 = QtWidgets.QVBoxLayout(self.scrollAreaWidgetContents)
- self.verticalLayout_7.setObjectName("verticalLayout_7")
- self.monCommentaireLabel = QtWidgets.QLabel(self.scrollAreaWidgetContents)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.monCommentaireLabel.sizePolicy().hasHeightForWidth())
- self.monCommentaireLabel.setSizePolicy(sizePolicy)
- self.monCommentaireLabel.setObjectName("monCommentaireLabel")
- self.verticalLayout_7.addWidget(self.monCommentaireLabel)
- self.scrollArea_2.setWidget(self.scrollAreaWidgetContents)
- self.verticalLayout_6.addWidget(self.scrollArea_2)
- self.horizontalLayout_2.addLayout(self.verticalLayout_6)
- self.verticalLayout_4 = QtWidgets.QVBoxLayout()
- self.verticalLayout_4.setObjectName("verticalLayout_4")
- self.frame = QtWidgets.QFrame(WidgetPlusieursTuple)
- self.frame.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.frame.setObjectName("frame")
- self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.frame)
- self.verticalLayout_3.setContentsMargins(0, -1, 0, -1)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.scrollArea = QtWidgets.QScrollArea(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Expanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
- self.scrollArea.setSizePolicy(sizePolicy)
- self.scrollArea.setStyleSheet("background : rgb(247,247,247)")
- self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollArea.setLineWidth(1)
- self.scrollArea.setWidgetResizable(True)
- self.scrollArea.setAlignment(QtCore.Qt.AlignBottom|QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft)
- self.scrollArea.setObjectName("scrollArea")
- self.verticalWidgetLE = QtWidgets.QWidget()
- self.verticalWidgetLE.setGeometry(QtCore.QRect(0, 0, 197, 110))
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.verticalWidgetLE.sizePolicy().hasHeightForWidth())
- self.verticalWidgetLE.setSizePolicy(sizePolicy)
- self.verticalWidgetLE.setObjectName("verticalWidgetLE")
- self.verticalLayoutLE = QtWidgets.QVBoxLayout(self.verticalWidgetLE)
- self.verticalLayoutLE.setContentsMargins(0, 0, 0, 0)
- self.verticalLayoutLE.setSpacing(0)
- self.verticalLayoutLE.setObjectName("verticalLayoutLE")
- spacerItem2 = QtWidgets.QSpacerItem(20, 13, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayoutLE.addItem(spacerItem2)
- self.scrollArea.setWidget(self.verticalWidgetLE)
- self.verticalLayout_3.addWidget(self.scrollArea)
- self.verticalLayout_4.addWidget(self.frame)
- self.frame1 = QtWidgets.QFrame(WidgetPlusieursTuple)
- self.frame1.setFrameShape(QtWidgets.QFrame.Box)
- self.frame1.setObjectName("frame1")
- self.horizontalLayout_6 = QtWidgets.QHBoxLayout(self.frame1)
- self.horizontalLayout_6.setContentsMargins(0, 0, 0, 0)
- self.horizontalLayout_6.setObjectName("horizontalLayout_6")
- self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_5.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_5.setSpacing(0)
- self.horizontalLayout_5.setObjectName("horizontalLayout_5")
- self.RBHaut = QtWidgets.QToolButton(self.frame1)
- self.RBHaut.setMinimumSize(QtCore.QSize(21, 31))
- self.RBHaut.setMaximumSize(QtCore.QSize(21, 31))
- self.RBHaut.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBHaut.setStyleSheet("border : 0px")
- icon = QtGui.QIcon.fromTheme("go-up")
- self.RBHaut.setIcon(icon)
- self.RBHaut.setIconSize(QtCore.QSize(32, 32))
- self.RBHaut.setObjectName("RBHaut")
- self.horizontalLayout_5.addWidget(self.RBHaut)
- self.RBBas = QtWidgets.QToolButton(self.frame1)
- self.RBBas.setMinimumSize(QtCore.QSize(21, 31))
- self.RBBas.setMaximumSize(QtCore.QSize(21, 31))
- self.RBBas.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBBas.setStyleSheet("border : 0px")
- icon = QtGui.QIcon.fromTheme("go-down")
- self.RBBas.setIcon(icon)
- self.RBBas.setIconSize(QtCore.QSize(32, 32))
- self.RBBas.setObjectName("RBBas")
- self.horizontalLayout_5.addWidget(self.RBBas)
- self.RBMoins = QtWidgets.QToolButton(self.frame1)
- self.RBMoins.setMinimumSize(QtCore.QSize(21, 31))
- self.RBMoins.setMaximumSize(QtCore.QSize(21, 31))
- self.RBMoins.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBMoins.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/MoinsBleu2.png"), QtGui.QIcon.Normal, QtGui.QIcon.On)
- self.RBMoins.setIcon(icon1)
- self.RBMoins.setIconSize(QtCore.QSize(32, 32))
- self.RBMoins.setObjectName("RBMoins")
- self.horizontalLayout_5.addWidget(self.RBMoins)
- self.RBPlus = QtWidgets.QToolButton(self.frame1)
- self.RBPlus.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPlus.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPlus.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPlus.setStyleSheet("border : 0px")
- icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/PlusBleu.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPlus.setIcon(icon2)
- self.RBPlus.setIconSize(QtCore.QSize(32, 32))
- self.RBPlus.setObjectName("RBPlus")
- self.horizontalLayout_5.addWidget(self.RBPlus)
- self.horizontalLayout_6.addLayout(self.horizontalLayout_5)
- spacerItem3 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_6.addItem(spacerItem3)
- self.RBVoisListe = QtWidgets.QToolButton(self.frame1)
- self.RBVoisListe.setMinimumSize(QtCore.QSize(21, 31))
- self.RBVoisListe.setMaximumSize(QtCore.QSize(21, 31))
- self.RBVoisListe.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBVoisListe.setStyleSheet("border : 0px")
- icon3 = QtGui.QIcon()
- icon3.addPixmap(QtGui.QPixmap("../Editeur/icons/verre-loupe-icone-6087-64.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBVoisListe.setIcon(icon3)
- self.RBVoisListe.setIconSize(QtCore.QSize(32, 32))
- self.RBVoisListe.setObjectName("RBVoisListe")
- self.horizontalLayout_6.addWidget(self.RBVoisListe)
- self.verticalLayout_4.addWidget(self.frame1)
- self.horizontalLayout_2.addLayout(self.verticalLayout_4)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.BSelectFichier = QtWidgets.QToolButton(WidgetPlusieursTuple)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.BSelectFichier.sizePolicy().hasHeightForWidth())
- self.BSelectFichier.setSizePolicy(sizePolicy)
- self.BSelectFichier.setMaximumSize(QtCore.QSize(25, 30))
- self.BSelectFichier.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.BSelectFichier.setStyleSheet("border:0px")
- icon = QtGui.QIcon.fromTheme("text-x-generic")
- self.BSelectFichier.setIcon(icon)
- self.BSelectFichier.setIconSize(QtCore.QSize(32, 32))
- self.BSelectFichier.setObjectName("BSelectFichier")
- self.horizontalLayout_3.addWidget(self.BSelectFichier)
- spacerItem4 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem4)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetPlusieursTuple)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon4 = QtGui.QIcon()
- icon4.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon4)
- self.RBPoubelle.setIconSize(QtCore.QSize(32, 32))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout_3.addWidget(self.RBPoubelle)
- self.verticalLayout.addLayout(self.horizontalLayout_3)
- spacerItem5 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem5)
- self.horizontalLayout_2.addLayout(self.verticalLayout)
-
- self.retranslateUi(WidgetPlusieursTuple)
- QtCore.QMetaObject.connectSlotsByName(WidgetPlusieursTuple)
-
- def retranslateUi(self, WidgetPlusieursTuple):
- _translate = QtCore.QCoreApplication.translate
- WidgetPlusieursTuple.setWindowTitle(_translate("WidgetPlusieursTuple", "Form"))
- self.RBValide.setToolTip(_translate("WidgetPlusieursTuple", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetPlusieursTuple", "..."))
- self.label.setText(_translate("WidgetPlusieursTuple", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.monCommentaireLabel.setText(_translate("WidgetPlusieursTuple", "TextLabel"))
- self.RBHaut.setToolTip(_translate("WidgetPlusieursTuple", "Remonte la ligne"))
- self.RBHaut.setText(_translate("WidgetPlusieursTuple", "..."))
- self.RBBas.setToolTip(_translate("WidgetPlusieursTuple", "Descend la ligne"))
- self.RBBas.setText(_translate("WidgetPlusieursTuple", "..."))
- self.RBMoins.setToolTip(_translate("WidgetPlusieursTuple", "supprime une ligne"))
- self.RBMoins.setText(_translate("WidgetPlusieursTuple", "..."))
- self.RBPlus.setToolTip(_translate("WidgetPlusieursTuple", "Ajoute une ligne"))
- self.RBPlus.setText(_translate("WidgetPlusieursTuple", "..."))
- self.RBVoisListe.setToolTip(_translate("WidgetPlusieursTuple", "Montre l\'ensemble des valeurs"))
- self.RBVoisListe.setText(_translate("WidgetPlusieursTuple", "..."))
- self.BSelectFichier.setToolTip(_translate("WidgetPlusieursTuple", "Ouvre un fichier de sélection des valeurs"))
- self.BSelectFichier.setText(_translate("WidgetPlusieursTuple", "..."))
- self.RBPoubelle.setToolTip(_translate("WidgetPlusieursTuple", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetPlusieursTuple", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetPlusieursTuple = QtWidgets.QWidget()
- ui = Ui_WidgetPlusieursTuple()
- ui.setupUi(WidgetPlusieursTuple)
- WidgetPlusieursTuple.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetRadioButton.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetRadioButton(object):
- def setupUi(self, WidgetRadioButton):
- WidgetRadioButton.setObjectName("WidgetRadioButton")
- WidgetRadioButton.resize(851, 62)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetRadioButton.sizePolicy().hasHeightForWidth())
- WidgetRadioButton.setSizePolicy(sizePolicy)
- WidgetRadioButton.setMinimumSize(QtCore.QSize(0, 0))
- WidgetRadioButton.setMaximumSize(QtCore.QSize(16777215, 16777215))
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout(WidgetRadioButton)
- self.horizontalLayout_3.setContentsMargins(0, 1, 0, 1)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetRadioButton)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem1)
- self.horizontalLayout_3.addLayout(self.verticalLayout_2)
- self.label = MonLabelClic(WidgetRadioButton)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_3.addWidget(self.label)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setSpacing(0)
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.radioButton_1 = QtWidgets.QRadioButton(WidgetRadioButton)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.radioButton_1.sizePolicy().hasHeightForWidth())
- self.radioButton_1.setSizePolicy(sizePolicy)
- self.radioButton_1.setMinimumSize(QtCore.QSize(0, 25))
- self.radioButton_1.setObjectName("radioButton_1")
- self.horizontalLayout_2.addWidget(self.radioButton_1)
- spacerItem2 = QtWidgets.QSpacerItem(2, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem2)
- self.radioButton_2 = QtWidgets.QRadioButton(WidgetRadioButton)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.radioButton_2.sizePolicy().hasHeightForWidth())
- self.radioButton_2.setSizePolicy(sizePolicy)
- self.radioButton_2.setObjectName("radioButton_2")
- self.horizontalLayout_2.addWidget(self.radioButton_2)
- spacerItem3 = QtWidgets.QSpacerItem(2, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem3)
- self.radioButton_3 = QtWidgets.QRadioButton(WidgetRadioButton)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.radioButton_3.sizePolicy().hasHeightForWidth())
- self.radioButton_3.setSizePolicy(sizePolicy)
- self.radioButton_3.setObjectName("radioButton_3")
- self.horizontalLayout_2.addWidget(self.radioButton_3)
- spacerItem4 = QtWidgets.QSpacerItem(5, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem4)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetRadioButton)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout_2.addWidget(self.RBPoubelle)
- self.verticalLayout.addLayout(self.horizontalLayout_2)
- spacerItem5 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem5)
- self.horizontalLayout_3.addLayout(self.verticalLayout)
-
- self.retranslateUi(WidgetRadioButton)
- QtCore.QMetaObject.connectSlotsByName(WidgetRadioButton)
-
- def retranslateUi(self, WidgetRadioButton):
- _translate = QtCore.QCoreApplication.translate
- WidgetRadioButton.setWindowTitle(_translate("WidgetRadioButton", "Form"))
- self.RBValide.setToolTip(_translate("WidgetRadioButton", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetRadioButton", "..."))
- self.label.setText(_translate("WidgetRadioButton", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.radioButton_1.setText(_translate("WidgetRadioButton", "RadioButton"))
- self.radioButton_2.setText(_translate("WidgetRadioButton", "RadioButton"))
- self.radioButton_3.setText(_translate("WidgetRadioButton", "RadioButton"))
- self.RBPoubelle.setToolTip(_translate("WidgetRadioButton", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetRadioButton", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetRadioButton = QtWidgets.QWidget()
- ui = Ui_WidgetRadioButton()
- ui.setupUi(WidgetRadioButton)
- WidgetRadioButton.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetSDCOInto.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetSDCOInto(object):
- def setupUi(self, WidgetSDCOInto):
- WidgetSDCOInto.setObjectName("WidgetSDCOInto")
- WidgetSDCOInto.resize(858, 312)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetSDCOInto.sizePolicy().hasHeightForWidth())
- WidgetSDCOInto.setSizePolicy(sizePolicy)
- WidgetSDCOInto.setMinimumSize(QtCore.QSize(0, 0))
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout(WidgetSDCOInto)
- self.horizontalLayout_2.setContentsMargins(0, 1, 0, 1)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetSDCOInto)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem1)
- self.horizontalLayout_2.addLayout(self.verticalLayout_2)
- self.label = MonLabelClic(WidgetSDCOInto)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_2.addWidget(self.label)
- self.frame = QtWidgets.QFrame(WidgetSDCOInto)
- self.frame.setFrameShape(QtWidgets.QFrame.Box)
- self.frame.setObjectName("frame")
- self.verticalLayout_3 = QtWidgets.QVBoxLayout(self.frame)
- self.verticalLayout_3.setSpacing(0)
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.textLabel2 = QtWidgets.QLabel(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.textLabel2.sizePolicy().hasHeightForWidth())
- self.textLabel2.setSizePolicy(sizePolicy)
- self.textLabel2.setMaximumSize(QtCore.QSize(16777215, 31))
- self.textLabel2.setWordWrap(False)
- self.textLabel2.setObjectName("textLabel2")
- self.verticalLayout_3.addWidget(self.textLabel2)
- self.scrollArea = QtWidgets.QScrollArea(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.scrollArea.sizePolicy().hasHeightForWidth())
- self.scrollArea.setSizePolicy(sizePolicy)
- self.scrollArea.setMaximumSize(QtCore.QSize(16777215, 200))
- self.scrollArea.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.scrollArea.setWidgetResizable(True)
- self.scrollArea.setObjectName("scrollArea")
- self.scrollAreaWidgetContents = QtWidgets.QWidget()
- self.scrollAreaWidgetContents.setGeometry(QtCore.QRect(0, 0, 462, 200))
- self.scrollAreaWidgetContents.setObjectName("scrollAreaWidgetContents")
- self.gridLayout = QtWidgets.QGridLayout(self.scrollAreaWidgetContents)
- self.gridLayout.setObjectName("gridLayout")
- self.LBSDCO = QtWidgets.QListWidget(self.scrollAreaWidgetContents)
- self.LBSDCO.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.LBSDCO.setObjectName("LBSDCO")
- self.gridLayout.addWidget(self.LBSDCO, 0, 0, 1, 1)
- self.scrollArea.setWidget(self.scrollAreaWidgetContents)
- self.verticalLayout_3.addWidget(self.scrollArea)
- self.label_3 = QtWidgets.QLabel(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
- self.label_3.setSizePolicy(sizePolicy)
- self.label_3.setObjectName("label_3")
- self.verticalLayout_3.addWidget(self.label_3)
- self.LESDCO = QtWidgets.QLineEdit(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.LESDCO.sizePolicy().hasHeightForWidth())
- self.LESDCO.setSizePolicy(sizePolicy)
- self.LESDCO.setMinimumSize(QtCore.QSize(0, 25))
- self.LESDCO.setMaximumSize(QtCore.QSize(805, 31))
- self.LESDCO.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.LESDCO.setObjectName("LESDCO")
- self.verticalLayout_3.addWidget(self.LESDCO)
- self.horizontalLayout_2.addWidget(self.frame)
- spacerItem2 = QtWidgets.QSpacerItem(20, 17, QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem2)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.RBPoubelle = QtWidgets.QToolButton(WidgetSDCOInto)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(32, 32))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.verticalLayout.addWidget(self.RBPoubelle)
- spacerItem3 = QtWidgets.QSpacerItem(20, 40, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem3)
- self.horizontalLayout_2.addLayout(self.verticalLayout)
-
- self.retranslateUi(WidgetSDCOInto)
- QtCore.QMetaObject.connectSlotsByName(WidgetSDCOInto)
-
- def retranslateUi(self, WidgetSDCOInto):
- _translate = QtCore.QCoreApplication.translate
- WidgetSDCOInto.setWindowTitle(_translate("WidgetSDCOInto", "Form"))
- self.RBValide.setToolTip(_translate("WidgetSDCOInto", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetSDCOInto", "..."))
- self.label.setText(_translate("WidgetSDCOInto", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.textLabel2.setText(_translate("WidgetSDCOInto", "<html><head/><body><p>Structures de données du type requis </p><p><br/></p></body></html>"))
- self.label_3.setText(_translate("WidgetSDCOInto", "<html><head/><body><p>ou Nom du concept</p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetSDCOInto", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetSDCOInto", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetSDCOInto = QtWidgets.QWidget()
- ui = Ui_WidgetSDCOInto()
- ui.setupUi(WidgetSDCOInto)
- WidgetSDCOInto.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetSimpBase.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetSimpBase(object):
- def setupUi(self, WidgetSimpBase):
- WidgetSimpBase.setObjectName("WidgetSimpBase")
- WidgetSimpBase.resize(743, 60)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetSimpBase.sizePolicy().hasHeightForWidth())
- WidgetSimpBase.setSizePolicy(sizePolicy)
- WidgetSimpBase.setMinimumSize(QtCore.QSize(0, 0))
- WidgetSimpBase.setMaximumSize(QtCore.QSize(1677721, 60))
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout(WidgetSimpBase)
- self.horizontalLayout_3.setContentsMargins(0, 1, 0, 1)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetSimpBase)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem1)
- self.horizontalLayout_3.addLayout(self.verticalLayout_2)
- self.label = MonLabelClic(WidgetSimpBase)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_3.addWidget(self.label)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setSpacing(0)
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.lineEditVal = QtWidgets.QLineEdit(WidgetSimpBase)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal.sizePolicy().hasHeightForWidth())
- self.lineEditVal.setSizePolicy(sizePolicy)
- self.lineEditVal.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal.setObjectName("lineEditVal")
- self.horizontalLayout_2.addWidget(self.lineEditVal)
- spacerItem2 = QtWidgets.QSpacerItem(3, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem2)
- spacerItem3 = QtWidgets.QSpacerItem(58, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem3)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetSimpBase)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout_2.addWidget(self.RBPoubelle)
- self.verticalLayout.addLayout(self.horizontalLayout_2)
- spacerItem4 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem4)
- self.horizontalLayout_3.addLayout(self.verticalLayout)
-
- self.retranslateUi(WidgetSimpBase)
- QtCore.QMetaObject.connectSlotsByName(WidgetSimpBase)
-
- def retranslateUi(self, WidgetSimpBase):
- _translate = QtCore.QCoreApplication.translate
- WidgetSimpBase.setWindowTitle(_translate("WidgetSimpBase", "Form"))
- self.RBValide.setToolTip(_translate("WidgetSimpBase", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetSimpBase", "..."))
- self.label.setText(_translate("WidgetSimpBase", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetSimpBase", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetSimpBase", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetSimpBase = QtWidgets.QWidget()
- ui = Ui_WidgetSimpBase()
- ui.setupUi(WidgetSimpBase)
- WidgetSimpBase.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetSimpBool.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetSimpBool(object):
- def setupUi(self, WidgetSimpBool):
- WidgetSimpBool.setObjectName("WidgetSimpBool")
- WidgetSimpBool.resize(1065, 62)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetSimpBool.sizePolicy().hasHeightForWidth())
- WidgetSimpBool.setSizePolicy(sizePolicy)
- WidgetSimpBool.setMinimumSize(QtCore.QSize(0, 0))
- WidgetSimpBool.setMaximumSize(QtCore.QSize(1493, 85))
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout(WidgetSimpBool)
- self.horizontalLayout_3.setContentsMargins(0, 0, 0, 0)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetSimpBool)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout_2.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout_2)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem1)
- self.horizontalLayout_3.addLayout(self.verticalLayout_2)
- self.label = MonLabelClic(WidgetSimpBool)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_3.addWidget(self.label)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.RBTrue = QtWidgets.QRadioButton(WidgetSimpBool)
- self.RBTrue.setObjectName("RBTrue")
- self.horizontalLayout.addWidget(self.RBTrue)
- spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem2)
- self.RBFalse = QtWidgets.QRadioButton(WidgetSimpBool)
- self.RBFalse.setObjectName("RBFalse")
- self.horizontalLayout.addWidget(self.RBFalse)
- spacerItem3 = QtWidgets.QSpacerItem(50, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem3)
- self.verticalLayout.addLayout(self.horizontalLayout)
- spacerItem4 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem4)
- self.horizontalLayout_3.addLayout(self.verticalLayout)
- self.verticalLayout_3 = QtWidgets.QVBoxLayout()
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.RBPoubelle = QtWidgets.QToolButton(WidgetSimpBool)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.RBPoubelle.sizePolicy().hasHeightForWidth())
- self.RBPoubelle.setSizePolicy(sizePolicy)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.verticalLayout_3.addWidget(self.RBPoubelle)
- spacerItem5 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_3.addItem(spacerItem5)
- self.horizontalLayout_3.addLayout(self.verticalLayout_3)
-
- self.retranslateUi(WidgetSimpBool)
- QtCore.QMetaObject.connectSlotsByName(WidgetSimpBool)
-
- def retranslateUi(self, WidgetSimpBool):
- _translate = QtCore.QCoreApplication.translate
- WidgetSimpBool.setWindowTitle(_translate("WidgetSimpBool", "Form"))
- self.RBValide.setToolTip(_translate("WidgetSimpBool", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetSimpBool", "..."))
- self.label.setText(_translate("WidgetSimpBool", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.RBTrue.setText(_translate("WidgetSimpBool", "True"))
- self.RBFalse.setText(_translate("WidgetSimpBool", "False"))
- self.RBPoubelle.setToolTip(_translate("WidgetSimpBool", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetSimpBool", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetSimpBool = QtWidgets.QWidget()
- ui = Ui_WidgetSimpBool()
- ui.setupUi(WidgetSimpBool)
- WidgetSimpBool.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetSimpComplexe.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetSimpComplexe(object):
- def setupUi(self, WidgetSimpComplexe):
- WidgetSimpComplexe.setObjectName("WidgetSimpComplexe")
- WidgetSimpComplexe.resize(1242, 87)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetSimpComplexe.sizePolicy().hasHeightForWidth())
- WidgetSimpComplexe.setSizePolicy(sizePolicy)
- WidgetSimpComplexe.setMinimumSize(QtCore.QSize(940, 0))
- WidgetSimpComplexe.setMaximumSize(QtCore.QSize(1493, 1400))
- WidgetSimpComplexe.setStyleSheet("QLineEdit {\n"
-"background:rgb(235,235,235);\n"
-"border:0px;\n"
-"}")
- self.horizontalLayout_5 = QtWidgets.QHBoxLayout(WidgetSimpComplexe)
- self.horizontalLayout_5.setContentsMargins(0, 1, 0, 1)
- self.horizontalLayout_5.setSpacing(0)
- self.horizontalLayout_5.setObjectName("horizontalLayout_5")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetSimpComplexe)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem1)
- self.horizontalLayout_5.addLayout(self.verticalLayout_2)
- self.label = MonLabelClic(WidgetSimpComplexe)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_5.addWidget(self.label)
- self.frame = QtWidgets.QFrame(WidgetSimpComplexe)
- self.frame.setFrameShape(QtWidgets.QFrame.Box)
- self.frame.setObjectName("frame")
- self.gridLayout = QtWidgets.QGridLayout(self.frame)
- self.gridLayout.setObjectName("gridLayout")
- self.horizontalLayout_4 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_4.setObjectName("horizontalLayout_4")
- self.label_2 = QtWidgets.QLabel(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label_2.sizePolicy().hasHeightForWidth())
- self.label_2.setSizePolicy(sizePolicy)
- self.label_2.setMinimumSize(QtCore.QSize(0, 29))
- self.label_2.setMaximumSize(QtCore.QSize(16777215, 29))
- self.label_2.setObjectName("label_2")
- self.horizontalLayout_4.addWidget(self.label_2)
- spacerItem2 = QtWidgets.QSpacerItem(19, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_4.addItem(spacerItem2)
- self.gridLayout.addLayout(self.horizontalLayout_4, 0, 0, 1, 1)
- self.LEComp = QtWidgets.QLineEdit(self.frame)
- self.LEComp.setFrame(False)
- self.LEComp.setObjectName("LEComp")
- self.gridLayout.addWidget(self.LEComp, 1, 0, 1, 1)
- self.label_3 = QtWidgets.QLabel(self.frame)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label_3.sizePolicy().hasHeightForWidth())
- self.label_3.setSizePolicy(sizePolicy)
- self.label_3.setMaximumSize(QtCore.QSize(50, 24))
- self.label_3.setObjectName("label_3")
- self.gridLayout.addWidget(self.label_3, 0, 1, 1, 1)
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setContentsMargins(4, -1, 0, -1)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.RBRI = QtWidgets.QRadioButton(self.frame)
- self.RBRI.setObjectName("RBRI")
- self.horizontalLayout_2.addWidget(self.RBRI)
- self.RBMP = QtWidgets.QRadioButton(self.frame)
- self.RBMP.setObjectName("RBMP")
- self.horizontalLayout_2.addWidget(self.RBMP)
- self.gridLayout.addLayout(self.horizontalLayout_2, 0, 2, 1, 1)
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.LEReel = QtWidgets.QLineEdit(self.frame)
- self.LEReel.setFrame(False)
- self.LEReel.setObjectName("LEReel")
- self.horizontalLayout_3.addWidget(self.LEReel)
- spacerItem3 = QtWidgets.QSpacerItem(5, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem3)
- self.LEImag = QtWidgets.QLineEdit(self.frame)
- self.LEImag.setFrame(False)
- self.LEImag.setObjectName("LEImag")
- self.horizontalLayout_3.addWidget(self.LEImag)
- self.gridLayout.addLayout(self.horizontalLayout_3, 1, 2, 1, 1)
- spacerItem4 = QtWidgets.QSpacerItem(17, 20, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.gridLayout.addItem(spacerItem4, 1, 1, 1, 1)
- self.horizontalLayout_5.addWidget(self.frame)
- self.verticalLayout_3 = QtWidgets.QVBoxLayout()
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.RBPoubelle = QtWidgets.QToolButton(WidgetSimpComplexe)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(32, 32))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.verticalLayout_3.addWidget(self.RBPoubelle)
- spacerItem5 = QtWidgets.QSpacerItem(18, 47, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_3.addItem(spacerItem5)
- self.horizontalLayout_5.addLayout(self.verticalLayout_3)
-
- self.retranslateUi(WidgetSimpComplexe)
- QtCore.QMetaObject.connectSlotsByName(WidgetSimpComplexe)
- WidgetSimpComplexe.setTabOrder(self.LEComp, self.RBRI)
- WidgetSimpComplexe.setTabOrder(self.RBRI, self.RBMP)
- WidgetSimpComplexe.setTabOrder(self.RBMP, self.RBPoubelle)
-
- def retranslateUi(self, WidgetSimpComplexe):
- _translate = QtCore.QCoreApplication.translate
- WidgetSimpComplexe.setWindowTitle(_translate("WidgetSimpComplexe", "Form"))
- self.RBValide.setToolTip(_translate("WidgetSimpComplexe", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetSimpComplexe", "..."))
- self.label.setText(_translate("WidgetSimpComplexe", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.label_2.setText(_translate("WidgetSimpComplexe", "Complexe : a+bj"))
- self.label_3.setText(_translate("WidgetSimpComplexe", "<html><head/><body><p align=\"center\">OU </p></body></html>"))
- self.RBRI.setText(_translate("WidgetSimpComplexe", "Réel/Imaginaire"))
- self.RBMP.setText(_translate("WidgetSimpComplexe", "Module/Phase"))
- self.RBPoubelle.setText(_translate("WidgetSimpComplexe", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetSimpComplexe = QtWidgets.QWidget()
- ui = Ui_WidgetSimpComplexe()
- ui.setupUi(WidgetSimpComplexe)
- WidgetSimpComplexe.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetSimpFichier.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetSimpFichier(object):
- def setupUi(self, WidgetSimpFichier):
- WidgetSimpFichier.setObjectName("WidgetSimpFichier")
- WidgetSimpFichier.resize(1095, 62)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetSimpFichier.sizePolicy().hasHeightForWidth())
- WidgetSimpFichier.setSizePolicy(sizePolicy)
- WidgetSimpFichier.setMinimumSize(QtCore.QSize(0, 0))
- self.horizontalLayout_4 = QtWidgets.QHBoxLayout(WidgetSimpFichier)
- self.horizontalLayout_4.setContentsMargins(0, 1, 0, 1)
- self.horizontalLayout_4.setSpacing(0)
- self.horizontalLayout_4.setObjectName("horizontalLayout_4")
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetSimpFichier)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout.addLayout(self.horizontalLayout)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem1)
- self.horizontalLayout_4.addLayout(self.verticalLayout)
- self.label = MonLabelClic(WidgetSimpFichier)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_4.addWidget(self.label)
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.lineEditVal = QtWidgets.QLineEdit(WidgetSimpFichier)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(1)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal.sizePolicy().hasHeightForWidth())
- self.lineEditVal.setSizePolicy(sizePolicy)
- self.lineEditVal.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal.setObjectName("lineEditVal")
- self.horizontalLayout_3.addWidget(self.lineEditVal)
- spacerItem2 = QtWidgets.QSpacerItem(71, 20, QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem2)
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.BFichier = QtWidgets.QToolButton(WidgetSimpFichier)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.BFichier.sizePolicy().hasHeightForWidth())
- self.BFichier.setSizePolicy(sizePolicy)
- self.BFichier.setMaximumSize(QtCore.QSize(25, 25))
- self.BFichier.setStyleSheet("border : 0px")
- icon = QtGui.QIcon.fromTheme("system-file-manager")
- self.BFichier.setIcon(icon)
- self.BFichier.setIconSize(QtCore.QSize(25, 25))
- self.BFichier.setObjectName("BFichier")
- self.horizontalLayout_2.addWidget(self.BFichier)
- self.BVisuFichier = QtWidgets.QToolButton(WidgetSimpFichier)
- self.BVisuFichier.setMaximumSize(QtCore.QSize(25, 25))
- self.BVisuFichier.setStyleSheet("border:0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/visuFichier.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.BVisuFichier.setIcon(icon1)
- self.BVisuFichier.setIconSize(QtCore.QSize(25, 25))
- self.BVisuFichier.setObjectName("BVisuFichier")
- self.horizontalLayout_2.addWidget(self.BVisuFichier)
- spacerItem3 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem3)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetSimpFichier)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.RBPoubelle.sizePolicy().hasHeightForWidth())
- self.RBPoubelle.setSizePolicy(sizePolicy)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon2)
- self.RBPoubelle.setIconSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout_2.addWidget(self.RBPoubelle)
- self.horizontalLayout_3.addLayout(self.horizontalLayout_2)
- self.verticalLayout_2.addLayout(self.horizontalLayout_3)
- spacerItem4 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem4)
- self.horizontalLayout_4.addLayout(self.verticalLayout_2)
-
- self.retranslateUi(WidgetSimpFichier)
- QtCore.QMetaObject.connectSlotsByName(WidgetSimpFichier)
- WidgetSimpFichier.setTabOrder(self.lineEditVal, self.BFichier)
- WidgetSimpFichier.setTabOrder(self.BFichier, self.BVisuFichier)
- WidgetSimpFichier.setTabOrder(self.BVisuFichier, self.RBPoubelle)
- WidgetSimpFichier.setTabOrder(self.RBPoubelle, self.RBValide)
-
- def retranslateUi(self, WidgetSimpFichier):
- _translate = QtCore.QCoreApplication.translate
- WidgetSimpFichier.setWindowTitle(_translate("WidgetSimpFichier", "Form"))
- self.RBValide.setToolTip(_translate("WidgetSimpFichier", "Affiche le rapport de validité du mot-clef"))
- self.RBValide.setText(_translate("WidgetSimpFichier", "..."))
- self.label.setText(_translate("WidgetSimpFichier", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.BFichier.setToolTip(_translate("WidgetSimpFichier", "affiche l\'explorateur de fichier"))
- self.BFichier.setText(_translate("WidgetSimpFichier", "..."))
- self.BVisuFichier.setToolTip(_translate("WidgetSimpFichier", "ouvre le fichier choisi"))
- self.BVisuFichier.setText(_translate("WidgetSimpFichier", "..."))
- self.RBPoubelle.setToolTip(_translate("WidgetSimpFichier", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetSimpFichier", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetSimpFichier = QtWidgets.QWidget()
- ui = Ui_WidgetSimpFichier()
- ui.setupUi(WidgetSimpFichier)
- WidgetSimpFichier.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetSimpSalome.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetSimpSalome(object):
- def setupUi(self, WidgetSimpSalome):
- WidgetSimpSalome.setObjectName("WidgetSimpSalome")
- WidgetSimpSalome.resize(1095, 62)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetSimpSalome.sizePolicy().hasHeightForWidth())
- WidgetSimpSalome.setSizePolicy(sizePolicy)
- WidgetSimpSalome.setMinimumSize(QtCore.QSize(0, 0))
- self.horizontalLayout_4 = QtWidgets.QHBoxLayout(WidgetSimpSalome)
- self.horizontalLayout_4.setContentsMargins(0, 1, 0, 1)
- self.horizontalLayout_4.setSpacing(0)
- self.horizontalLayout_4.setObjectName("horizontalLayout_4")
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetSimpSalome)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout.addLayout(self.horizontalLayout)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem1)
- self.horizontalLayout_4.addLayout(self.verticalLayout)
- self.label = MonLabelClic(WidgetSimpSalome)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_4.addWidget(self.label)
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.lineEditVal = QtWidgets.QLineEdit(WidgetSimpSalome)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(1)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal.sizePolicy().hasHeightForWidth())
- self.lineEditVal.setSizePolicy(sizePolicy)
- self.lineEditVal.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal.setObjectName("lineEditVal")
- self.horizontalLayout_3.addWidget(self.lineEditVal)
- spacerItem2 = QtWidgets.QSpacerItem(71, 20, QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem2)
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.RBSalome = QtWidgets.QToolButton(WidgetSimpSalome)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.RBSalome.sizePolicy().hasHeightForWidth())
- self.RBSalome.setSizePolicy(sizePolicy)
- self.RBSalome.setMaximumSize(QtCore.QSize(25, 25))
- self.RBSalome.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/flecheSalome.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBSalome.setIcon(icon1)
- self.RBSalome.setIconSize(QtCore.QSize(25, 25))
- self.RBSalome.setObjectName("RBSalome")
- self.horizontalLayout_2.addWidget(self.RBSalome)
- self.RBSalomeVue = QtWidgets.QToolButton(WidgetSimpSalome)
- self.RBSalomeVue.setMaximumSize(QtCore.QSize(25, 25))
- self.RBSalomeVue.setStyleSheet("border:0px")
- icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/eye.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBSalomeVue.setIcon(icon2)
- self.RBSalomeVue.setIconSize(QtCore.QSize(25, 25))
- self.RBSalomeVue.setObjectName("RBSalomeVue")
- self.horizontalLayout_2.addWidget(self.RBSalomeVue)
- spacerItem3 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem3)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetSimpSalome)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.RBPoubelle.sizePolicy().hasHeightForWidth())
- self.RBPoubelle.setSizePolicy(sizePolicy)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon3 = QtGui.QIcon()
- icon3.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon3)
- self.RBPoubelle.setIconSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout_2.addWidget(self.RBPoubelle)
- self.horizontalLayout_3.addLayout(self.horizontalLayout_2)
- self.verticalLayout_2.addLayout(self.horizontalLayout_3)
- spacerItem4 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem4)
- self.horizontalLayout_4.addLayout(self.verticalLayout_2)
-
- self.retranslateUi(WidgetSimpSalome)
- QtCore.QMetaObject.connectSlotsByName(WidgetSimpSalome)
- WidgetSimpSalome.setTabOrder(self.lineEditVal, self.RBSalome)
- WidgetSimpSalome.setTabOrder(self.RBSalome, self.RBSalomeVue)
- WidgetSimpSalome.setTabOrder(self.RBSalomeVue, self.RBPoubelle)
- WidgetSimpSalome.setTabOrder(self.RBPoubelle, self.RBValide)
-
- def retranslateUi(self, WidgetSimpSalome):
- _translate = QtCore.QCoreApplication.translate
- WidgetSimpSalome.setWindowTitle(_translate("WidgetSimpSalome", "Form"))
- self.RBValide.setToolTip(_translate("WidgetSimpSalome", "Affiche le rapport de validité du mot-clef"))
- self.RBValide.setText(_translate("WidgetSimpSalome", "..."))
- self.label.setText(_translate("WidgetSimpSalome", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.RBSalome.setToolTip(_translate("WidgetSimpSalome", "affiche l\'explorateur de fichier"))
- self.RBSalome.setText(_translate("WidgetSimpSalome", "..."))
- self.RBSalomeVue.setToolTip(_translate("WidgetSimpSalome", "ouvre le fichier choisi"))
- self.RBSalomeVue.setText(_translate("WidgetSimpSalome", "..."))
- self.RBPoubelle.setToolTip(_translate("WidgetSimpSalome", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetSimpSalome", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetSimpSalome = QtWidgets.QWidget()
- ui = Ui_WidgetSimpSalome()
- ui.setupUi(WidgetSimpSalome)
- WidgetSimpSalome.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetSimpTxt.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetSimpTxt(object):
- def setupUi(self, WidgetSimpTxt):
- WidgetSimpTxt.setObjectName("WidgetSimpTxt")
- WidgetSimpTxt.resize(743, 60)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetSimpTxt.sizePolicy().hasHeightForWidth())
- WidgetSimpTxt.setSizePolicy(sizePolicy)
- WidgetSimpTxt.setMinimumSize(QtCore.QSize(0, 0))
- WidgetSimpTxt.setMaximumSize(QtCore.QSize(1677721, 60))
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout(WidgetSimpTxt)
- self.horizontalLayout_3.setContentsMargins(1, 0, 0, 1)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetSimpTxt)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem1)
- self.horizontalLayout_3.addLayout(self.verticalLayout_2)
- self.label = MonLabelClic(WidgetSimpTxt)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_3.addWidget(self.label)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setSpacing(0)
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.lineEditVal = QtWidgets.QLineEdit(WidgetSimpTxt)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(1)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal.sizePolicy().hasHeightForWidth())
- self.lineEditVal.setSizePolicy(sizePolicy)
- self.lineEditVal.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal.setObjectName("lineEditVal")
- self.horizontalLayout_2.addWidget(self.lineEditVal)
- spacerItem2 = QtWidgets.QSpacerItem(3, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem2)
- spacerItem3 = QtWidgets.QSpacerItem(5, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem3)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetSimpTxt)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout_2.addWidget(self.RBPoubelle)
- self.verticalLayout.addLayout(self.horizontalLayout_2)
- spacerItem4 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem4)
- self.horizontalLayout_3.addLayout(self.verticalLayout)
-
- self.retranslateUi(WidgetSimpTxt)
- QtCore.QMetaObject.connectSlotsByName(WidgetSimpTxt)
-
- def retranslateUi(self, WidgetSimpTxt):
- _translate = QtCore.QCoreApplication.translate
- WidgetSimpTxt.setWindowTitle(_translate("WidgetSimpTxt", "Form"))
- self.RBValide.setToolTip(_translate("WidgetSimpTxt", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetSimpTxt", "..."))
- self.label.setText(_translate("WidgetSimpTxt", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetSimpTxt", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetSimpTxt", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetSimpTxt = QtWidgets.QWidget()
- ui = Ui_WidgetSimpTxt()
- ui.setupUi(WidgetSimpTxt)
- WidgetSimpTxt.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetTuple2.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetTuple2(object):
- def setupUi(self, WidgetTuple2):
- WidgetTuple2.setObjectName("WidgetTuple2")
- WidgetTuple2.resize(936, 62)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetTuple2.sizePolicy().hasHeightForWidth())
- WidgetTuple2.setSizePolicy(sizePolicy)
- WidgetTuple2.setMinimumSize(QtCore.QSize(0, 0))
- WidgetTuple2.setStyleSheet("")
- self.horizontalLayout_4 = QtWidgets.QHBoxLayout(WidgetTuple2)
- self.horizontalLayout_4.setContentsMargins(0, 1, 0, 1)
- self.horizontalLayout_4.setSpacing(0)
- self.horizontalLayout_4.setObjectName("horizontalLayout_4")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetTuple2)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout_3.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout_3)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem1)
- self.horizontalLayout_4.addLayout(self.verticalLayout_2)
- self.label = MonLabelClic(WidgetTuple2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_4.addWidget(self.label)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.label_2 = QtWidgets.QLabel(WidgetTuple2)
- self.label_2.setObjectName("label_2")
- self.horizontalLayout_2.addWidget(self.label_2)
- self.lineEditVal1 = QtWidgets.QLineEdit(WidgetTuple2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal1.sizePolicy().hasHeightForWidth())
- self.lineEditVal1.setSizePolicy(sizePolicy)
- self.lineEditVal1.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal1.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal1.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;\n"
-"\n"
-"")
- self.lineEditVal1.setReadOnly(False)
- self.lineEditVal1.setObjectName("lineEditVal1")
- self.horizontalLayout_2.addWidget(self.lineEditVal1)
- self.label_4 = QtWidgets.QLabel(WidgetTuple2)
- self.label_4.setObjectName("label_4")
- self.horizontalLayout_2.addWidget(self.label_4)
- self.lineEditVal2 = QtWidgets.QLineEdit(WidgetTuple2)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal2.sizePolicy().hasHeightForWidth())
- self.lineEditVal2.setSizePolicy(sizePolicy)
- self.lineEditVal2.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal2.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal2.setFocusPolicy(QtCore.Qt.StrongFocus)
- self.lineEditVal2.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal2.setObjectName("lineEditVal2")
- self.horizontalLayout_2.addWidget(self.lineEditVal2)
- self.label_3 = QtWidgets.QLabel(WidgetTuple2)
- self.label_3.setObjectName("label_3")
- self.horizontalLayout_2.addWidget(self.label_3)
- self.horizontalLayout.addLayout(self.horizontalLayout_2)
- spacerItem2 = QtWidgets.QSpacerItem(58, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem2)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetTuple2)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout.addWidget(self.RBPoubelle)
- self.verticalLayout.addLayout(self.horizontalLayout)
- spacerItem3 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem3)
- self.horizontalLayout_4.addLayout(self.verticalLayout)
-
- self.retranslateUi(WidgetTuple2)
- QtCore.QMetaObject.connectSlotsByName(WidgetTuple2)
- WidgetTuple2.setTabOrder(self.lineEditVal1, self.lineEditVal2)
-
- def retranslateUi(self, WidgetTuple2):
- _translate = QtCore.QCoreApplication.translate
- WidgetTuple2.setWindowTitle(_translate("WidgetTuple2", "Form"))
- self.RBValide.setToolTip(_translate("WidgetTuple2", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetTuple2", "..."))
- self.label.setText(_translate("WidgetTuple2", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.label_2.setText(_translate("WidgetTuple2", "<html><head/><body><p><span style=\" font-size:14pt;\">(</span></p></body></html>"))
- self.label_4.setText(_translate("WidgetTuple2", "<html><head/><body><p><span style=\" font-size:14pt;\">,</span></p></body></html>"))
- self.label_3.setText(_translate("WidgetTuple2", "<html><head/><body><p><span style=\" font-size:14pt;\">)</span></p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetTuple2", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetTuple2", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetTuple2 = QtWidgets.QWidget()
- ui = Ui_WidgetTuple2()
- ui.setupUi(WidgetTuple2)
- WidgetTuple2.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetTuple3.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetTuple3(object):
- def setupUi(self, WidgetTuple3):
- WidgetTuple3.setObjectName("WidgetTuple3")
- WidgetTuple3.resize(1282, 61)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Minimum)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetTuple3.sizePolicy().hasHeightForWidth())
- WidgetTuple3.setSizePolicy(sizePolicy)
- WidgetTuple3.setMinimumSize(QtCore.QSize(0, 0))
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout(WidgetTuple3)
- self.horizontalLayout_3.setContentsMargins(1, 0, 0, 1)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetTuple3)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout_2.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout_2)
- spacerItem1 = QtWidgets.QSpacerItem(20, 5, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem1)
- self.horizontalLayout_3.addLayout(self.verticalLayout_2)
- self.label = MonLabelClic(WidgetTuple3)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout_3.addWidget(self.label)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setObjectName("verticalLayout")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.label_2 = QtWidgets.QLabel(WidgetTuple3)
- self.label_2.setObjectName("label_2")
- self.horizontalLayout.addWidget(self.label_2)
- self.lineEditVal1 = QtWidgets.QLineEdit(WidgetTuple3)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal1.sizePolicy().hasHeightForWidth())
- self.lineEditVal1.setSizePolicy(sizePolicy)
- self.lineEditVal1.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal1.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal1.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal1.setObjectName("lineEditVal1")
- self.horizontalLayout.addWidget(self.lineEditVal1)
- self.label_4 = QtWidgets.QLabel(WidgetTuple3)
- self.label_4.setObjectName("label_4")
- self.horizontalLayout.addWidget(self.label_4)
- self.lineEditVal2 = QtWidgets.QLineEdit(WidgetTuple3)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal2.sizePolicy().hasHeightForWidth())
- self.lineEditVal2.setSizePolicy(sizePolicy)
- self.lineEditVal2.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal2.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal2.setFocusPolicy(QtCore.Qt.StrongFocus)
- self.lineEditVal2.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal2.setObjectName("lineEditVal2")
- self.horizontalLayout.addWidget(self.lineEditVal2)
- self.label_3 = QtWidgets.QLabel(WidgetTuple3)
- self.label_3.setObjectName("label_3")
- self.horizontalLayout.addWidget(self.label_3)
- self.lineEditVal3 = QtWidgets.QLineEdit(WidgetTuple3)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal3.sizePolicy().hasHeightForWidth())
- self.lineEditVal3.setSizePolicy(sizePolicy)
- self.lineEditVal3.setMinimumSize(QtCore.QSize(0, 25))
- self.lineEditVal3.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal3.setFocusPolicy(QtCore.Qt.StrongFocus)
- self.lineEditVal3.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal3.setObjectName("lineEditVal3")
- self.horizontalLayout.addWidget(self.lineEditVal3)
- self.label_5 = QtWidgets.QLabel(WidgetTuple3)
- self.label_5.setObjectName("label_5")
- self.horizontalLayout.addWidget(self.label_5)
- spacerItem2 = QtWidgets.QSpacerItem(40, 20, QtWidgets.QSizePolicy.Expanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem2)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetTuple3)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout.addWidget(self.RBPoubelle)
- self.verticalLayout.addLayout(self.horizontalLayout)
- spacerItem3 = QtWidgets.QSpacerItem(20, 13, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout.addItem(spacerItem3)
- self.horizontalLayout_3.addLayout(self.verticalLayout)
-
- self.retranslateUi(WidgetTuple3)
- QtCore.QMetaObject.connectSlotsByName(WidgetTuple3)
-
- def retranslateUi(self, WidgetTuple3):
- _translate = QtCore.QCoreApplication.translate
- WidgetTuple3.setWindowTitle(_translate("WidgetTuple3", "Form"))
- self.RBValide.setToolTip(_translate("WidgetTuple3", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetTuple3", "..."))
- self.label.setText(_translate("WidgetTuple3", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.label_2.setText(_translate("WidgetTuple3", "<html><head/><body><p><span style=\" font-size:14pt;\">(</span></p></body></html>"))
- self.label_4.setText(_translate("WidgetTuple3", "<html><head/><body><p><span style=\" font-size:14pt;\">,</span></p></body></html>"))
- self.label_3.setText(_translate("WidgetTuple3", "<html><head/><body><p><span style=\" font-size:14pt;\">,</span></p></body></html>"))
- self.label_5.setText(_translate("WidgetTuple3", "<html><head/><body><p><span style=\" font-size:14pt;\">)</span></p></body></html>"))
- self.RBPoubelle.setToolTip(_translate("WidgetTuple3", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetTuple3", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetTuple3 = QtWidgets.QWidget()
- ui = Ui_WidgetTuple3()
- ui.setupUi(WidgetTuple3)
- WidgetTuple3.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetUniqueSDCO.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetUniqueSDCO(object):
- def setupUi(self, WidgetUniqueSDCO):
- WidgetUniqueSDCO.setObjectName("WidgetUniqueSDCO")
- WidgetUniqueSDCO.resize(1069, 56)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetUniqueSDCO.sizePolicy().hasHeightForWidth())
- WidgetUniqueSDCO.setSizePolicy(sizePolicy)
- WidgetUniqueSDCO.setMinimumSize(QtCore.QSize(0, 0))
- self.horizontalLayout = QtWidgets.QHBoxLayout(WidgetUniqueSDCO)
- self.horizontalLayout.setContentsMargins(0, 0, 0, 0)
- self.horizontalLayout.setSpacing(1)
- self.horizontalLayout.setObjectName("horizontalLayout")
- self.verticalLayout_2 = QtWidgets.QVBoxLayout()
- self.verticalLayout_2.setSpacing(0)
- self.verticalLayout_2.setObjectName("verticalLayout_2")
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_3.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetUniqueSDCO)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 25))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 25))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(25, 25))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout_3.addWidget(self.RBValide)
- self.verticalLayout_2.addLayout(self.horizontalLayout_3)
- spacerItem1 = QtWidgets.QSpacerItem(20, 2, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_2.addItem(spacerItem1)
- self.horizontalLayout.addLayout(self.verticalLayout_2)
- self.label = MonLabelClic(WidgetUniqueSDCO)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Preferred)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 25))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setScaledContents(False)
- self.label.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
- self.label.setObjectName("label")
- self.horizontalLayout.addWidget(self.label)
- self.verticalLayout = QtWidgets.QVBoxLayout()
- self.verticalLayout.setSpacing(0)
- self.verticalLayout.setObjectName("verticalLayout")
- self.LESDCO = QtWidgets.QLineEdit(WidgetUniqueSDCO)
- self.LESDCO.setMinimumSize(QtCore.QSize(0, 25))
- self.LESDCO.setMaximumSize(QtCore.QSize(805, 16777215))
- self.LESDCO.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.LESDCO.setObjectName("LESDCO")
- self.verticalLayout.addWidget(self.LESDCO)
- self.label_2 = QtWidgets.QLabel(WidgetUniqueSDCO)
- self.label_2.setObjectName("label_2")
- self.verticalLayout.addWidget(self.label_2)
- self.horizontalLayout.addLayout(self.verticalLayout)
- spacerItem2 = QtWidgets.QSpacerItem(79, 17, QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem2)
- self.verticalLayout_3 = QtWidgets.QVBoxLayout()
- self.verticalLayout_3.setObjectName("verticalLayout_3")
- self.RBPoubelle = QtWidgets.QToolButton(WidgetUniqueSDCO)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 25))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon1)
- self.RBPoubelle.setIconSize(QtCore.QSize(25, 25))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.verticalLayout_3.addWidget(self.RBPoubelle)
- spacerItem3 = QtWidgets.QSpacerItem(20, 2, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
- self.verticalLayout_3.addItem(spacerItem3)
- self.horizontalLayout.addLayout(self.verticalLayout_3)
-
- self.retranslateUi(WidgetUniqueSDCO)
- QtCore.QMetaObject.connectSlotsByName(WidgetUniqueSDCO)
-
- def retranslateUi(self, WidgetUniqueSDCO):
- _translate = QtCore.QCoreApplication.translate
- WidgetUniqueSDCO.setWindowTitle(_translate("WidgetUniqueSDCO", "Form"))
- self.RBValide.setToolTip(_translate("WidgetUniqueSDCO", "Affiche le rapport de validation du mot-clef"))
- self.RBValide.setText(_translate("WidgetUniqueSDCO", "..."))
- self.label.setText(_translate("WidgetUniqueSDCO", "<html><head/><body><p>aaa</p><p>dqsklmdqm</p></body></html>"))
- self.label_2.setText(_translate("WidgetUniqueSDCO", "Attend un objet de type CO "))
- self.RBPoubelle.setToolTip(_translate("WidgetUniqueSDCO", "Détruit le mot-clef"))
- self.RBPoubelle.setText(_translate("WidgetUniqueSDCO", "..."))
-
-from monBoutonValide import MonBoutonValide
-from monLabelClic import MonLabelClic
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetUniqueSDCO = QtWidgets.QWidget()
- ui = Ui_WidgetUniqueSDCO()
- ui.setupUi(WidgetUniqueSDCO)
- WidgetUniqueSDCO.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'desWidgetVide.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_WidgetVide(object):
- def setupUi(self, WidgetVide):
- WidgetVide.setObjectName("WidgetVide")
- WidgetVide.resize(1069, 55)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(WidgetVide.sizePolicy().hasHeightForWidth())
- WidgetVide.setSizePolicy(sizePolicy)
- WidgetVide.setMinimumSize(QtCore.QSize(0, 0))
- self.horizontalLayout_3 = QtWidgets.QHBoxLayout(WidgetVide)
- self.horizontalLayout_3.setContentsMargins(0, 2, 0, 0)
- self.horizontalLayout_3.setSpacing(0)
- self.horizontalLayout_3.setObjectName("horizontalLayout_3")
- self.horizontalLayout = QtWidgets.QHBoxLayout()
- self.horizontalLayout.setSizeConstraint(QtWidgets.QLayout.SetFixedSize)
- self.horizontalLayout.setSpacing(0)
- self.horizontalLayout.setObjectName("horizontalLayout")
- spacerItem = QtWidgets.QSpacerItem(21, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout.addItem(spacerItem)
- self.RBValide = MonBoutonValide(WidgetVide)
- self.RBValide.setMinimumSize(QtCore.QSize(21, 31))
- self.RBValide.setMaximumSize(QtCore.QSize(21, 35))
- self.RBValide.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBValide.setStyleSheet("border : 0px")
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/ast-green-ball.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBValide.setIcon(icon)
- self.RBValide.setIconSize(QtCore.QSize(32, 32))
- self.RBValide.setObjectName("RBValide")
- self.horizontalLayout.addWidget(self.RBValide)
- self.horizontalLayout_3.addLayout(self.horizontalLayout)
- self.label = QtWidgets.QLabel(WidgetVide)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.label.sizePolicy().hasHeightForWidth())
- self.label.setSizePolicy(sizePolicy)
- self.label.setMinimumSize(QtCore.QSize(300, 24))
- self.label.setMaximumSize(QtCore.QSize(178, 16777215))
- self.label.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.label.setObjectName("label")
- self.horizontalLayout_3.addWidget(self.label)
- self.lineEditVal = QtWidgets.QLineEdit(WidgetVide)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Preferred, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(1)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.lineEditVal.sizePolicy().hasHeightForWidth())
- self.lineEditVal.setSizePolicy(sizePolicy)
- self.lineEditVal.setMinimumSize(QtCore.QSize(0, 32))
- self.lineEditVal.setMaximumSize(QtCore.QSize(805, 16777215))
- self.lineEditVal.setStyleSheet("background:rgb(235,235,235);\n"
-"border:0px;")
- self.lineEditVal.setObjectName("lineEditVal")
- self.horizontalLayout_3.addWidget(self.lineEditVal)
- spacerItem1 = QtWidgets.QSpacerItem(79, 17, QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_3.addItem(spacerItem1)
- self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
- self.horizontalLayout_2.setSpacing(0)
- self.horizontalLayout_2.setObjectName("horizontalLayout_2")
- self.RBSalome = QtWidgets.QToolButton(WidgetVide)
- self.RBSalome.setMinimumSize(QtCore.QSize(25, 30))
- self.RBSalome.setMaximumSize(QtCore.QSize(25, 30))
- self.RBSalome.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBSalome.setStyleSheet("border : 0px")
- icon1 = QtGui.QIcon()
- icon1.addPixmap(QtGui.QPixmap("../Editeur/icons/flecheSalome.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBSalome.setIcon(icon1)
- self.RBSalome.setIconSize(QtCore.QSize(32, 32))
- self.RBSalome.setObjectName("RBSalome")
- self.horizontalLayout_2.addWidget(self.RBSalome)
- self.RBSalomeVue = QtWidgets.QToolButton(WidgetVide)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Fixed)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(self.RBSalomeVue.sizePolicy().hasHeightForWidth())
- self.RBSalomeVue.setSizePolicy(sizePolicy)
- self.RBSalomeVue.setMinimumSize(QtCore.QSize(25, 30))
- self.RBSalomeVue.setMaximumSize(QtCore.QSize(25, 30))
- self.RBSalomeVue.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBSalomeVue.setStyleSheet("border:0px")
- icon2 = QtGui.QIcon()
- icon2.addPixmap(QtGui.QPixmap("../Editeur/icons/icon_salome.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBSalomeVue.setIcon(icon2)
- self.RBSalomeVue.setIconSize(QtCore.QSize(32, 32))
- self.RBSalomeVue.setObjectName("RBSalomeVue")
- self.horizontalLayout_2.addWidget(self.RBSalomeVue)
- spacerItem2 = QtWidgets.QSpacerItem(13, 20, QtWidgets.QSizePolicy.Fixed, QtWidgets.QSizePolicy.Minimum)
- self.horizontalLayout_2.addItem(spacerItem2)
- self.RBPoubelle = QtWidgets.QToolButton(WidgetVide)
- self.RBPoubelle.setMinimumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setMaximumSize(QtCore.QSize(21, 31))
- self.RBPoubelle.setFocusPolicy(QtCore.Qt.ClickFocus)
- self.RBPoubelle.setStyleSheet("border : 0px")
- icon3 = QtGui.QIcon()
- icon3.addPixmap(QtGui.QPixmap("../Editeur/icons/deleteRond.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.RBPoubelle.setIcon(icon3)
- self.RBPoubelle.setIconSize(QtCore.QSize(21, 32))
- self.RBPoubelle.setObjectName("RBPoubelle")
- self.horizontalLayout_2.addWidget(self.RBPoubelle)
- self.horizontalLayout_3.addLayout(self.horizontalLayout_2)
-
- self.retranslateUi(WidgetVide)
- QtCore.QMetaObject.connectSlotsByName(WidgetVide)
- WidgetVide.setTabOrder(self.lineEditVal, self.RBSalome)
- WidgetVide.setTabOrder(self.RBSalome, self.RBSalomeVue)
- WidgetVide.setTabOrder(self.RBSalomeVue, self.RBValide)
- WidgetVide.setTabOrder(self.RBValide, self.RBPoubelle)
-
- def retranslateUi(self, WidgetVide):
- _translate = QtCore.QCoreApplication.translate
- WidgetVide.setWindowTitle(_translate("WidgetVide", "Form"))
- self.RBValide.setText(_translate("WidgetVide", "..."))
- self.label.setText(_translate("WidgetVide", "<html><head/><body><p><span style=\" color:#0055ff;\">Label</span></p></body></html>"))
- self.lineEditVal.setText(_translate("WidgetVide", "Attend un objet de type XXXX. Il faut le créer"))
- self.RBSalome.setText(_translate("WidgetVide", "..."))
- self.RBSalomeVue.setText(_translate("WidgetVide", "..."))
- self.RBPoubelle.setText(_translate("WidgetVide", "..."))
-
-from monBoutonValide import MonBoutonValide
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- WidgetVide = QtWidgets.QWidget()
- ui = Ui_WidgetVide()
- ui.setupUi(WidgetVide)
- WidgetVide.show()
- sys.exit(app.exec_())
-
+++ /dev/null
-# -*- coding: utf-8 -*-
-
-# Form implementation generated from reading ui file 'myMain.ui'
-#
-# Created by: PyQt5 UI code generator 5.5.1
-#
-# WARNING! All changes made in this file will be lost!
-
-from PyQt5 import QtCore, QtGui, QtWidgets
-
-class Ui_Eficas(object):
- def setupUi(self, Eficas):
- Eficas.setObjectName("Eficas")
- Eficas.resize(1676, 811)
- sizePolicy = QtWidgets.QSizePolicy(QtWidgets.QSizePolicy.MinimumExpanding, QtWidgets.QSizePolicy.MinimumExpanding)
- sizePolicy.setHorizontalStretch(0)
- sizePolicy.setVerticalStretch(0)
- sizePolicy.setHeightForWidth(Eficas.sizePolicy().hasHeightForWidth())
- Eficas.setSizePolicy(sizePolicy)
- Eficas.setStyleSheet("/* QMenuBar {\n"
-" background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,\n"
-" stop:0 rgb(226,255,253), stop:1 rgb(191,237,255));\n"
-" }*/\n"
-"\n"
-"QMenuBar {\n"
-" background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,\n"
-" stop:0 rgb(164,165,178), stop:1 rgb(55,66,126));\n"
-" }\n"
-" QMenuBar::item {\n"
-" spacing: 3px; /* spacing between menu bar items */\n"
-" color: white;\n"
-" padding: 1px 4px;\n"
-" background: transparent;\n"
-" border-radius: 4px;\n"
-" }\n"
-"\n"
-" QMenuBar::item:selected { /* when selected using mouse or keyboard */\n"
-" background: #a8a8a8;\n"
-" }\n"
-"\n"
-" QMenuBar::item:pressed {\n"
-" background: #888888;\n"
-" }\n"
-"\n"
-"\n"
-"\n"
-"\n"
-"\n"
-"\n"
-"\n"
-"\n"
-"")
- self.centralwidget = QtWidgets.QWidget(Eficas)
- self.centralwidget.setStyleSheet("QComboBox{combobox-popup:0;}")
- self.centralwidget.setObjectName("centralwidget")
- self.verticalLayout = QtWidgets.QVBoxLayout(self.centralwidget)
- self.verticalLayout.setContentsMargins(0, 0, 0, 0)
- self.verticalLayout.setSpacing(0)
- self.verticalLayout.setObjectName("verticalLayout")
- self.frameEntete = QtWidgets.QFrame(self.centralwidget)
- self.frameEntete.setMinimumSize(QtCore.QSize(0, 61))
- self.frameEntete.setMaximumSize(QtCore.QSize(16777215, 61))
- self.frameEntete.setStyleSheet("/*background-color: qlineargradient(x1:0, y1:0, x2:0, y2:1,\n"
-" stop:0 rgb(218,229,248), stop:1 rgb(9,86,109));*/\n"
-"/*background-color:rgb(208,225,238)*/")
- self.frameEntete.setFrameShape(QtWidgets.QFrame.NoFrame)
- self.frameEntete.setFrameShadow(QtWidgets.QFrame.Raised)
- self.frameEntete.setLineWidth(2)
- self.frameEntete.setObjectName("frameEntete")
- self.verticalLayout.addWidget(self.frameEntete)
- self.myQtab = QtWidgets.QTabWidget(self.centralwidget)
- self.myQtab.setStyleSheet("background-color:rgb(224,223,222)")
- self.myQtab.setTabPosition(QtWidgets.QTabWidget.North)
- self.myQtab.setTabsClosable(True)
- self.myQtab.setObjectName("myQtab")
- self.tab_3 = QtWidgets.QWidget()
- self.tab_3.setObjectName("tab_3")
- self.myQtab.addTab(self.tab_3, "")
- self.verticalLayout.addWidget(self.myQtab)
- Eficas.setCentralWidget(self.centralwidget)
- self.menubar = QtWidgets.QMenuBar(Eficas)
- self.menubar.setGeometry(QtCore.QRect(0, 0, 1676, 30))
- self.menubar.setObjectName("menubar")
- self.menuFichier = QtWidgets.QMenu(self.menubar)
- self.menuFichier.setObjectName("menuFichier")
- self.menuEdition = QtWidgets.QMenu(self.menubar)
- self.menuEdition.setObjectName("menuEdition")
- self.menuJdC = QtWidgets.QMenu(self.menubar)
- self.menuJdC.setObjectName("menuJdC")
- self.menuAide = QtWidgets.QMenu(self.menubar)
- self.menuAide.setObjectName("menuAide")
- Eficas.setMenuBar(self.menubar)
- self.statusbar = QtWidgets.QStatusBar(Eficas)
- self.statusbar.setObjectName("statusbar")
- Eficas.setStatusBar(self.statusbar)
- self.toolBar = QtWidgets.QToolBar(Eficas)
- self.toolBar.setIconSize(QtCore.QSize(36, 36))
- self.toolBar.setObjectName("toolBar")
- Eficas.addToolBar(QtCore.Qt.TopToolBarArea, self.toolBar)
- self.action_Nouveau = QtWidgets.QAction(Eficas)
- icon = QtGui.QIcon.fromTheme("document-new")
- self.action_Nouveau.setIcon(icon)
- self.action_Nouveau.setObjectName("action_Nouveau")
- self.actionNouvel_Include = QtWidgets.QAction(Eficas)
- self.actionNouvel_Include.setObjectName("actionNouvel_Include")
- self.actionARemplacer = QtWidgets.QAction(Eficas)
- self.actionARemplacer.setObjectName("actionARemplacer")
- self.actionOuvrir = QtWidgets.QAction(Eficas)
- icon = QtGui.QIcon.fromTheme("document-open")
- self.actionOuvrir.setIcon(icon)
- self.actionOuvrir.setObjectName("actionOuvrir")
- self.actionEnregistrer = QtWidgets.QAction(Eficas)
- icon = QtGui.QIcon.fromTheme("document-save")
- self.actionEnregistrer.setIcon(icon)
- self.actionEnregistrer.setObjectName("actionEnregistrer")
- self.actionParametres_Eficas = QtWidgets.QAction(Eficas)
- self.actionParametres_Eficas.setObjectName("actionParametres_Eficas")
- self.actionEnregistrer_sous = QtWidgets.QAction(Eficas)
- icon = QtGui.QIcon.fromTheme("document-save-as")
- self.actionEnregistrer_sous.setIcon(icon)
- self.actionEnregistrer_sous.setObjectName("actionEnregistrer_sous")
- self.actionFermer = QtWidgets.QAction(Eficas)
- self.actionFermer.setObjectName("actionFermer")
- self.actionFermer_tout = QtWidgets.QAction(Eficas)
- self.actionFermer_tout.setObjectName("actionFermer_tout")
- self.actionCouper = QtWidgets.QAction(Eficas)
- icon = QtGui.QIcon.fromTheme("edit-cut")
- self.actionCouper.setIcon(icon)
- self.actionCouper.setShortcutContext(QtCore.Qt.ApplicationShortcut)
- self.actionCouper.setObjectName("actionCouper")
- self.actionCopier = QtWidgets.QAction(Eficas)
- icon = QtGui.QIcon.fromTheme("edit-copy")
- self.actionCopier.setIcon(icon)
- self.actionCopier.setShortcutContext(QtCore.Qt.ApplicationShortcut)
- self.actionCopier.setObjectName("actionCopier")
- self.actionColler = QtWidgets.QAction(Eficas)
- icon = QtGui.QIcon.fromTheme("edit-paste")
- self.actionColler.setIcon(icon)
- self.actionColler.setShortcutContext(QtCore.Qt.ApplicationShortcut)
- self.actionColler.setObjectName("actionColler")
- self.actionQuitter = QtWidgets.QAction(Eficas)
- self.actionQuitter.setObjectName("actionQuitter")
- self.actionRapport_de_Validation = QtWidgets.QAction(Eficas)
- self.actionRapport_de_Validation.setAutoRepeat(False)
- self.actionRapport_de_Validation.setObjectName("actionRapport_de_Validation")
- self.actionFichier_Source = QtWidgets.QAction(Eficas)
- self.actionFichier_Source.setObjectName("actionFichier_Source")
- self.actionFichier_Resultat = QtWidgets.QAction(Eficas)
- self.actionFichier_Resultat.setObjectName("actionFichier_Resultat")
- self.actionLecteur_Pdf = QtWidgets.QAction(Eficas)
- self.actionLecteur_Pdf.setObjectName("actionLecteur_Pdf")
- self.actionEficas = QtWidgets.QAction(Eficas)
- self.actionEficas.setObjectName("actionEficas")
- self.actionVersion = QtWidgets.QAction(Eficas)
- self.actionVersion.setObjectName("actionVersion")
- self.actionSupprimer = QtWidgets.QAction(Eficas)
- icon = QtGui.QIcon.fromTheme("edit-delete")
- self.actionSupprimer.setIcon(icon)
- self.actionSupprimer.setObjectName("actionSupprimer")
- self.actionRechercherDsCatalogue = QtWidgets.QAction(Eficas)
- self.actionRechercherDsCatalogue.setShortcutContext(QtCore.Qt.ApplicationShortcut)
- self.actionRechercherDsCatalogue.setObjectName("actionRechercherDsCatalogue")
- self.actionRechercher = QtWidgets.QAction(Eficas)
- icon = QtGui.QIcon.fromTheme("edit-find")
- self.actionRechercher.setIcon(icon)
- self.actionRechercher.setShortcutContext(QtCore.Qt.ApplicationShortcut)
- self.actionRechercher.setObjectName("actionRechercher")
- self.actionDeplier_replier = QtWidgets.QAction(Eficas)
- self.actionDeplier_replier.setObjectName("actionDeplier_replier")
- self.actionCommentaire = QtWidgets.QAction(Eficas)
- self.actionCommentaire.setObjectName("actionCommentaire")
- self.actionParametres = QtWidgets.QAction(Eficas)
- icon = QtGui.QIcon()
- icon.addPixmap(QtGui.QPixmap("../Editeur/icons/parametres.png"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
- self.actionParametres.setIcon(icon)
- self.actionParametres.setObjectName("actionParametres")
- self.actionParametre_Eficas = QtWidgets.QAction(Eficas)
- self.actionParametre_Eficas.setObjectName("actionParametre_Eficas")
- self.actionRegles_du_JdC = QtWidgets.QAction(Eficas)
- self.actionRegles_du_JdC.setObjectName("actionRegles_du_JdC")
- self.menuFichier.addAction(self.action_Nouveau)
- self.menuFichier.addAction(self.actionNouvel_Include)
- self.menuFichier.addAction(self.actionOuvrir)
- self.menuFichier.addAction(self.actionARemplacer)
- 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.menuEdition.addSeparator()
- self.menuEdition.addAction(self.actionRechercher)
- self.menuEdition.addAction(self.actionRechercherDsCatalogue)
- self.menuEdition.addAction(self.actionDeplier_replier)
- self.menuJdC.addAction(self.actionRapport_de_Validation)
- self.menuJdC.addAction(self.actionRegles_du_JdC)
- self.menuJdC.addAction(self.actionFichier_Source)
- self.menuJdC.addAction(self.actionFichier_Resultat)
- self.menuJdC.addSeparator()
- self.menuJdC.addAction(self.actionCommentaire)
- self.menuJdC.addAction(self.actionParametres)
- self.menuAide.addAction(self.actionEficas)
- self.menuAide.addAction(self.actionParametres_Eficas)
- self.menuAide.addAction(self.actionVersion)
- self.menubar.addAction(self.menuFichier.menuAction())
- self.menubar.addAction(self.menuEdition.menuAction())
- self.menubar.addAction(self.menuJdC.menuAction())
- self.menubar.addAction(self.menuAide.menuAction())
- self.toolBar.addAction(self.action_Nouveau)
- self.toolBar.addAction(self.actionOuvrir)
- self.toolBar.addAction(self.actionEnregistrer)
- self.toolBar.addSeparator()
- self.toolBar.addAction(self.actionCopier)
- self.toolBar.addAction(self.actionColler)
- self.toolBar.addAction(self.actionSupprimer)
- self.toolBar.addAction(self.actionCouper)
- self.toolBar.addSeparator()
- self.toolBar.addAction(self.actionParametres)
-
- self.retranslateUi(Eficas)
- self.myQtab.setCurrentIndex(0)
- QtCore.QMetaObject.connectSlotsByName(Eficas)
-
- def retranslateUi(self, Eficas):
- _translate = QtCore.QCoreApplication.translate
- Eficas.setWindowTitle(_translate("Eficas", "MainWindow"))
- self.myQtab.setTabText(self.myQtab.indexOf(self.tab_3), _translate("Eficas", "Tab 1"))
- self.menuFichier.setTitle(_translate("Eficas", "&Fichier"))
- self.menuEdition.setTitle(_translate("Eficas", "&Edition"))
- self.menuJdC.setTitle(_translate("Eficas", "&JeuDeDonnées"))
- self.menuAide.setTitle(_translate("Eficas", "&Aide"))
- self.toolBar.setWindowTitle(_translate("Eficas", "toolBar"))
- self.action_Nouveau.setText(_translate("Eficas", "&Nouveau"))
- self.action_Nouveau.setShortcut(_translate("Eficas", "Ctrl+N"))
- self.actionNouvel_Include.setText(_translate("Eficas", "Nouvel Include"))
- self.actionNouvel_Include.setShortcut(_translate("Eficas", "Shift+I"))
- self.actionARemplacer.setText(_translate("Eficas", "&bad"))
- self.actionOuvrir.setText(_translate("Eficas", "&Ouvrir"))
- self.actionOuvrir.setShortcut(_translate("Eficas", "Ctrl+O"))
- self.actionEnregistrer.setText(_translate("Eficas", "Enregistrer"))
- self.actionEnregistrer.setShortcut(_translate("Eficas", "Ctrl+S"))
- self.actionParametres_Eficas.setText(_translate("Eficas", "Parametres Eficas"))
- self.actionEnregistrer_sous.setText(_translate("Eficas", "Enregistrer sous"))
- self.actionEnregistrer_sous.setShortcut(_translate("Eficas", "Ctrl+Shift+S"))
- self.actionFermer.setText(_translate("Eficas", "Fermer "))
- self.actionFermer.setShortcut(_translate("Eficas", "Ctrl+W"))
- self.actionFermer_tout.setText(_translate("Eficas", "Fermer tout"))
- self.actionCouper.setText(_translate("Eficas", "Couper"))
- self.actionCouper.setShortcut(_translate("Eficas", "Ctrl+X"))
- self.actionCopier.setText(_translate("Eficas", "Copier"))
- self.actionCopier.setShortcut(_translate("Eficas", "Ctrl+C"))
- self.actionColler.setText(_translate("Eficas", "Coller"))
- self.actionColler.setShortcut(_translate("Eficas", "Ctrl+V"))
- self.actionQuitter.setText(_translate("Eficas", "Quitter"))
- self.actionQuitter.setShortcut(_translate("Eficas", "Ctrl+Q"))
- self.actionRapport_de_Validation.setText(_translate("Eficas", "Rapport de Validation"))
- self.actionRapport_de_Validation.setShortcut(_translate("Eficas", "Shift+V"))
- self.actionFichier_Source.setText(_translate("Eficas", "Fichier Source"))
- self.actionFichier_Resultat.setText(_translate("Eficas", "Fichier Résultat"))
- self.actionLecteur_Pdf.setText(_translate("Eficas", "Lecteur documentation"))
- self.actionEficas.setText(_translate("Eficas", "Eficas"))
- self.actionVersion.setText(_translate("Eficas", "Version"))
- self.actionSupprimer.setText(_translate("Eficas", "Supprimer"))
- self.actionRechercherDsCatalogue.setText(_translate("Eficas", "Chercher Mot-Clef"))
- self.actionRechercherDsCatalogue.setToolTip(_translate("Eficas", " Rechercher dans le catalogue"))
- self.actionRechercherDsCatalogue.setShortcut(_translate("Eficas", "Shift+F"))
- self.actionRechercher.setText(_translate("Eficas", "Rechercher"))
- self.actionRechercher.setToolTip(_translate("Eficas", " Rechercher dans l\'arbre d\'etude"))
- self.actionRechercher.setShortcut(_translate("Eficas", "Ctrl+F"))
- self.actionDeplier_replier.setText(_translate("Eficas", "Replier/Deplier"))
- self.actionDeplier_replier.setShortcut(_translate("Eficas", "Shift+D"))
- self.actionCommentaire.setText(_translate("Eficas", "Commentaire"))
- self.actionCommentaire.setShortcut(_translate("Eficas", "Shift+C"))
- self.actionParametres.setText(_translate("Eficas", "Paramètres"))
- self.actionParametres.setToolTip(_translate("Eficas", "Gestion des paramètres"))
- self.actionParametres.setShortcut(_translate("Eficas", "Shift+P"))
- self.actionParametre_Eficas.setText(_translate("Eficas", "Parametre Eficas"))
- self.actionRegles_du_JdC.setText(_translate("Eficas", "Régles du JdC"))
-
-
-if __name__ == "__main__":
- import sys
- app = QtWidgets.QApplication(sys.argv)
- Eficas = QtWidgets.QMainWindow()
- ui = Ui_Eficas()
- ui.setupUi(Eficas)
- Eficas.show()
- sys.exit(app.exec_())
-