Skip to content

Commit

Permalink
1.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Shoker2 committed Aug 23, 2022
1 parent d33c622 commit 9e287f0
Show file tree
Hide file tree
Showing 21 changed files with 2,496 additions and 2,358 deletions.
58 changes: 32 additions & 26 deletions Emook_code/Fond.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'C:/Users/Иван/Desktop/Музейное дело/Fond.ui'
# Form implementation generated from reading ui file 'C:/Users/Админ/Desktop/Fond.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
# Created by: PyQt5 UI code generator 5.15.7
#
# 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 All @@ -14,7 +14,7 @@
class Ui_Fond(object):
def setupUi(self, Fond):
Fond.setObjectName("Fond")
Fond.resize(606, 569)
Fond.resize(606, 579)
Fond.setStyleSheet("")
self.Title = QtWidgets.QLabel(Fond)
self.Title.setGeometry(QtCore.QRect(6, 20, 591, 31))
Expand All @@ -24,63 +24,67 @@ def setupUi(self, Fond):
self.Title.setAlignment(QtCore.Qt.AlignCenter)
self.Title.setObjectName("Title")
self.listWidget = QtWidgets.QListWidget(Fond)
self.listWidget.setGeometry(QtCore.QRect(15, 195, 571, 311))
self.listWidget.setGeometry(QtCore.QRect(15, 205, 571, 311))
font = QtGui.QFont()
font.setPointSize(12)
self.listWidget.setFont(font)
self.listWidget.setObjectName("listWidget")
self.comboBoxSearch = QtWidgets.QComboBox(Fond)
self.comboBoxSearch.setGeometry(QtCore.QRect(20, 100, 561, 22))
font = QtGui.QFont()
font.setPointSize(11)
self.comboBoxSearch.setFont(font)
self.comboBoxSearch.setEditable(True)
self.comboBoxSearch.setCurrentText("")
self.comboBoxSearch.setObjectName("comboBoxSearch")
self.labelSearch = QtWidgets.QLabel(Fond)
self.labelSearch.setGeometry(QtCore.QRect(20, 71, 181, 16))
self.labelSearch.setGeometry(QtCore.QRect(20, 70, 211, 21))
font = QtGui.QFont()
font.setPointSize(14)
self.labelSearch.setFont(font)
self.labelSearch.setObjectName("labelSearch")
self.backButton = QtWidgets.QPushButton(Fond)
self.backButton.setGeometry(QtCore.QRect(15, 520, 131, 31))
self.backButton.setGeometry(QtCore.QRect(15, 530, 131, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.backButton.setFont(font)
self.backButton.setObjectName("backButton")
self.labelSearch_2 = QtWidgets.QLabel(Fond)
self.labelSearch_2.setGeometry(QtCore.QRect(20, 131, 311, 21))
self.labelSearch_2.setGeometry(QtCore.QRect(20, 130, 361, 31))
font = QtGui.QFont()
font.setPointSize(14)
self.labelSearch_2.setFont(font)
self.labelSearch_2.setObjectName("labelSearch_2")
self.comboBoxSearch_2 = QtWidgets.QComboBox(Fond)
self.comboBoxSearch_2.setGeometry(QtCore.QRect(20, 160, 561, 22))
font = QtGui.QFont()
font.setPointSize(11)
self.comboBoxSearch_2.setFont(font)
self.comboBoxSearch_2.setEditable(True)
self.comboBoxSearch_2.setCurrentText("")
self.comboBoxSearch_2.setObjectName("comboBoxSearch_2")
self.refreshButton = QtWidgets.QPushButton(Fond)
self.refreshButton.setGeometry(QtCore.QRect(460, 520, 131, 31))
self.refreshButton.setGeometry(QtCore.QRect(460, 530, 131, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.refreshButton.setFont(font)
self.refreshButton.setObjectName("refreshButton")
self.exporthButton = QtWidgets.QPushButton(Fond)
self.exporthButton.setGeometry(QtCore.QRect(320, 520, 131, 31))
self.exporthButton.setGeometry(QtCore.QRect(310, 530, 141, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.exporthButton.setFont(font)
self.exporthButton.setObjectName("exporthButton")
self.importButton = QtWidgets.QPushButton(Fond)
self.importButton.setGeometry(QtCore.QRect(180, 520, 131, 31))
self.importButton.setGeometry(QtCore.QRect(160, 530, 141, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.importButton.setFont(font)
self.importButton.setObjectName("importButton")
self.search_name_button = QtWidgets.QPushButton(Fond)
self.search_name_button.setGeometry(QtCore.QRect(490, 95, 93, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.search_name_button.setFont(font)
self.search_name_button.setObjectName("search_name_button")
self.search_name_line = QtWidgets.QLineEdit(Fond)
self.search_name_line.setGeometry(QtCore.QRect(20, 100, 461, 22))
self.search_name_line.setText("")
self.search_name_line.setObjectName("search_name_line")
self.search_num_button = QtWidgets.QPushButton(Fond)
self.search_num_button.setGeometry(QtCore.QRect(490, 165, 93, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.search_num_button.setFont(font)
self.search_num_button.setObjectName("search_num_button")
self.search_num_line = QtWidgets.QLineEdit(Fond)
self.search_num_line.setGeometry(QtCore.QRect(20, 170, 461, 22))
self.search_num_line.setText("")
self.search_num_line.setObjectName("search_num_line")

self.retranslateUi(Fond)
QtCore.QMetaObject.connectSlotsByName(Fond)
Expand All @@ -95,6 +99,8 @@ def retranslateUi(self, Fond):
self.refreshButton.setText(_translate("Fond", "Обновить"))
self.exporthButton.setText(_translate("Fond", "Экспортировать"))
self.importButton.setText(_translate("Fond", "Импортировать"))
self.search_name_button.setText(_translate("Fond", "Поиск"))
self.search_num_button.setText(_translate("Fond", "Поиск"))


if __name__ == "__main__":
Expand Down
107 changes: 107 additions & 0 deletions Emook_code/Fond_old.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,107 @@
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'C:/Users/Иван/Desktop/Музейное дело/Fond.ui'
#
# Created by: PyQt5 UI code generator 5.15.4
#
# 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_Fond(object):
def setupUi(self, Fond):
Fond.setObjectName("Fond")
Fond.resize(606, 569)
Fond.setStyleSheet("")
self.Title = QtWidgets.QLabel(Fond)
self.Title.setGeometry(QtCore.QRect(6, 20, 591, 31))
font = QtGui.QFont()
font.setPointSize(22)
self.Title.setFont(font)
self.Title.setAlignment(QtCore.Qt.AlignCenter)
self.Title.setObjectName("Title")
self.listWidget = QtWidgets.QListWidget(Fond)
self.listWidget.setGeometry(QtCore.QRect(15, 195, 571, 311))
font = QtGui.QFont()
font.setPointSize(12)
self.listWidget.setFont(font)
self.listWidget.setObjectName("listWidget")
self.comboBoxSearch = QtWidgets.QComboBox(Fond)
self.comboBoxSearch.setGeometry(QtCore.QRect(20, 100, 561, 22))
font = QtGui.QFont()
font.setPointSize(11)
self.comboBoxSearch.setFont(font)
self.comboBoxSearch.setEditable(True)
self.comboBoxSearch.setCurrentText("")
self.comboBoxSearch.setObjectName("comboBoxSearch")
self.labelSearch = QtWidgets.QLabel(Fond)
self.labelSearch.setGeometry(QtCore.QRect(20, 71, 181, 16))
font = QtGui.QFont()
font.setPointSize(14)
self.labelSearch.setFont(font)
self.labelSearch.setObjectName("labelSearch")
self.backButton = QtWidgets.QPushButton(Fond)
self.backButton.setGeometry(QtCore.QRect(15, 520, 131, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.backButton.setFont(font)
self.backButton.setObjectName("backButton")
self.labelSearch_2 = QtWidgets.QLabel(Fond)
self.labelSearch_2.setGeometry(QtCore.QRect(20, 131, 311, 21))
font = QtGui.QFont()
font.setPointSize(14)
self.labelSearch_2.setFont(font)
self.labelSearch_2.setObjectName("labelSearch_2")
self.comboBoxSearch_2 = QtWidgets.QComboBox(Fond)
self.comboBoxSearch_2.setGeometry(QtCore.QRect(20, 160, 561, 22))
font = QtGui.QFont()
font.setPointSize(11)
self.comboBoxSearch_2.setFont(font)
self.comboBoxSearch_2.setEditable(True)
self.comboBoxSearch_2.setCurrentText("")
self.comboBoxSearch_2.setObjectName("comboBoxSearch_2")
self.refreshButton = QtWidgets.QPushButton(Fond)
self.refreshButton.setGeometry(QtCore.QRect(460, 520, 131, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.refreshButton.setFont(font)
self.refreshButton.setObjectName("refreshButton")
self.exporthButton = QtWidgets.QPushButton(Fond)
self.exporthButton.setGeometry(QtCore.QRect(320, 520, 131, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.exporthButton.setFont(font)
self.exporthButton.setObjectName("exporthButton")
self.importButton = QtWidgets.QPushButton(Fond)
self.importButton.setGeometry(QtCore.QRect(180, 520, 131, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.importButton.setFont(font)
self.importButton.setObjectName("importButton")

self.retranslateUi(Fond)
QtCore.QMetaObject.connectSlotsByName(Fond)

def retranslateUi(self, Fond):
_translate = QtCore.QCoreApplication.translate
Fond.setWindowTitle(_translate("Fond", "Form"))
self.Title.setText(_translate("Fond", "Нумизматика: Медали"))
self.labelSearch.setText(_translate("Fond", "Поиск на названию"))
self.backButton.setText(_translate("Fond", "Назад"))
self.labelSearch_2.setText(_translate("Fond", "Поиск по номеру учётной записи"))
self.refreshButton.setText(_translate("Fond", "Обновить"))
self.exporthButton.setText(_translate("Fond", "Экспортировать"))
self.importButton.setText(_translate("Fond", "Импортировать"))


if __name__ == "__main__":
import sys
app = QtWidgets.QApplication(sys.argv)
Fond = QtWidgets.QWidget()
ui = Ui_Fond()
ui.setupUi(Fond)
Fond.show()
sys.exit(app.exec_())
Loading

0 comments on commit 9e287f0

Please sign in to comment.