Skip to content

Commit

Permalink
1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Shoker2 committed Apr 3, 2022
1 parent 60f8fb2 commit bc37ad1
Show file tree
Hide file tree
Showing 169 changed files with 15,323 additions and 0 deletions.
107 changes: 107 additions & 0 deletions Emook_code/Fond.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_())
142 changes: 142 additions & 0 deletions Emook_code/Museum_main.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'C:/Users/Иван/Desktop/Main.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_Main(object):
def setupUi(self, Main):
Main.setObjectName("Main")
Main.resize(625, 437)
Main.setStyleSheet("")
self.Title = QtWidgets.QLabel(Main)
self.Title.setGeometry(QtCore.QRect(10, 20, 591, 81))
font = QtGui.QFont()
font.setPointSize(28)
self.Title.setFont(font)
self.Title.setAlignment(QtCore.Qt.AlignCenter)
self.Title.setObjectName("Title")
self.labelSelection = QtWidgets.QLabel(Main)
self.labelSelection.setGeometry(QtCore.QRect(20, 120, 281, 21))
font = QtGui.QFont()
font.setPointSize(14)
self.labelSelection.setFont(font)
self.labelSelection.setObjectName("labelSelection")
self.allButton = QtWidgets.QPushButton(Main)
self.allButton.setEnabled(True)
self.allButton.setGeometry(QtCore.QRect(460, 345, 141, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.allButton.setFont(font)
self.allButton.setObjectName("allButton")
self.addButton = QtWidgets.QPushButton(Main)
self.addButton.setGeometry(QtCore.QRect(410, 395, 201, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.addButton.setFont(font)
self.addButton.setObjectName("addButton")
self.exitButton = QtWidgets.QPushButton(Main)
self.exitButton.setGeometry(QtCore.QRect(10, 400, 101, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.exitButton.setFont(font)
self.exitButton.setObjectName("exitButton")
self.pushButton_1 = QtWidgets.QPushButton(Main)
self.pushButton_1.setGeometry(QtCore.QRect(20, 150, 281, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.pushButton_1.setFont(font)
self.pushButton_1.setObjectName("pushButton_1")
self.pushButton_2 = QtWidgets.QPushButton(Main)
self.pushButton_2.setGeometry(QtCore.QRect(310, 150, 281, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.pushButton_2.setFont(font)
self.pushButton_2.setObjectName("pushButton_2")
self.pushButton_3 = QtWidgets.QPushButton(Main)
self.pushButton_3.setGeometry(QtCore.QRect(20, 190, 281, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.pushButton_3.setFont(font)
self.pushButton_3.setObjectName("pushButton_3")
self.pushButton_4 = QtWidgets.QPushButton(Main)
self.pushButton_4.setGeometry(QtCore.QRect(310, 190, 281, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.pushButton_4.setFont(font)
self.pushButton_4.setObjectName("pushButton_4")
self.pushButton_5 = QtWidgets.QPushButton(Main)
self.pushButton_5.setGeometry(QtCore.QRect(20, 230, 281, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.pushButton_5.setFont(font)
self.pushButton_5.setObjectName("pushButton_5")
self.pushButton_6 = QtWidgets.QPushButton(Main)
self.pushButton_6.setGeometry(QtCore.QRect(310, 230, 281, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.pushButton_6.setFont(font)
self.pushButton_6.setObjectName("pushButton_6")
self.pushButton_7 = QtWidgets.QPushButton(Main)
self.pushButton_7.setGeometry(QtCore.QRect(20, 270, 281, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.pushButton_7.setFont(font)
self.pushButton_7.setObjectName("pushButton_7")
self.pushButton_8 = QtWidgets.QPushButton(Main)
self.pushButton_8.setGeometry(QtCore.QRect(310, 270, 281, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.pushButton_8.setFont(font)
self.pushButton_8.setObjectName("pushButton_8")
self.settingsButton = QtWidgets.QPushButton(Main)
self.settingsButton.setGeometry(QtCore.QRect(130, 400, 111, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.settingsButton.setFont(font)
self.settingsButton.setObjectName("settingsButton")
self.pushButton_9 = QtWidgets.QPushButton(Main)
self.pushButton_9.setGeometry(QtCore.QRect(20, 310, 111, 31))
font = QtGui.QFont()
font.setPointSize(11)
self.pushButton_9.setFont(font)
self.pushButton_9.setObjectName("pushButton_9")

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

def retranslateUi(self, Main):
_translate = QtCore.QCoreApplication.translate
Main.setWindowTitle(_translate("Main", "Form"))
self.Title.setText(_translate("Main", "Учёт музейных фондов"))
self.labelSelection.setText(_translate("Main", "Выберите раздел фонда музея"))
self.allButton.setText(_translate("Main", "Все"))
self.addButton.setText(_translate("Main", "Добавить экспонат"))
self.exitButton.setText(_translate("Main", "Выйти"))
self.pushButton_1.setText(_translate("Main", "Изобразительные памятники"))
self.pushButton_2.setText(_translate("Main", "Нумизматика"))
self.pushButton_3.setText(_translate("Main", "Археология"))
self.pushButton_4.setText(_translate("Main", "Предметы этнографии"))
self.pushButton_5.setText(_translate("Main", "Оружие"))
self.pushButton_6.setText(_translate("Main", "Документы, фотографии"))
self.pushButton_7.setText(_translate("Main", "Предметы исторической техники"))
self.pushButton_8.setText(_translate("Main", "Предметы печатной продукции"))
self.settingsButton.setText(_translate("Main", "Настройки"))
self.pushButton_9.setText(_translate("Main", "Прочее"))


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

0 comments on commit bc37ad1

Please sign in to comment.