Skip to content

Commit

Permalink
Optimization of functionality and add language files and fixes problems
Browse files Browse the repository at this point in the history
  • Loading branch information
SaeidJavadi committed Mar 8, 2023
1 parent 2228170 commit 9b01caa
Show file tree
Hide file tree
Showing 20 changed files with 3,151 additions and 2,494 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
__pycache__/
venv/
temp/
temp1/
build/
dist/
*.jpg
*.png
*.ico
*.qrc

*.log
*.data
*.spec
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"editor.colorDecoratorsLimit": 1000000
}
Empty file removed __init__.py
Empty file.
30 changes: 10 additions & 20 deletions accuonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Form implementation generated from reading ui file 'ui\accountsList.ui'
#
# Created by: PyQt5 UI code generator 5.15.2
# Created by: PyQt5 UI code generator 5.15.9
#
# 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.
Expand Down Expand Up @@ -44,7 +44,7 @@ def setupUi(self, Form):
self.btn_import_cancel = QtWidgets.QPushButton(self.frame_import)
self.btn_import_cancel.setMinimumSize(QtCore.QSize(200, 0))
font = QtGui.QFont()
font.setFamily("B Nazanin")
font.setFamily("Arial")
font.setPointSize(14)
self.btn_import_cancel.setFont(font)
self.btn_import_cancel.setStyleSheet("QPushButton:hover:!pressed\n"
Expand Down Expand Up @@ -122,7 +122,7 @@ def setupUi(self, Form):
self.btn_importaccount.setMinimumSize(QtCore.QSize(100, 25))
self.btn_importaccount.setMaximumSize(QtCore.QSize(16777215, 16777215))
font = QtGui.QFont()
font.setFamily("B Nazanin")
font.setFamily("Arial")
font.setPointSize(12)
font.setBold(True)
font.setItalic(False)
Expand All @@ -149,20 +149,10 @@ def setupUi(self, Form):

def retranslateUi(self, Form):
_translate = QtCore.QCoreApplication.translate
Form.setWindowTitle(_translate("Form", "فرم ایجاد لیست شماره"))
self.btn_import_cancel.setToolTip(_translate("Form", "لغو عملیات بارگذاری شماره"))
self.btn_import_cancel.setText(_translate("Form", "بستن"))
self.label_2.setText(_translate("Form", "لیست اکانت های ذخیره شده:"))
self.btn_addnewtel.setPlaceholderText(_translate("Form", "شماره اکانت جدید"))
self.btn_importaccount.setToolTip(_translate("Form", "انتخاب فایل برای بارگذاری"))
self.btn_importaccount.setText(_translate("Form", "افزودن اکانت جدید"))


if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Form = QtWidgets.QWidget()
ui = Ui_Form()
ui.setupUi(Form)
Form.show()
sys.exit(app.exec_())
Form.setWindowTitle(_translate("Form", "Create Number List Form"))
self.btn_import_cancel.setToolTip(_translate("Form", "Cancelation of Number loading operations"))
self.btn_import_cancel.setText(_translate("Form", "Close"))
self.label_2.setText(_translate("Form", "List of Saved Accounts"))
self.btn_addnewtel.setPlaceholderText(_translate("Form", "New account number"))
self.btn_importaccount.setToolTip(_translate("Form", "File Select to load"))
self.btn_importaccount.setText(_translate("Form", "Add new account"))
Loading

0 comments on commit 9b01caa

Please sign in to comment.