-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgui_sale.py
365 lines (357 loc) · 20.2 KB
/
gui_sale.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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
# -*- coding: utf-8 -*-
# Form implementation generated from reading ui file 'gui_venta.ui'
#
# Created by: PyQt4 UI code generator 4.12.1
#
# 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_Dialog(object):
def setupUi(self, Dialog):
Dialog.setObjectName(_fromUtf8("Dialog"))
Dialog.setWindowModality(QtCore.Qt.WindowModal)
Dialog.resize(1311, 488)
Dialog.setMinimumSize(QtCore.QSize(750, 488))
Dialog.setMaximumSize(QtCore.QSize(16777215, 488))
icon = QtGui.QIcon()
icon.addPixmap(QtGui.QPixmap(_fromUtf8(":/icons/resources/product_basket-512.png")), QtGui.QIcon.Normal, QtGui.QIcon.Off)
Dialog.setWindowIcon(icon)
Dialog.setModal(True)
self.horizontalLayout = QtGui.QHBoxLayout(Dialog)
self.horizontalLayout.setContentsMargins(9, -1, -1, -1)
self.horizontalLayout.setSpacing(8)
self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
self.groupBox_2 = QtGui.QGroupBox(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
self.groupBox_2.setSizePolicy(sizePolicy)
self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_2)
self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
self.horizontalLayout_4 = QtGui.QHBoxLayout()
self.horizontalLayout_4.setContentsMargins(-1, 0, -1, -1)
self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
self.cmboxInventory = QtGui.QComboBox(self.groupBox_2)
self.cmboxInventory.setObjectName(_fromUtf8("cmboxInventory"))
self.horizontalLayout_4.addWidget(self.cmboxInventory)
self.leditInventory = QtGui.QLineEdit(self.groupBox_2)
self.leditInventory.setObjectName(_fromUtf8("leditInventory"))
self.horizontalLayout_4.addWidget(self.leditInventory)
spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
self.horizontalLayout_4.addItem(spacerItem)
self.verticalLayout_2.addLayout(self.horizontalLayout_4)
self.tblInventory = QtGui.QTableView(self.groupBox_2)
self.tblInventory.setMinimumSize(QtCore.QSize(280, 0))
self.tblInventory.setAlternatingRowColors(True)
self.tblInventory.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
self.tblInventory.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
self.tblInventory.setSortingEnabled(True)
self.tblInventory.setObjectName(_fromUtf8("tblInventory"))
self.tblInventory.horizontalHeader().setStretchLastSection(True)
self.tblInventory.verticalHeader().setVisible(False)
self.verticalLayout_2.addWidget(self.tblInventory)
self.horizontalLayout.addWidget(self.groupBox_2)
self.verticalLayout = QtGui.QVBoxLayout()
self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
self.formLayout_2 = QtGui.QFormLayout()
self.formLayout_2.setFieldGrowthPolicy(QtGui.QFormLayout.AllNonFixedFieldsGrow)
self.formLayout_2.setObjectName(_fromUtf8("formLayout_2"))
self.label_11 = QtGui.QLabel(Dialog)
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.label_11.setFont(font)
self.label_11.setObjectName(_fromUtf8("label_11"))
self.formLayout_2.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_11)
self.label = QtGui.QLabel(Dialog)
self.label.setObjectName(_fromUtf8("label"))
self.formLayout_2.setWidget(1, QtGui.QFormLayout.LabelRole, self.label)
self.leditCode = QtGui.QLineEdit(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.leditCode.sizePolicy().hasHeightForWidth())
self.leditCode.setSizePolicy(sizePolicy)
self.leditCode.setReadOnly(True)
self.leditCode.setPlaceholderText(_fromUtf8(""))
self.leditCode.setObjectName(_fromUtf8("leditCode"))
self.formLayout_2.setWidget(1, QtGui.QFormLayout.FieldRole, self.leditCode)
self.label_10 = QtGui.QLabel(Dialog)
self.label_10.setObjectName(_fromUtf8("label_10"))
self.formLayout_2.setWidget(2, QtGui.QFormLayout.LabelRole, self.label_10)
self.leditName = QtGui.QLineEdit(Dialog)
self.leditName.setReadOnly(True)
self.leditName.setObjectName(_fromUtf8("leditName"))
self.formLayout_2.setWidget(2, QtGui.QFormLayout.FieldRole, self.leditName)
self.label_6 = QtGui.QLabel(Dialog)
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.label_6.setFont(font)
self.label_6.setObjectName(_fromUtf8("label_6"))
self.formLayout_2.setWidget(5, QtGui.QFormLayout.LabelRole, self.label_6)
self.label_2 = QtGui.QLabel(Dialog)
self.label_2.setObjectName(_fromUtf8("label_2"))
self.formLayout_2.setWidget(6, QtGui.QFormLayout.LabelRole, self.label_2)
self.spnBoxQuantity = QtGui.QSpinBox(Dialog)
self.spnBoxQuantity.setAccelerated(True)
self.spnBoxQuantity.setKeyboardTracking(False)
self.spnBoxQuantity.setMinimum(1)
self.spnBoxQuantity.setMaximum(999999)
self.spnBoxQuantity.setProperty("value", 1)
self.spnBoxQuantity.setObjectName(_fromUtf8("spnBoxQuantity"))
self.formLayout_2.setWidget(6, QtGui.QFormLayout.FieldRole, self.spnBoxQuantity)
self.label_3 = QtGui.QLabel(Dialog)
self.label_3.setObjectName(_fromUtf8("label_3"))
self.formLayout_2.setWidget(7, QtGui.QFormLayout.LabelRole, self.label_3)
self.label_8 = QtGui.QLabel(Dialog)
self.label_8.setObjectName(_fromUtf8("label_8"))
self.formLayout_2.setWidget(8, QtGui.QFormLayout.LabelRole, self.label_8)
self.chkBoxItbms = QtGui.QCheckBox(Dialog)
self.chkBoxItbms.setChecked(True)
self.chkBoxItbms.setTristate(False)
self.chkBoxItbms.setObjectName(_fromUtf8("chkBoxItbms"))
self.formLayout_2.setWidget(9, QtGui.QFormLayout.LabelRole, self.chkBoxItbms)
self.label_9 = QtGui.QLabel(Dialog)
font = QtGui.QFont()
font.setBold(True)
font.setWeight(75)
self.label_9.setFont(font)
self.label_9.setObjectName(_fromUtf8("label_9"))
self.formLayout_2.setWidget(10, QtGui.QFormLayout.LabelRole, self.label_9)
self.spnBoxTotalItemPrice = QtGui.QDoubleSpinBox(Dialog)
self.spnBoxTotalItemPrice.setReadOnly(True)
self.spnBoxTotalItemPrice.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
self.spnBoxTotalItemPrice.setSuffix(_fromUtf8(""))
self.spnBoxTotalItemPrice.setMaximum(999999.0)
self.spnBoxTotalItemPrice.setObjectName(_fromUtf8("spnBoxTotalItemPrice"))
self.formLayout_2.setWidget(10, QtGui.QFormLayout.FieldRole, self.spnBoxTotalItemPrice)
self.label_13 = QtGui.QLabel(Dialog)
self.label_13.setObjectName(_fromUtf8("label_13"))
self.formLayout_2.setWidget(4, QtGui.QFormLayout.LabelRole, self.label_13)
self.cmboxClient = QtGui.QComboBox(Dialog)
self.cmboxClient.setEditable(True)
self.cmboxClient.setObjectName(_fromUtf8("cmboxClient"))
self.formLayout_2.setWidget(0, QtGui.QFormLayout.FieldRole, self.cmboxClient)
self.chkBoxCredit = QtGui.QCheckBox(Dialog)
self.chkBoxCredit.setObjectName(_fromUtf8("chkBoxCredit"))
self.formLayout_2.setWidget(9, QtGui.QFormLayout.FieldRole, self.chkBoxCredit)
self.spnboxCost = QtGui.QDoubleSpinBox(Dialog)
self.spnboxCost.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignVCenter)
self.spnboxCost.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
self.spnboxCost.setDecimals(2)
self.spnboxCost.setMaximum(99999.0)
self.spnboxCost.setObjectName(_fromUtf8("spnboxCost"))
self.formLayout_2.setWidget(4, QtGui.QFormLayout.FieldRole, self.spnboxCost)
self.spnboxPrice = QtGui.QDoubleSpinBox(Dialog)
self.spnboxPrice.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
self.spnboxPrice.setMaximum(9999999.0)
self.spnboxPrice.setObjectName(_fromUtf8("spnboxPrice"))
self.formLayout_2.setWidget(5, QtGui.QFormLayout.FieldRole, self.spnboxPrice)
self.spnBoxMargin = QtGui.QDoubleSpinBox(Dialog)
self.spnBoxMargin.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
self.spnBoxMargin.setMaximum(999999.0)
self.spnBoxMargin.setObjectName(_fromUtf8("spnBoxMargin"))
self.formLayout_2.setWidget(7, QtGui.QFormLayout.FieldRole, self.spnBoxMargin)
self.spnboxDiscount = QtGui.QDoubleSpinBox(Dialog)
self.spnboxDiscount.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
self.spnboxDiscount.setMaximum(99999.0)
self.spnboxDiscount.setObjectName(_fromUtf8("spnboxDiscount"))
self.formLayout_2.setWidget(8, QtGui.QFormLayout.FieldRole, self.spnboxDiscount)
self.label_14 = QtGui.QLabel(Dialog)
self.label_14.setObjectName(_fromUtf8("label_14"))
self.formLayout_2.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_14)
self.leditGroup = QtGui.QLineEdit(Dialog)
self.leditGroup.setReadOnly(True)
self.leditGroup.setObjectName(_fromUtf8("leditGroup"))
self.formLayout_2.setWidget(3, QtGui.QFormLayout.FieldRole, self.leditGroup)
self.verticalLayout.addLayout(self.formLayout_2)
self.horizontalLayout_3 = QtGui.QHBoxLayout()
self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
self.btnInsert = QtGui.QPushButton(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnInsert.sizePolicy().hasHeightForWidth())
self.btnInsert.setSizePolicy(sizePolicy)
self.btnInsert.setAutoDefault(False)
self.btnInsert.setDefault(False)
self.btnInsert.setObjectName(_fromUtf8("btnInsert"))
self.horizontalLayout_3.addWidget(self.btnInsert)
self.btnUndo = QtGui.QPushButton(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.btnUndo.sizePolicy().hasHeightForWidth())
self.btnUndo.setSizePolicy(sizePolicy)
self.btnUndo.setAutoDefault(False)
self.btnUndo.setObjectName(_fromUtf8("btnUndo"))
self.horizontalLayout_3.addWidget(self.btnUndo)
self.verticalLayout.addLayout(self.horizontalLayout_3)
self.formLayout = QtGui.QFormLayout()
self.formLayout.setObjectName(_fromUtf8("formLayout"))
self.label_4 = QtGui.QLabel(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Preferred)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.label_4.sizePolicy().hasHeightForWidth())
self.label_4.setSizePolicy(sizePolicy)
self.label_4.setObjectName(_fromUtf8("label_4"))
self.formLayout.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_4)
self.spnBoxSubtotal = QtGui.QDoubleSpinBox(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.spnBoxSubtotal.sizePolicy().hasHeightForWidth())
self.spnBoxSubtotal.setSizePolicy(sizePolicy)
self.spnBoxSubtotal.setStyleSheet(_fromUtf8(""))
self.spnBoxSubtotal.setWrapping(False)
self.spnBoxSubtotal.setReadOnly(True)
self.spnBoxSubtotal.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
self.spnBoxSubtotal.setMaximum(99999.99)
self.spnBoxSubtotal.setObjectName(_fromUtf8("spnBoxSubtotal"))
self.formLayout.setWidget(0, QtGui.QFormLayout.FieldRole, self.spnBoxSubtotal)
self.label_7 = QtGui.QLabel(Dialog)
self.label_7.setObjectName(_fromUtf8("label_7"))
self.formLayout.setWidget(1, QtGui.QFormLayout.LabelRole, self.label_7)
self.spnBoxTaxT = QtGui.QDoubleSpinBox(Dialog)
sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
sizePolicy.setHorizontalStretch(0)
sizePolicy.setVerticalStretch(0)
sizePolicy.setHeightForWidth(self.spnBoxTaxT.sizePolicy().hasHeightForWidth())
self.spnBoxTaxT.setSizePolicy(sizePolicy)
self.spnBoxTaxT.setReadOnly(True)
self.spnBoxTaxT.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
self.spnBoxTaxT.setMaximum(999999.0)
self.spnBoxTaxT.setObjectName(_fromUtf8("spnBoxTaxT"))
self.formLayout.setWidget(1, QtGui.QFormLayout.FieldRole, self.spnBoxTaxT)
self.label_12 = QtGui.QLabel(Dialog)
self.label_12.setObjectName(_fromUtf8("label_12"))
self.formLayout.setWidget(3, QtGui.QFormLayout.LabelRole, self.label_12)
self.spnBoxDiscountT = QtGui.QDoubleSpinBox(Dialog)
self.spnBoxDiscountT.setReadOnly(True)
self.spnBoxDiscountT.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
self.spnBoxDiscountT.setMaximum(99999.0)
self.spnBoxDiscountT.setObjectName(_fromUtf8("spnBoxDiscountT"))
self.formLayout.setWidget(3, QtGui.QFormLayout.FieldRole, self.spnBoxDiscountT)
self.verticalLayout.addLayout(self.formLayout)
self.line = QtGui.QFrame(Dialog)
self.line.setFrameShape(QtGui.QFrame.HLine)
self.line.setFrameShadow(QtGui.QFrame.Sunken)
self.line.setObjectName(_fromUtf8("line"))
self.verticalLayout.addWidget(self.line)
self.formLayout_3 = QtGui.QFormLayout()
self.formLayout_3.setObjectName(_fromUtf8("formLayout_3"))
self.label_5 = QtGui.QLabel(Dialog)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
self.label_5.setFont(font)
self.label_5.setFrameShape(QtGui.QFrame.NoFrame)
self.label_5.setFrameShadow(QtGui.QFrame.Plain)
self.label_5.setScaledContents(False)
self.label_5.setWordWrap(False)
self.label_5.setObjectName(_fromUtf8("label_5"))
self.formLayout_3.setWidget(0, QtGui.QFormLayout.LabelRole, self.label_5)
self.spnBoxGrandTotal = QtGui.QDoubleSpinBox(Dialog)
font = QtGui.QFont()
font.setPointSize(11)
font.setBold(True)
font.setWeight(75)
font.setStrikeOut(False)
self.spnBoxGrandTotal.setFont(font)
self.spnBoxGrandTotal.setAutoFillBackground(False)
self.spnBoxGrandTotal.setStyleSheet(_fromUtf8(""))
self.spnBoxGrandTotal.setFrame(True)
self.spnBoxGrandTotal.setReadOnly(True)
self.spnBoxGrandTotal.setButtonSymbols(QtGui.QAbstractSpinBox.NoButtons)
self.spnBoxGrandTotal.setMaximum(999999.0)
self.spnBoxGrandTotal.setObjectName(_fromUtf8("spnBoxGrandTotal"))
self.formLayout_3.setWidget(0, QtGui.QFormLayout.FieldRole, self.spnBoxGrandTotal)
self.verticalLayout.addLayout(self.formLayout_3)
self.horizontalLayout_2 = QtGui.QHBoxLayout()
self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
self.btnConfirm = QtGui.QPushButton(Dialog)
self.btnConfirm.setAutoDefault(False)
self.btnConfirm.setObjectName(_fromUtf8("btnConfirm"))
self.horizontalLayout_2.addWidget(self.btnConfirm)
self.btnDelete = QtGui.QPushButton(Dialog)
self.btnDelete.setAutoDefault(False)
self.btnDelete.setObjectName(_fromUtf8("btnDelete"))
self.horizontalLayout_2.addWidget(self.btnDelete)
self.verticalLayout.addLayout(self.horizontalLayout_2)
self.horizontalLayout.addLayout(self.verticalLayout)
self.groupBox = QtGui.QGroupBox(Dialog)
self.groupBox.setObjectName(_fromUtf8("groupBox"))
self.gridLayout = QtGui.QGridLayout(self.groupBox)
self.gridLayout.setObjectName(_fromUtf8("gridLayout"))
self.tblItems = QtGui.QTableView(self.groupBox)
self.tblItems.setAlternatingRowColors(True)
self.tblItems.setSelectionMode(QtGui.QAbstractItemView.SingleSelection)
self.tblItems.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
self.tblItems.setSortingEnabled(False)
self.tblItems.setCornerButtonEnabled(False)
self.tblItems.setObjectName(_fromUtf8("tblItems"))
self.tblItems.horizontalHeader().setStretchLastSection(True)
self.gridLayout.addWidget(self.tblItems, 0, 1, 1, 1)
self.horizontalLayout.addWidget(self.groupBox)
self.horizontalLayout.setStretch(0, 1)
self.horizontalLayout.setStretch(2, 1)
self.retranslateUi(Dialog)
QtCore.QMetaObject.connectSlotsByName(Dialog)
def retranslateUi(self, Dialog):
Dialog.setWindowTitle(_translate("Dialog", "Sale", None))
self.groupBox_2.setTitle(_translate("Dialog", "Inventory", None))
self.leditInventory.setPlaceholderText(_translate("Dialog", "Search...", None))
self.label_11.setText(_translate("Dialog", "Client:", None))
self.label.setText(_translate("Dialog", "Code:", None))
self.leditCode.setToolTip(_translate("Dialog", "Press Enter to \n"
"search item by code", None))
self.leditCode.setWhatsThis(_translate("Dialog", "Insert the code item here\n"
"", None))
self.label_10.setText(_translate("Dialog", "Name:", None))
self.label_6.setText(_translate("Dialog", "Item Price:", None))
self.label_2.setText(_translate("Dialog", "Quantity:", None))
self.label_3.setText(_translate("Dialog", "Margin:", None))
self.label_8.setText(_translate("Dialog", "Discount:", None))
self.chkBoxItbms.setText(_translate("Dialog", "Include Tax", None))
self.label_9.setText(_translate("Dialog", "Total Item Price:", None))
self.spnBoxTotalItemPrice.setPrefix(_translate("Dialog", "$ ", None))
self.label_13.setText(_translate("Dialog", "Cost:", None))
self.chkBoxCredit.setText(_translate("Dialog", "Credit", None))
self.spnboxCost.setPrefix(_translate("Dialog", "$ ", None))
self.spnboxPrice.setPrefix(_translate("Dialog", "$ ", None))
self.spnBoxMargin.setPrefix(_translate("Dialog", "% ", None))
self.spnboxDiscount.setPrefix(_translate("Dialog", "% ", None))
self.label_14.setText(_translate("Dialog", "Group:", None))
self.btnInsert.setText(_translate("Dialog", "Insert", None))
self.btnUndo.setText(_translate("Dialog", "Undo", None))
self.label_4.setText(_translate("Dialog", "Subtotal:", None))
self.spnBoxSubtotal.setPrefix(_translate("Dialog", "$ ", None))
self.label_7.setText(_translate("Dialog", "Sales Tax:", None))
self.spnBoxTaxT.setToolTip(_translate("Dialog", "7.00%", None))
self.spnBoxTaxT.setPrefix(_translate("Dialog", "$ ", None))
self.label_12.setText(_translate("Dialog", "Discount:", None))
self.spnBoxDiscountT.setPrefix(_translate("Dialog", "$ ", None))
self.label_5.setText(_translate("Dialog", "Grand Total:", None))
self.spnBoxGrandTotal.setToolTip(_translate("Dialog", "SubTotal + \n"
"ITBMS (7.00%)", None))
self.spnBoxGrandTotal.setPrefix(_translate("Dialog", "$ ", None))
self.btnConfirm.setText(_translate("Dialog", "Confirm", None))
self.btnDelete.setText(_translate("Dialog", "Delete Entry", None))
self.groupBox.setTitle(_translate("Dialog", "Items", None))
import res_rc