maj ui
This commit is contained in:
parent
138ae3bc69
commit
b0b630fd22
110
ui/borne.py
Normal file
110
ui/borne.py
Normal file
@ -0,0 +1,110 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Form implementation generated from reading ui file 'borne.ui'
|
||||||
|
#
|
||||||
|
# Created: Fri Dec 26 17:32:17 2014
|
||||||
|
# by: PyQt4 UI code generator 4.11.3
|
||||||
|
#
|
||||||
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
|
||||||
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
|
try:
|
||||||
|
_fromUtf8 = QtCore.QString.fromUtf8
|
||||||
|
except AttributeError:
|
||||||
|
def _fromUtf8(s):
|
||||||
|
return s
|
||||||
|
|
||||||
|
try:
|
||||||
|
_encoding = QtGui.QApplication.UnicodeUTF8
|
||||||
|
def _translate(context, text, disambig):
|
||||||
|
return QtGui.QApplication.translate(context, text, disambig, _encoding)
|
||||||
|
except AttributeError:
|
||||||
|
def _translate(context, text, disambig):
|
||||||
|
return QtGui.QApplication.translate(context, text, disambig)
|
||||||
|
|
||||||
|
class Ui_Form(object):
|
||||||
|
def setupUi(self, Form):
|
||||||
|
Form.setObjectName(_fromUtf8("Form"))
|
||||||
|
Form.resize(400, 412)
|
||||||
|
self.btn_Voiture = QtGui.QPushButton(Form)
|
||||||
|
self.btn_Voiture.setGeometry(QtCore.QRect(90, 40, 211, 27))
|
||||||
|
self.btn_Voiture.setObjectName(_fromUtf8("btn_Voiture"))
|
||||||
|
self.lcdNumber = QtGui.QLCDNumber(Form)
|
||||||
|
self.lcdNumber.setGeometry(QtCore.QRect(20, 80, 351, 31))
|
||||||
|
self.lcdNumber.setObjectName(_fromUtf8("lcdNumber"))
|
||||||
|
self.label_4 = QtGui.QLabel(Form)
|
||||||
|
self.label_4.setGeometry(QtCore.QRect(170, 10, 151, 20))
|
||||||
|
self.label_4.setObjectName(_fromUtf8("label_4"))
|
||||||
|
self.layoutWidget = QtGui.QWidget(Form)
|
||||||
|
self.layoutWidget.setGeometry(QtCore.QRect(60, 300, 272, 85))
|
||||||
|
self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
|
||||||
|
self.horizontalLayout = QtGui.QHBoxLayout(self.layoutWidget)
|
||||||
|
self.horizontalLayout.setMargin(0)
|
||||||
|
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
|
||||||
|
self.verticalLayout_2 = QtGui.QVBoxLayout()
|
||||||
|
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
|
||||||
|
self.label = QtGui.QLabel(self.layoutWidget)
|
||||||
|
self.label.setObjectName(_fromUtf8("label"))
|
||||||
|
self.verticalLayout_2.addWidget(self.label)
|
||||||
|
self.lineEdit_id = QtGui.QLineEdit(self.layoutWidget)
|
||||||
|
self.lineEdit_id.setObjectName(_fromUtf8("lineEdit_id"))
|
||||||
|
self.verticalLayout_2.addWidget(self.lineEdit_id)
|
||||||
|
self.btn_validerID = QtGui.QPushButton(self.layoutWidget)
|
||||||
|
self.btn_validerID.setObjectName(_fromUtf8("btn_validerID"))
|
||||||
|
self.verticalLayout_2.addWidget(self.btn_validerID)
|
||||||
|
self.horizontalLayout.addLayout(self.verticalLayout_2)
|
||||||
|
self.verticalLayout = QtGui.QVBoxLayout()
|
||||||
|
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
|
||||||
|
self.label_2 = QtGui.QLabel(self.layoutWidget)
|
||||||
|
self.label_2.setObjectName(_fromUtf8("label_2"))
|
||||||
|
self.verticalLayout.addWidget(self.label_2)
|
||||||
|
self.btn_validerNonMembre = QtGui.QPushButton(self.layoutWidget)
|
||||||
|
self.btn_validerNonMembre.setObjectName(_fromUtf8("btn_validerNonMembre"))
|
||||||
|
self.verticalLayout.addWidget(self.btn_validerNonMembre)
|
||||||
|
self.btn_cb = QtGui.QPushButton(self.layoutWidget)
|
||||||
|
self.btn_cb.setObjectName(_fromUtf8("btn_cb"))
|
||||||
|
self.verticalLayout.addWidget(self.btn_cb)
|
||||||
|
self.horizontalLayout.addLayout(self.verticalLayout)
|
||||||
|
self.layoutWidget1 = QtGui.QWidget(Form)
|
||||||
|
self.layoutWidget1.setGeometry(QtCore.QRect(70, 130, 261, 91))
|
||||||
|
self.layoutWidget1.setObjectName(_fromUtf8("layoutWidget1"))
|
||||||
|
self.horizontalLayout_2 = QtGui.QHBoxLayout(self.layoutWidget1)
|
||||||
|
self.horizontalLayout_2.setMargin(0)
|
||||||
|
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
|
||||||
|
self.verticalLayout_5 = QtGui.QVBoxLayout()
|
||||||
|
self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
|
||||||
|
self.btn_precedent = QtGui.QPushButton(self.layoutWidget1)
|
||||||
|
self.btn_precedent.setObjectName(_fromUtf8("btn_precedent"))
|
||||||
|
self.verticalLayout_5.addWidget(self.btn_precedent)
|
||||||
|
self.btn_annuler = QtGui.QPushButton(self.layoutWidget1)
|
||||||
|
self.btn_annuler.setObjectName(_fromUtf8("btn_annuler"))
|
||||||
|
self.verticalLayout_5.addWidget(self.btn_annuler)
|
||||||
|
self.horizontalLayout_2.addLayout(self.verticalLayout_5)
|
||||||
|
self.verticalLayout_4 = QtGui.QVBoxLayout()
|
||||||
|
self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
|
||||||
|
self.btn_suivant = QtGui.QPushButton(self.layoutWidget1)
|
||||||
|
self.btn_suivant.setObjectName(_fromUtf8("btn_suivant"))
|
||||||
|
self.verticalLayout_4.addWidget(self.btn_suivant)
|
||||||
|
self.btn_valider = QtGui.QPushButton(self.layoutWidget1)
|
||||||
|
self.btn_valider.setObjectName(_fromUtf8("btn_valider"))
|
||||||
|
self.verticalLayout_4.addWidget(self.btn_valider)
|
||||||
|
self.horizontalLayout_2.addLayout(self.verticalLayout_4)
|
||||||
|
|
||||||
|
self.retranslateUi(Form)
|
||||||
|
QtCore.QMetaObject.connectSlotsByName(Form)
|
||||||
|
|
||||||
|
def retranslateUi(self, Form):
|
||||||
|
Form.setWindowTitle(_translate("Form", "Borne", None))
|
||||||
|
self.btn_Voiture.setText(_translate("Form", "Detection Arrivee Voiture", None))
|
||||||
|
self.label_4.setText(_translate("Form", "NomParking", None))
|
||||||
|
self.label.setText(_translate("Form", "Carte Membre ID ", None))
|
||||||
|
self.btn_validerID.setText(_translate("Form", "Valider", None))
|
||||||
|
self.label_2.setText(_translate("Form", "Non membre", None))
|
||||||
|
self.btn_validerNonMembre.setText(_translate("Form", "Valider", None))
|
||||||
|
self.btn_cb.setText(_translate("Form", "PayerAvecCarte", None))
|
||||||
|
self.btn_precedent.setText(_translate("Form", "<", None))
|
||||||
|
self.btn_annuler.setText(_translate("Form", "Annuler", None))
|
||||||
|
self.btn_suivant.setText(_translate("Form", ">", None))
|
||||||
|
self.btn_valider.setText(_translate("Form", "Valider", None))
|
||||||
|
|
42
ui/borne.ui
42
ui/borne.ui
@ -11,9 +11,9 @@
|
|||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Form</string>
|
<string>Borne</string>
|
||||||
</property>
|
</property>
|
||||||
<widget class="QPushButton" name="pushButton">
|
<widget class="QPushButton" name="btn_Voiture">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>90</x>
|
<x>90</x>
|
||||||
@ -49,7 +49,7 @@
|
|||||||
<string>NomParking</string>
|
<string>NomParking</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>60</x>
|
<x>60</x>
|
||||||
@ -69,10 +69,10 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLineEdit" name="lineEdit"/>
|
<widget class="QLineEdit" name="lineEdit_id"/>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_2">
|
<widget class="QPushButton" name="btn_validerID">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Valider</string>
|
<string>Valider</string>
|
||||||
</property>
|
</property>
|
||||||
@ -90,14 +90,14 @@
|
|||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_3">
|
<widget class="QPushButton" name="btn_validerNonMembre">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Valider</string>
|
<string>Valider</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_4">
|
<widget class="QPushButton" name="btn_cb">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>PayerAvecCarte</string>
|
<string>PayerAvecCarte</string>
|
||||||
</property>
|
</property>
|
||||||
@ -107,7 +107,7 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<widget class="QWidget" name="">
|
<widget class="QWidget" name="layoutWidget">
|
||||||
<property name="geometry">
|
<property name="geometry">
|
||||||
<rect>
|
<rect>
|
||||||
<x>70</x>
|
<x>70</x>
|
||||||
@ -120,14 +120,14 @@
|
|||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_5">
|
<layout class="QVBoxLayout" name="verticalLayout_5">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_7">
|
<widget class="QPushButton" name="btn_precedent">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string><</string>
|
<string><</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_10">
|
<widget class="QPushButton" name="btn_annuler">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Annuler</string>
|
<string>Annuler</string>
|
||||||
</property>
|
</property>
|
||||||
@ -138,14 +138,14 @@
|
|||||||
<item>
|
<item>
|
||||||
<layout class="QVBoxLayout" name="verticalLayout_4">
|
<layout class="QVBoxLayout" name="verticalLayout_4">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_8">
|
<widget class="QPushButton" name="btn_suivant">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>></string>
|
<string>></string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_9">
|
<widget class="QPushButton" name="btn_valider">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Valider</string>
|
<string>Valider</string>
|
||||||
</property>
|
</property>
|
||||||
@ -155,22 +155,10 @@
|
|||||||
</item>
|
</item>
|
||||||
</layout>
|
</layout>
|
||||||
</widget>
|
</widget>
|
||||||
<zorder>pushButton</zorder>
|
<zorder>layoutWidget</zorder>
|
||||||
<zorder>label</zorder>
|
<zorder>btn_Voiture</zorder>
|
||||||
<zorder>lineEdit</zorder>
|
|
||||||
<zorder>pushButton_2</zorder>
|
|
||||||
<zorder>pushButton_3</zorder>
|
|
||||||
<zorder>label_2</zorder>
|
|
||||||
<zorder>lcdNumber</zorder>
|
<zorder>lcdNumber</zorder>
|
||||||
<zorder></zorder>
|
<zorder>layoutWidget</zorder>
|
||||||
<zorder>label_2</zorder>
|
|
||||||
<zorder>pushButton_3</zorder>
|
|
||||||
<zorder>pushButton_4</zorder>
|
|
||||||
<zorder></zorder>
|
|
||||||
<zorder>pushButton_7</zorder>
|
|
||||||
<zorder>pushButton_8</zorder>
|
|
||||||
<zorder>pushButton_9</zorder>
|
|
||||||
<zorder>pushButton_10</zorder>
|
|
||||||
<zorder>label_4</zorder>
|
<zorder>label_4</zorder>
|
||||||
</widget>
|
</widget>
|
||||||
<resources/>
|
<resources/>
|
||||||
|
103
ui/creaParking.py
Normal file
103
ui/creaParking.py
Normal file
@ -0,0 +1,103 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Form implementation generated from reading ui file 'creationParking.ui'
|
||||||
|
#
|
||||||
|
# Created: Fri Dec 26 17:33:19 2014
|
||||||
|
# by: PyQt4 UI code generator 4.11.3
|
||||||
|
#
|
||||||
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
|
||||||
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
|
try:
|
||||||
|
_fromUtf8 = QtCore.QString.fromUtf8
|
||||||
|
except AttributeError:
|
||||||
|
def _fromUtf8(s):
|
||||||
|
return s
|
||||||
|
|
||||||
|
try:
|
||||||
|
_encoding = QtGui.QApplication.UnicodeUTF8
|
||||||
|
def _translate(context, text, disambig):
|
||||||
|
return QtGui.QApplication.translate(context, text, disambig, _encoding)
|
||||||
|
except AttributeError:
|
||||||
|
def _translate(context, text, disambig):
|
||||||
|
return QtGui.QApplication.translate(context, text, disambig)
|
||||||
|
|
||||||
|
class Ui_Form(object):
|
||||||
|
def setupUi(self, Form):
|
||||||
|
Form.setObjectName(_fromUtf8("Form"))
|
||||||
|
Form.resize(400, 300)
|
||||||
|
self.tableWidget = QtGui.QTableWidget(Form)
|
||||||
|
self.tableWidget.setGeometry(QtCore.QRect(30, 110, 331, 101))
|
||||||
|
self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
|
||||||
|
self.tableWidget.setColumnCount(0)
|
||||||
|
self.tableWidget.setRowCount(0)
|
||||||
|
self.layoutWidget = QtGui.QWidget(Form)
|
||||||
|
self.layoutWidget.setGeometry(QtCore.QRect(50, 10, 291, 89))
|
||||||
|
self.layoutWidget.setObjectName(_fromUtf8("layoutWidget"))
|
||||||
|
self.horizontalLayout = QtGui.QHBoxLayout(self.layoutWidget)
|
||||||
|
self.horizontalLayout.setMargin(0)
|
||||||
|
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
|
||||||
|
self.verticalLayout = QtGui.QVBoxLayout()
|
||||||
|
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
|
||||||
|
self.label = QtGui.QLabel(self.layoutWidget)
|
||||||
|
self.label.setObjectName(_fromUtf8("label"))
|
||||||
|
self.verticalLayout.addWidget(self.label)
|
||||||
|
self.label_2 = QtGui.QLabel(self.layoutWidget)
|
||||||
|
self.label_2.setObjectName(_fromUtf8("label_2"))
|
||||||
|
self.verticalLayout.addWidget(self.label_2)
|
||||||
|
self.label_3 = QtGui.QLabel(self.layoutWidget)
|
||||||
|
self.label_3.setObjectName(_fromUtf8("label_3"))
|
||||||
|
self.verticalLayout.addWidget(self.label_3)
|
||||||
|
self.horizontalLayout.addLayout(self.verticalLayout)
|
||||||
|
self.verticalLayout_2 = QtGui.QVBoxLayout()
|
||||||
|
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
|
||||||
|
self.lineEdit_nom = QtGui.QLineEdit(self.layoutWidget)
|
||||||
|
self.lineEdit_nom.setObjectName(_fromUtf8("lineEdit_nom"))
|
||||||
|
self.verticalLayout_2.addWidget(self.lineEdit_nom)
|
||||||
|
self.lineEdit_nbNiv = QtGui.QLineEdit(self.layoutWidget)
|
||||||
|
self.lineEdit_nbNiv.setObjectName(_fromUtf8("lineEdit_nbNiv"))
|
||||||
|
self.verticalLayout_2.addWidget(self.lineEdit_nbNiv)
|
||||||
|
self.btn_ajouterPlaces = QtGui.QPushButton(self.layoutWidget)
|
||||||
|
self.btn_ajouterPlaces.setObjectName(_fromUtf8("btn_ajouterPlaces"))
|
||||||
|
self.verticalLayout_2.addWidget(self.btn_ajouterPlaces)
|
||||||
|
self.horizontalLayout.addLayout(self.verticalLayout_2)
|
||||||
|
self.layoutWidget1 = QtGui.QWidget(Form)
|
||||||
|
self.layoutWidget1.setGeometry(QtCore.QRect(90, 270, 201, 29))
|
||||||
|
self.layoutWidget1.setObjectName(_fromUtf8("layoutWidget1"))
|
||||||
|
self.horizontalLayout_2 = QtGui.QHBoxLayout(self.layoutWidget1)
|
||||||
|
self.horizontalLayout_2.setMargin(0)
|
||||||
|
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
|
||||||
|
self.pushButton_2 = QtGui.QPushButton(self.layoutWidget1)
|
||||||
|
self.pushButton_2.setObjectName(_fromUtf8("pushButton_2"))
|
||||||
|
self.horizontalLayout_2.addWidget(self.pushButton_2)
|
||||||
|
self.pushButton = QtGui.QPushButton(self.layoutWidget1)
|
||||||
|
self.pushButton.setObjectName(_fromUtf8("pushButton"))
|
||||||
|
self.horizontalLayout_2.addWidget(self.pushButton)
|
||||||
|
self.layoutWidget2 = QtGui.QWidget(Form)
|
||||||
|
self.layoutWidget2.setGeometry(QtCore.QRect(60, 230, 275, 25))
|
||||||
|
self.layoutWidget2.setObjectName(_fromUtf8("layoutWidget2"))
|
||||||
|
self.horizontalLayout_3 = QtGui.QHBoxLayout(self.layoutWidget2)
|
||||||
|
self.horizontalLayout_3.setMargin(0)
|
||||||
|
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
|
||||||
|
self.label_4 = QtGui.QLabel(self.layoutWidget2)
|
||||||
|
self.label_4.setObjectName(_fromUtf8("label_4"))
|
||||||
|
self.horizontalLayout_3.addWidget(self.label_4)
|
||||||
|
self.nbPlacesTotal = QtGui.QLabel(self.layoutWidget2)
|
||||||
|
self.nbPlacesTotal.setObjectName(_fromUtf8("nbPlacesTotal"))
|
||||||
|
self.horizontalLayout_3.addWidget(self.nbPlacesTotal)
|
||||||
|
|
||||||
|
self.retranslateUi(Form)
|
||||||
|
QtCore.QMetaObject.connectSlotsByName(Form)
|
||||||
|
|
||||||
|
def retranslateUi(self, Form):
|
||||||
|
Form.setWindowTitle(_translate("Form", "Creation Parking", None))
|
||||||
|
self.label.setText(_translate("Form", "Nom", None))
|
||||||
|
self.label_2.setText(_translate("Form", "Nombre de niveaux :", None))
|
||||||
|
self.label_3.setText(_translate("Form", "Places par niveau :", None))
|
||||||
|
self.btn_ajouterPlaces.setText(_translate("Form", "Ajouter places", None))
|
||||||
|
self.pushButton_2.setText(_translate("Form", "Annuler", None))
|
||||||
|
self.pushButton.setText(_translate("Form", "Valider", None))
|
||||||
|
self.label_4.setText(_translate("Form", "Nombre Places Total : ", None))
|
||||||
|
self.nbPlacesTotal.setText(_translate("Form", "TextLabel", None))
|
||||||
|
|
135
ui/creationParking.ui
Normal file
135
ui/creationParking.ui
Normal file
@ -0,0 +1,135 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>Form</class>
|
||||||
|
<widget class="QWidget" name="Form">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>400</width>
|
||||||
|
<height>300</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Creation Parking</string>
|
||||||
|
</property>
|
||||||
|
<widget class="QTableWidget" name="tableWidget">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>30</x>
|
||||||
|
<y>110</y>
|
||||||
|
<width>331</width>
|
||||||
|
<height>101</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="layoutWidget">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>50</x>
|
||||||
|
<y>10</y>
|
||||||
|
<width>291</width>
|
||||||
|
<height>89</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
<item>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="text">
|
||||||
|
<string>Nom</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="text">
|
||||||
|
<string>Nombre de niveaux :</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="text">
|
||||||
|
<string>Places par niveau :</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
||||||
|
<item>
|
||||||
|
<widget class="QLineEdit" name="lineEdit_nom"/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLineEdit" name="lineEdit_nbNiv"/>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="btn_ajouterPlaces">
|
||||||
|
<property name="text">
|
||||||
|
<string>Ajouter places</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="layoutWidget">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>90</x>
|
||||||
|
<y>270</y>
|
||||||
|
<width>201</width>
|
||||||
|
<height>29</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton_2">
|
||||||
|
<property name="text">
|
||||||
|
<string>Annuler</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton">
|
||||||
|
<property name="text">
|
||||||
|
<string>Valider</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="layoutWidget">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>60</x>
|
||||||
|
<y>230</y>
|
||||||
|
<width>275</width>
|
||||||
|
<height>25</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="label_4">
|
||||||
|
<property name="text">
|
||||||
|
<string>Nombre Places Total : </string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QLabel" name="nbPlacesTotal">
|
||||||
|
<property name="text">
|
||||||
|
<string>TextLabel</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
87
ui/creationPlaces.ui
Normal file
87
ui/creationPlaces.ui
Normal file
@ -0,0 +1,87 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>Form</class>
|
||||||
|
<widget class="QWidget" name="Form">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>339</width>
|
||||||
|
<height>202</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Creation Type Place</string>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="formLayoutWidget">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>50</x>
|
||||||
|
<y>40</y>
|
||||||
|
<width>241</width>
|
||||||
|
<height>83</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QFormLayout" name="formLayout">
|
||||||
|
<item row="0" column="0">
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="text">
|
||||||
|
<string>Hauteur</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="text">
|
||||||
|
<string>Longueur</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="0">
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="text">
|
||||||
|
<string>Nombre</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="1">
|
||||||
|
<widget class="QLineEdit" name="lineEdit"/>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="1">
|
||||||
|
<widget class="QLineEdit" name="lineEdit_2"/>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="1">
|
||||||
|
<widget class="QLineEdit" name="lineEdit_3"/>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>81</x>
|
||||||
|
<y>151</y>
|
||||||
|
<width>171</width>
|
||||||
|
<height>29</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton_2">
|
||||||
|
<property name="text">
|
||||||
|
<string>Annuler</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton">
|
||||||
|
<property name="text">
|
||||||
|
<string>Valider</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
81
ui/exit.ui
Normal file
81
ui/exit.ui
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>Dialog</class>
|
||||||
|
<widget class="QDialog" name="Dialog">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>373</width>
|
||||||
|
<height>92</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Quitter</string>
|
||||||
|
</property>
|
||||||
|
<widget class="QDialogButtonBox" name="buttonBox">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>280</x>
|
||||||
|
<y>10</y>
|
||||||
|
<width>81</width>
|
||||||
|
<height>241</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="orientation">
|
||||||
|
<enum>Qt::Vertical</enum>
|
||||||
|
</property>
|
||||||
|
<property name="standardButtons">
|
||||||
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>50</x>
|
||||||
|
<y>30</y>
|
||||||
|
<width>221</width>
|
||||||
|
<height>16</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Voulez vous vraiment quitter ?</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections>
|
||||||
|
<connection>
|
||||||
|
<sender>buttonBox</sender>
|
||||||
|
<signal>accepted()</signal>
|
||||||
|
<receiver>Dialog</receiver>
|
||||||
|
<slot>accept()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>248</x>
|
||||||
|
<y>254</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>157</x>
|
||||||
|
<y>274</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
|
<connection>
|
||||||
|
<sender>buttonBox</sender>
|
||||||
|
<signal>rejected()</signal>
|
||||||
|
<receiver>Dialog</receiver>
|
||||||
|
<slot>reject()</slot>
|
||||||
|
<hints>
|
||||||
|
<hint type="sourcelabel">
|
||||||
|
<x>316</x>
|
||||||
|
<y>260</y>
|
||||||
|
</hint>
|
||||||
|
<hint type="destinationlabel">
|
||||||
|
<x>286</x>
|
||||||
|
<y>274</y>
|
||||||
|
</hint>
|
||||||
|
</hints>
|
||||||
|
</connection>
|
||||||
|
</connections>
|
||||||
|
</ui>
|
189
ui/main.py
Normal file
189
ui/main.py
Normal file
@ -0,0 +1,189 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
|
||||||
|
# Form implementation generated from reading ui file 'main.ui'
|
||||||
|
#
|
||||||
|
# Created: Fri Dec 26 17:32:35 2014
|
||||||
|
# by: PyQt4 UI code generator 4.11.3
|
||||||
|
#
|
||||||
|
# WARNING! All changes made in this file will be lost!
|
||||||
|
|
||||||
|
from PyQt4 import QtCore, QtGui
|
||||||
|
|
||||||
|
try:
|
||||||
|
_fromUtf8 = QtCore.QString.fromUtf8
|
||||||
|
except AttributeError:
|
||||||
|
def _fromUtf8(s):
|
||||||
|
return s
|
||||||
|
|
||||||
|
try:
|
||||||
|
_encoding = QtGui.QApplication.UnicodeUTF8
|
||||||
|
def _translate(context, text, disambig):
|
||||||
|
return QtGui.QApplication.translate(context, text, disambig, _encoding)
|
||||||
|
except AttributeError:
|
||||||
|
def _translate(context, text, disambig):
|
||||||
|
return QtGui.QApplication.translate(context, text, disambig)
|
||||||
|
|
||||||
|
class Ui_MainWindow(object):
|
||||||
|
def setupUi(self, MainWindow):
|
||||||
|
MainWindow.setObjectName(_fromUtf8("MainWindow"))
|
||||||
|
MainWindow.resize(561, 479)
|
||||||
|
self.centralwidget = QtGui.QWidget(MainWindow)
|
||||||
|
self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
|
||||||
|
self.tabWidget = QtGui.QTabWidget(self.centralwidget)
|
||||||
|
self.tabWidget.setGeometry(QtCore.QRect(0, 0, 561, 441))
|
||||||
|
self.tabWidget.setObjectName(_fromUtf8("tabWidget"))
|
||||||
|
self.tab = QtGui.QWidget()
|
||||||
|
self.tab.setObjectName(_fromUtf8("tab"))
|
||||||
|
self.label = QtGui.QLabel(self.tab)
|
||||||
|
self.label.setGeometry(QtCore.QRect(40, 10, 61, 15))
|
||||||
|
self.label.setObjectName(_fromUtf8("label"))
|
||||||
|
self.listWidget = QtGui.QListWidget(self.tab)
|
||||||
|
self.listWidget.setGeometry(QtCore.QRect(60, 50, 431, 261))
|
||||||
|
self.listWidget.setObjectName(_fromUtf8("listWidget"))
|
||||||
|
self.tabWidget.addTab(self.tab, _fromUtf8(""))
|
||||||
|
self.tab_2 = QtGui.QWidget()
|
||||||
|
self.tab_2.setObjectName(_fromUtf8("tab_2"))
|
||||||
|
self.verticalLayout = QtGui.QVBoxLayout(self.tab_2)
|
||||||
|
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
|
||||||
|
self.comboBox = QtGui.QComboBox(self.tab_2)
|
||||||
|
self.comboBox.setObjectName(_fromUtf8("comboBox"))
|
||||||
|
self.verticalLayout.addWidget(self.comboBox)
|
||||||
|
self.formLayout_3 = QtGui.QFormLayout()
|
||||||
|
self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
|
||||||
|
self.label_13 = QtGui.QLabel(self.tab_2)
|
||||||
|
self.label_13.setObjectName(_fromUtf8("label_13"))
|
||||||
|
self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_13)
|
||||||
|
self.label_14 = QtGui.QLabel(self.tab_2)
|
||||||
|
self.label_14.setObjectName(_fromUtf8("label_14"))
|
||||||
|
self.formLayout_3.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_14)
|
||||||
|
self.label_15 = QtGui.QLabel(self.tab_2)
|
||||||
|
self.label_15.setObjectName(_fromUtf8("label_15"))
|
||||||
|
self.formLayout_3.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_15)
|
||||||
|
self.label_16 = QtGui.QLabel(self.tab_2)
|
||||||
|
self.label_16.setObjectName(_fromUtf8("label_16"))
|
||||||
|
self.formLayout_3.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_16)
|
||||||
|
self.label_17 = QtGui.QLabel(self.tab_2)
|
||||||
|
self.label_17.setObjectName(_fromUtf8("label_17"))
|
||||||
|
self.formLayout_3.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_17)
|
||||||
|
self.nom = QtGui.QLabel(self.tab_2)
|
||||||
|
self.nom.setObjectName(_fromUtf8("nom"))
|
||||||
|
self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.nom)
|
||||||
|
self.niveau = QtGui.QLabel(self.tab_2)
|
||||||
|
self.niveau.setObjectName(_fromUtf8("niveau"))
|
||||||
|
self.formLayout_3.setWidget(1, QtGui.QFormLayout.FieldRole, self.niveau)
|
||||||
|
self.placesParNiveau = QtGui.QLabel(self.tab_2)
|
||||||
|
self.placesParNiveau.setObjectName(_fromUtf8("placesParNiveau"))
|
||||||
|
self.formLayout_3.setWidget(2, QtGui.QFormLayout.FieldRole, self.placesParNiveau)
|
||||||
|
self.placesDispo = QtGui.QLabel(self.tab_2)
|
||||||
|
self.placesDispo.setObjectName(_fromUtf8("placesDispo"))
|
||||||
|
self.formLayout_3.setWidget(3, QtGui.QFormLayout.FieldRole, self.placesDispo)
|
||||||
|
self.placesSuperAbo = QtGui.QLabel(self.tab_2)
|
||||||
|
self.placesSuperAbo.setObjectName(_fromUtf8("placesSuperAbo"))
|
||||||
|
self.formLayout_3.setWidget(4, QtGui.QFormLayout.FieldRole, self.placesSuperAbo)
|
||||||
|
self.verticalLayout.addLayout(self.formLayout_3)
|
||||||
|
self.horizontalLayout = QtGui.QHBoxLayout()
|
||||||
|
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
|
||||||
|
self.btn_details = QtGui.QPushButton(self.tab_2)
|
||||||
|
self.btn_details.setObjectName(_fromUtf8("btn_details"))
|
||||||
|
self.horizontalLayout.addWidget(self.btn_details)
|
||||||
|
self.btn_borne = QtGui.QPushButton(self.tab_2)
|
||||||
|
self.btn_borne.setObjectName(_fromUtf8("btn_borne"))
|
||||||
|
self.horizontalLayout.addWidget(self.btn_borne)
|
||||||
|
self.verticalLayout.addLayout(self.horizontalLayout)
|
||||||
|
self.btn_creer = QtGui.QPushButton(self.tab_2)
|
||||||
|
self.btn_creer.setObjectName(_fromUtf8("btn_creer"))
|
||||||
|
self.verticalLayout.addWidget(self.btn_creer)
|
||||||
|
self.btn_modifier = QtGui.QPushButton(self.tab_2)
|
||||||
|
self.btn_modifier.setObjectName(_fromUtf8("btn_modifier"))
|
||||||
|
self.verticalLayout.addWidget(self.btn_modifier)
|
||||||
|
self.btn_supprimer = QtGui.QPushButton(self.tab_2)
|
||||||
|
self.btn_supprimer.setObjectName(_fromUtf8("btn_supprimer"))
|
||||||
|
self.verticalLayout.addWidget(self.btn_supprimer)
|
||||||
|
self.tabWidget.addTab(self.tab_2, _fromUtf8(""))
|
||||||
|
self.tab_5 = QtGui.QWidget()
|
||||||
|
self.tab_5.setObjectName(_fromUtf8("tab_5"))
|
||||||
|
self.tableWidget = QtGui.QTableWidget(self.tab_5)
|
||||||
|
self.tableWidget.setGeometry(QtCore.QRect(60, 20, 431, 351))
|
||||||
|
self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
|
||||||
|
self.tableWidget.setColumnCount(0)
|
||||||
|
self.tableWidget.setRowCount(0)
|
||||||
|
self.tabWidget.addTab(self.tab_5, _fromUtf8(""))
|
||||||
|
self.tab_3 = QtGui.QWidget()
|
||||||
|
self.tab_3.setObjectName(_fromUtf8("tab_3"))
|
||||||
|
self.tabWidget.addTab(self.tab_3, _fromUtf8(""))
|
||||||
|
MainWindow.setCentralWidget(self.centralwidget)
|
||||||
|
self.menubar = QtGui.QMenuBar(MainWindow)
|
||||||
|
self.menubar.setGeometry(QtCore.QRect(0, 0, 561, 25))
|
||||||
|
self.menubar.setObjectName(_fromUtf8("menubar"))
|
||||||
|
self.menuFichier = QtGui.QMenu(self.menubar)
|
||||||
|
self.menuFichier.setObjectName(_fromUtf8("menuFichier"))
|
||||||
|
self.menuA_propos = QtGui.QMenu(self.menubar)
|
||||||
|
self.menuA_propos.setObjectName(_fromUtf8("menuA_propos"))
|
||||||
|
MainWindow.setMenuBar(self.menubar)
|
||||||
|
self.statusbar = QtGui.QStatusBar(MainWindow)
|
||||||
|
self.statusbar.setObjectName(_fromUtf8("statusbar"))
|
||||||
|
MainWindow.setStatusBar(self.statusbar)
|
||||||
|
self.actionCharger = QtGui.QAction(MainWindow)
|
||||||
|
self.actionCharger.setObjectName(_fromUtf8("actionCharger"))
|
||||||
|
self.actionSauvegarder = QtGui.QAction(MainWindow)
|
||||||
|
self.actionSauvegarder.setObjectName(_fromUtf8("actionSauvegarder"))
|
||||||
|
self.actionAfficher = QtGui.QAction(MainWindow)
|
||||||
|
self.actionAfficher.setObjectName(_fromUtf8("actionAfficher"))
|
||||||
|
self.actionNouveau = QtGui.QAction(MainWindow)
|
||||||
|
self.actionNouveau.setObjectName(_fromUtf8("actionNouveau"))
|
||||||
|
self.actionRechercher = QtGui.QAction(MainWindow)
|
||||||
|
self.actionRechercher.setObjectName(_fromUtf8("actionRechercher"))
|
||||||
|
self.actionListe = QtGui.QAction(MainWindow)
|
||||||
|
self.actionListe.setObjectName(_fromUtf8("actionListe"))
|
||||||
|
self.actionAjouter = QtGui.QAction(MainWindow)
|
||||||
|
self.actionAjouter.setObjectName(_fromUtf8("actionAjouter"))
|
||||||
|
self.actionQuitter = QtGui.QAction(MainWindow)
|
||||||
|
self.actionQuitter.setObjectName(_fromUtf8("actionQuitter"))
|
||||||
|
self.action = QtGui.QAction(MainWindow)
|
||||||
|
self.action.setObjectName(_fromUtf8("action"))
|
||||||
|
self.menuFichier.addAction(self.actionCharger)
|
||||||
|
self.menuFichier.addAction(self.actionSauvegarder)
|
||||||
|
self.menuFichier.addSeparator()
|
||||||
|
self.menuFichier.addAction(self.actionQuitter)
|
||||||
|
self.menuA_propos.addAction(self.action)
|
||||||
|
self.menubar.addAction(self.menuFichier.menuAction())
|
||||||
|
self.menubar.addAction(self.menuA_propos.menuAction())
|
||||||
|
|
||||||
|
self.retranslateUi(MainWindow)
|
||||||
|
self.tabWidget.setCurrentIndex(1)
|
||||||
|
QtCore.QMetaObject.connectSlotsByName(MainWindow)
|
||||||
|
|
||||||
|
def retranslateUi(self, MainWindow):
|
||||||
|
MainWindow.setWindowTitle(_translate("MainWindow", "Administration", None))
|
||||||
|
self.label.setText(_translate("MainWindow", "Activité :", None))
|
||||||
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab), _translate("MainWindow", "Activite", None))
|
||||||
|
self.label_13.setText(_translate("MainWindow", "Nom :", None))
|
||||||
|
self.label_14.setText(_translate("MainWindow", "Niveau :", None))
|
||||||
|
self.label_15.setText(_translate("MainWindow", "Places / niveau :", None))
|
||||||
|
self.label_16.setText(_translate("MainWindow", "Places disponible :", None))
|
||||||
|
self.label_17.setText(_translate("MainWindow", "Places Reserve Super Abo : ", None))
|
||||||
|
self.nom.setText(_translate("MainWindow", "TextLabel", None))
|
||||||
|
self.niveau.setText(_translate("MainWindow", "TextLabel", None))
|
||||||
|
self.placesParNiveau.setText(_translate("MainWindow", "TextLabel", None))
|
||||||
|
self.placesDispo.setText(_translate("MainWindow", "TextLabel", None))
|
||||||
|
self.placesSuperAbo.setText(_translate("MainWindow", "TextLabel", None))
|
||||||
|
self.btn_details.setText(_translate("MainWindow", "Details Places", None))
|
||||||
|
self.btn_borne.setText(_translate("MainWindow", "Borne", None))
|
||||||
|
self.btn_creer.setText(_translate("MainWindow", "Créer", None))
|
||||||
|
self.btn_modifier.setText(_translate("MainWindow", "Modifier", None))
|
||||||
|
self.btn_supprimer.setText(_translate("MainWindow", "Supprimer", None))
|
||||||
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_2), _translate("MainWindow", "Parkings", None))
|
||||||
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_5), _translate("MainWindow", "Membres", None))
|
||||||
|
self.tabWidget.setTabText(self.tabWidget.indexOf(self.tab_3), _translate("MainWindow", "Services", None))
|
||||||
|
self.menuFichier.setTitle(_translate("MainWindow", "Fichier", None))
|
||||||
|
self.menuA_propos.setTitle(_translate("MainWindow", "A propos", None))
|
||||||
|
self.actionCharger.setText(_translate("MainWindow", "Charger", None))
|
||||||
|
self.actionSauvegarder.setText(_translate("MainWindow", "Sauvegarder", None))
|
||||||
|
self.actionAfficher.setText(_translate("MainWindow", "Afficher", None))
|
||||||
|
self.actionNouveau.setText(_translate("MainWindow", "Nouveau", None))
|
||||||
|
self.actionRechercher.setText(_translate("MainWindow", "Rechercher", None))
|
||||||
|
self.actionListe.setText(_translate("MainWindow", "Liste", None))
|
||||||
|
self.actionAjouter.setText(_translate("MainWindow", "Ajouter", None))
|
||||||
|
self.actionQuitter.setText(_translate("MainWindow", "Quitter", None))
|
||||||
|
self.action.setText(_translate("MainWindow", "?", None))
|
||||||
|
|
26
ui/main.ui
26
ui/main.ui
@ -81,54 +81,54 @@
|
|||||||
<item row="2" column="0">
|
<item row="2" column="0">
|
||||||
<widget class="QLabel" name="label_15">
|
<widget class="QLabel" name="label_15">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Place / niveau :</string>
|
<string>Places / niveau :</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="0">
|
<item row="3" column="0">
|
||||||
<widget class="QLabel" name="label_16">
|
<widget class="QLabel" name="label_16">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Place disponible :</string>
|
<string>Places disponible :</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0">
|
<item row="4" column="0">
|
||||||
<widget class="QLabel" name="label_17">
|
<widget class="QLabel" name="label_17">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Place Reserve Super Abo : </string>
|
<string>Places Reserve Super Abo : </string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="0" column="1">
|
<item row="0" column="1">
|
||||||
<widget class="QLabel" name="label_2">
|
<widget class="QLabel" name="nom">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>TextLabel</string>
|
<string>TextLabel</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="1" column="1">
|
<item row="1" column="1">
|
||||||
<widget class="QLabel" name="label_3">
|
<widget class="QLabel" name="niveau">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>TextLabel</string>
|
<string>TextLabel</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="1">
|
<item row="2" column="1">
|
||||||
<widget class="QLabel" name="label_4">
|
<widget class="QLabel" name="placesParNiveau">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>TextLabel</string>
|
<string>TextLabel</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="1">
|
<item row="3" column="1">
|
||||||
<widget class="QLabel" name="label_5">
|
<widget class="QLabel" name="placesDispo">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>TextLabel</string>
|
<string>TextLabel</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="1">
|
<item row="4" column="1">
|
||||||
<widget class="QLabel" name="label_6">
|
<widget class="QLabel" name="placesSuperAbo">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>TextLabel</string>
|
<string>TextLabel</string>
|
||||||
</property>
|
</property>
|
||||||
@ -139,14 +139,14 @@
|
|||||||
<item>
|
<item>
|
||||||
<layout class="QHBoxLayout" name="horizontalLayout">
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_4">
|
<widget class="QPushButton" name="btn_details">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Details Places</string>
|
<string>Details Places</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_3">
|
<widget class="QPushButton" name="btn_borne">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Borne</string>
|
<string>Borne</string>
|
||||||
</property>
|
</property>
|
||||||
@ -155,21 +155,21 @@
|
|||||||
</layout>
|
</layout>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_5">
|
<widget class="QPushButton" name="btn_creer">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Créer</string>
|
<string>Créer</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton_2">
|
<widget class="QPushButton" name="btn_modifier">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Modifier</string>
|
<string>Modifier</string>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="pushButton">
|
<widget class="QPushButton" name="btn_supprimer">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Supprimer</string>
|
<string>Supprimer</string>
|
||||||
</property>
|
</property>
|
||||||
|
97
ui/membre.ui
Normal file
97
ui/membre.ui
Normal file
@ -0,0 +1,97 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>Form</class>
|
||||||
|
<widget class="QWidget" name="Form">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>400</width>
|
||||||
|
<height>300</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Form</string>
|
||||||
|
</property>
|
||||||
|
<widget class="QWidget" name="formLayoutWidget">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>100</x>
|
||||||
|
<y>60</y>
|
||||||
|
<width>231</width>
|
||||||
|
<height>141</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QFormLayout" name="formLayout">
|
||||||
|
<item row="0" column="0">
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="text">
|
||||||
|
<string>Nom</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="text">
|
||||||
|
<string>Prenom</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="1">
|
||||||
|
<widget class="QLineEdit" name="lineEdit"/>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="1">
|
||||||
|
<widget class="QLineEdit" name="lineEdit_2"/>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="0">
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="text">
|
||||||
|
<string>Abonnement</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="1">
|
||||||
|
<widget class="QComboBox" name="comboBox"/>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="0">
|
||||||
|
<widget class="QLabel" name="label_4">
|
||||||
|
<property name="text">
|
||||||
|
<string>Fin</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="1">
|
||||||
|
<widget class="QDateEdit" name="dateEdit"/>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>100</x>
|
||||||
|
<y>240</y>
|
||||||
|
<width>211</width>
|
||||||
|
<height>29</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton">
|
||||||
|
<property name="text">
|
||||||
|
<string>Modifier</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item>
|
||||||
|
<widget class="QPushButton" name="pushButton_2">
|
||||||
|
<property name="text">
|
||||||
|
<string>Annuler</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
117
ui/parkings.ui
Normal file
117
ui/parkings.ui
Normal file
@ -0,0 +1,117 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<ui version="4.0">
|
||||||
|
<class>Form</class>
|
||||||
|
<widget class="QWidget" name="Form">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>0</x>
|
||||||
|
<y>0</y>
|
||||||
|
<width>385</width>
|
||||||
|
<height>286</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="windowTitle">
|
||||||
|
<string>Form</string>
|
||||||
|
</property>
|
||||||
|
<widget class="QComboBox" name="comboBox">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>40</x>
|
||||||
|
<y>20</y>
|
||||||
|
<width>321</width>
|
||||||
|
<height>27</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="pushButton">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>200</x>
|
||||||
|
<y>250</y>
|
||||||
|
<width>81</width>
|
||||||
|
<height>27</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Supprimer</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QPushButton" name="pushButton_2">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>60</x>
|
||||||
|
<y>250</y>
|
||||||
|
<width>101</width>
|
||||||
|
<height>27</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<property name="text">
|
||||||
|
<string>Creer/Modifier</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
<widget class="QWidget" name="formLayoutWidget">
|
||||||
|
<property name="geometry">
|
||||||
|
<rect>
|
||||||
|
<x>40</x>
|
||||||
|
<y>60</y>
|
||||||
|
<width>311</width>
|
||||||
|
<height>151</height>
|
||||||
|
</rect>
|
||||||
|
</property>
|
||||||
|
<layout class="QFormLayout" name="formLayout">
|
||||||
|
<item row="0" column="0">
|
||||||
|
<widget class="QLabel" name="label">
|
||||||
|
<property name="text">
|
||||||
|
<string>Nom :</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="0">
|
||||||
|
<widget class="QLabel" name="label_2">
|
||||||
|
<property name="text">
|
||||||
|
<string>Niveau :</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="0" column="1">
|
||||||
|
<widget class="QLineEdit" name="lineEdit"/>
|
||||||
|
</item>
|
||||||
|
<item row="1" column="1">
|
||||||
|
<widget class="QLineEdit" name="lineEdit_2"/>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="0">
|
||||||
|
<widget class="QLabel" name="label_3">
|
||||||
|
<property name="text">
|
||||||
|
<string>Place / niveau :</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="2" column="1">
|
||||||
|
<widget class="QLineEdit" name="lineEdit_3"/>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="0">
|
||||||
|
<widget class="QLabel" name="label_4">
|
||||||
|
<property name="text">
|
||||||
|
<string>Place disponible :</string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="3" column="1">
|
||||||
|
<widget class="QLineEdit" name="lineEdit_4"/>
|
||||||
|
</item>
|
||||||
|
<item row="4" column="0">
|
||||||
|
<widget class="QLabel" name="label_5">
|
||||||
|
<property name="text">
|
||||||
|
<string>Place Reserve Super Abo : </string>
|
||||||
|
</property>
|
||||||
|
</widget>
|
||||||
|
</item>
|
||||||
|
<item row="4" column="1">
|
||||||
|
<widget class="QLineEdit" name="lineEdit_5"/>
|
||||||
|
</item>
|
||||||
|
</layout>
|
||||||
|
</widget>
|
||||||
|
</widget>
|
||||||
|
<resources/>
|
||||||
|
<connections/>
|
||||||
|
</ui>
|
Reference in New Issue
Block a user