-
Notifications
You must be signed in to change notification settings - Fork 0
/
mainwindow.py
164 lines (157 loc) · 9.15 KB
/
mainwindow.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'mainwindow.ui'
#
# Created by: PyQt5 UI code generator 5.15.1
#
# WARNING: Any manual changes made to this file will be lost when pyuic5 is
# run again. Do not edit this file unless you know what you are doing.
from PyQt5 import QtCore, QtGui, QtWidgets
class Ui_MainWindow(object):
def setupUi(self, MainWindow):
MainWindow.setObjectName("Stock Control Program")
MainWindow.resize(1069, 826)
self.centralwidget = QtWidgets.QWidget(MainWindow)
self.centralwidget.setObjectName("centralwidget")
self.tableWidget = QtWidgets.QTableWidget(self.centralwidget)
self.tableWidget.setGeometry(QtCore.QRect(20, 370, 701, 371))
self.tableWidget.setColumnCount(0)
self.tableWidget.setObjectName("tableWidget")
self.tableWidget.setRowCount(0)
self.layoutWidget = QtWidgets.QWidget(self.centralwidget)
self.layoutWidget.setGeometry(QtCore.QRect(0, 20, 711, 251))
self.layoutWidget.setObjectName("layoutWidget")
self.verticalLayout = QtWidgets.QVBoxLayout(self.layoutWidget)
self.verticalLayout.setContentsMargins(0, 0, 0, 0)
self.verticalLayout.setObjectName("verticalLayout")
self.label = QtWidgets.QLabel(self.layoutWidget)
self.label.setObjectName("label")
self.verticalLayout.addWidget(self.label)
self.horizontalLayout = QtWidgets.QHBoxLayout()
self.horizontalLayout.setObjectName("horizontalLayout")
self.label_2 = QtWidgets.QLabel(self.layoutWidget)
self.label_2.setObjectName("label_2")
self.horizontalLayout.addWidget(self.label_2)
self.urunAdiKayit = QtWidgets.QLineEdit(self.layoutWidget)
self.urunAdiKayit.setObjectName("urunAdiKayit")
self.horizontalLayout.addWidget(self.urunAdiKayit)
self.label_3 = QtWidgets.QLabel(self.layoutWidget)
self.label_3.setObjectName("label_3")
self.horizontalLayout.addWidget(self.label_3)
self.urunSayisiKayit = QtWidgets.QLineEdit(self.layoutWidget)
self.urunSayisiKayit.setObjectName("urunSayisiKayit")
self.horizontalLayout.addWidget(self.urunSayisiKayit)
self.btnKaydet = QtWidgets.QPushButton(self.layoutWidget)
self.btnKaydet.setObjectName("btnKaydet")
self.horizontalLayout.addWidget(self.btnKaydet)
self.verticalLayout.addLayout(self.horizontalLayout)
self.label_6 = QtWidgets.QLabel(self.layoutWidget)
self.label_6.setObjectName("label_6")
self.verticalLayout.addWidget(self.label_6)
self.horizontalLayout_3 = QtWidgets.QHBoxLayout()
self.horizontalLayout_3.setObjectName("horizontalLayout_3")
self.label_7 = QtWidgets.QLabel(self.layoutWidget)
self.label_7.setObjectName("label_7")
self.horizontalLayout_3.addWidget(self.label_7)
self.urunAdiKullan = QtWidgets.QLineEdit(self.layoutWidget)
self.urunAdiKullan.setObjectName("urunAdiKullan")
self.horizontalLayout_3.addWidget(self.urunAdiKullan)
self.label_8 = QtWidgets.QLabel(self.layoutWidget)
self.label_8.setObjectName("label_8")
self.horizontalLayout_3.addWidget(self.label_8)
self.urunSayisiKullan = QtWidgets.QLineEdit(self.layoutWidget)
self.urunSayisiKullan.setObjectName("urunSayisiKullan")
self.horizontalLayout_3.addWidget(self.urunSayisiKullan)
self.btnKullan = QtWidgets.QPushButton(self.layoutWidget)
self.btnKullan.setObjectName("btnKullan")
self.horizontalLayout_3.addWidget(self.btnKullan)
self.verticalLayout.addLayout(self.horizontalLayout_3)
self.layoutWidget_2 = QtWidgets.QWidget(self.centralwidget)
self.layoutWidget_2.setGeometry(QtCore.QRect(780, 366, 251, 371))
self.layoutWidget_2.setObjectName("layoutWidget_2")
self.verticalLayout_5 = QtWidgets.QVBoxLayout(self.layoutWidget_2)
self.verticalLayout_5.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_5.setObjectName("verticalLayout_5")
self.label_10 = QtWidgets.QLabel(self.layoutWidget_2)
self.label_10.setObjectName("label_10")
self.verticalLayout_5.addWidget(self.label_10)
self.verticalLayout_4 = QtWidgets.QVBoxLayout()
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.lineEdit = QtWidgets.QLineEdit(self.layoutWidget_2)
self.lineEdit.setObjectName("lineEdit")
self.verticalLayout_4.addWidget(self.lineEdit)
self.btnEnvanteriListele = QtWidgets.QPushButton(self.layoutWidget_2)
self.btnEnvanteriListele.setObjectName("btnEnvanteriListele")
self.verticalLayout_4.addWidget(self.btnEnvanteriListele)
spacerItem = QtWidgets.QSpacerItem(20, 30, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_4.addItem(spacerItem)
self.verticalLayout_3 = QtWidgets.QVBoxLayout()
self.verticalLayout_3.setObjectName("verticalLayout_3")
self.horizontalLayout_5 = QtWidgets.QHBoxLayout()
self.horizontalLayout_5.setObjectName("horizontalLayout_5")
self.label_9 = QtWidgets.QLabel(self.layoutWidget_2)
self.label_9.setObjectName("label_9")
self.horizontalLayout_5.addWidget(self.label_9)
self.esikDeger = QtWidgets.QLineEdit(self.layoutWidget_2)
self.esikDeger.setObjectName("esikDeger")
self.horizontalLayout_5.addWidget(self.esikDeger)
self.verticalLayout_3.addLayout(self.horizontalLayout_5)
self.btnAzalanlariGoster = QtWidgets.QPushButton(self.layoutWidget_2)
self.btnAzalanlariGoster.setObjectName("btnAzalanlariGoster")
self.verticalLayout_3.addWidget(self.btnAzalanlariGoster)
spacerItem1 = QtWidgets.QSpacerItem(20, 50, QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Expanding)
self.verticalLayout_3.addItem(spacerItem1)
self.verticalLayout_4.addLayout(self.verticalLayout_3)
self.verticalLayout_5.addLayout(self.verticalLayout_4)
self.btnTemizle = QtWidgets.QPushButton(self.layoutWidget_2)
self.btnTemizle.setObjectName("btnTemizle")
self.verticalLayout_5.addWidget(self.btnTemizle)
self.layoutWidget_3 = QtWidgets.QWidget(self.centralwidget)
self.layoutWidget_3.setGeometry(QtCore.QRect(730, 20, 321, 121))
self.layoutWidget_3.setObjectName("layoutWidget_3")
self.verticalLayout_2 = QtWidgets.QVBoxLayout(self.layoutWidget_3)
self.verticalLayout_2.setContentsMargins(0, 0, 0, 0)
self.verticalLayout_2.setObjectName("verticalLayout_2")
self.label_4 = QtWidgets.QLabel(self.layoutWidget_3)
self.label_4.setObjectName("label_4")
self.verticalLayout_2.addWidget(self.label_4)
self.horizontalLayout_2 = QtWidgets.QHBoxLayout()
self.horizontalLayout_2.setObjectName("horizontalLayout_2")
self.label_5 = QtWidgets.QLabel(self.layoutWidget_3)
self.label_5.setObjectName("label_5")
self.horizontalLayout_2.addWidget(self.label_5)
self.urunIdSilmek = QtWidgets.QLineEdit(self.layoutWidget_3)
self.urunIdSilmek.setObjectName("urunIdSilmek")
self.horizontalLayout_2.addWidget(self.urunIdSilmek)
self.btnSil = QtWidgets.QPushButton(self.layoutWidget_3)
self.btnSil.setObjectName("btnSil")
self.horizontalLayout_2.addWidget(self.btnSil)
self.verticalLayout_2.addLayout(self.horizontalLayout_2)
MainWindow.setCentralWidget(self.centralwidget)
self.menubar = QtWidgets.QMenuBar(MainWindow)
self.menubar.setGeometry(QtCore.QRect(0, 0, 1069, 26))
self.menubar.setObjectName("menubar")
MainWindow.setMenuBar(self.menubar)
self.statusbar = QtWidgets.QStatusBar(MainWindow)
self.statusbar.setObjectName("statusbar")
MainWindow.setStatusBar(self.statusbar)
self.retranslateUi(MainWindow)
QtCore.QMetaObject.connectSlotsByName(MainWindow)
def retranslateUi(self, MainWindow):
_translate = QtCore.QCoreApplication.translate
MainWindow.setWindowTitle(_translate("MainWindow", "MainWindow"))
self.label.setText(_translate("MainWindow", "Product Load:"))
self.label_2.setText(_translate("MainWindow", "Product Name :"))
self.label_3.setText(_translate("MainWindow", "Product Unit:"))
self.btnKaydet.setText(_translate("MainWindow", "Save"))
self.label_6.setText(_translate("MainWindow", "Product Utilized:"))
self.label_7.setText(_translate("MainWindow", "Product Name:"))
self.label_8.setText(_translate("MainWindow", "Product Unit:"))
self.btnKullan.setText(_translate("MainWindow", "Decrease"))
self.label_10.setText(_translate("MainWindow", "Product Name for list: "))
self.btnEnvanteriListele.setText(_translate("MainWindow", "List"))
self.label_9.setText(_translate("MainWindow", "Threshold :"))
self.btnAzalanlariGoster.setText(_translate("MainWindow", "Show Below"))
self.btnTemizle.setText(_translate("MainWindow", "Clear"))
self.label_4.setText(_translate("MainWindow", "Product Delete"))
self.label_5.setText(_translate("MainWindow", "Product Id:"))
self.btnSil.setText(_translate("MainWindow", "Delete"))