瀏覽代碼

изменнины заголовки окон, и изменена версия программ

AlexSidorov 1 年之前
父節點
當前提交
89abb02726

+ 1 - 1
docs/template_propusk.html

@@ -15,7 +15,7 @@
             <tr>
                 <td><b>Временный пропуск №:</b> {{ id_propusk }}</td>
                 <td rowspan="12">
-                    <img src="{{ face_photo }}" width="200" height="300"/>
+                    <img src="{{ face_photo }}" width="300" height="400"/>
                 </td>
             </tr>
             <tr>

+ 1 - 1
init_var.py

@@ -5,7 +5,7 @@ from dotenv import load_dotenv
 from window.DialogCustomVariables import DialogCustomVariables
 
 
-__VERSION = "ver 0.1 beta"
+__VERSION = "ver 0.2"
 DEFAULT_PATH = os.path.join(appdirs.user_data_dir(), "propusk")
 DEFAULT_PATH_PHOTO = os.path.join(DEFAULT_PATH, "photo")
 

+ 1 - 1
window/ui/DialogHistory.ui

@@ -11,7 +11,7 @@
    </rect>
   </property>
   <property name="windowTitle">
-   <string>Dialog</string>
+   <string>История пропусков</string>
   </property>
   <layout class="QHBoxLayout" name="horizontalLayout">
    <item>

+ 1 - 1
window/ui/DialogListPersonal.ui

@@ -11,7 +11,7 @@
    </rect>
   </property>
   <property name="windowTitle">
-   <string>Dialog</string>
+   <string>Список сотрудников</string>
   </property>
   <layout class="QGridLayout" name="gridLayout_3">
    <item row="0" column="0">

+ 1 - 1
window/ui/DialogListPlace.ui

@@ -11,7 +11,7 @@
    </rect>
   </property>
   <property name="windowTitle">
-   <string>Dialog</string>
+   <string>Список мест выдачи</string>
   </property>
   <layout class="QGridLayout" name="gridLayout_3">
    <item row="0" column="0">

+ 1 - 1
window/ui/DialogSettingCam.ui

@@ -11,7 +11,7 @@
    </rect>
   </property>
   <property name="windowTitle">
-   <string>Dialog</string>
+   <string>Настройка камеры</string>
   </property>
   <layout class="QGridLayout" name="gridLayout">
    <item row="0" column="0">

+ 1 - 1
window/ui/MainWindow.ui

@@ -345,7 +345,7 @@
    </widget>
    <widget class="QMenu" name="menu">
     <property name="title">
-     <string>Настроки</string>
+     <string>Настройки</string>
     </property>
     <widget class="QMenu" name="menu_3">
      <property name="title">

+ 1 - 1
window/ui_py/ui_DialogHistory.py

@@ -55,7 +55,7 @@ class Ui_DialogHistory(object):
     # setupUi
 
     def retranslateUi(self, DialogHistory):
-        DialogHistory.setWindowTitle(QCoreApplication.translate("DialogHistory", u"Dialog", None))
+        DialogHistory.setWindowTitle(QCoreApplication.translate("DialogHistory", u"История пропусков", None))
         self.groupBox.setTitle(QCoreApplication.translate("DialogHistory", u"\u0421\u043f\u0438\u0441\u043e\u043a", None))
     # retranslateUi
 

+ 1 - 1
window/ui_py/ui_DialogListPersonal.py

@@ -148,7 +148,7 @@ class Ui_DialogListPersonal(object):
     # setupUi
 
     def retranslateUi(self, DialogListPersonal):
-        DialogListPersonal.setWindowTitle(QCoreApplication.translate("DialogListPersonal", u"Dialog", None))
+        DialogListPersonal.setWindowTitle(QCoreApplication.translate("DialogListPersonal", u"Список сотрудников", None))
         self.groupBox.setTitle(QCoreApplication.translate("DialogListPersonal", u"\u0421\u043f\u0438\u0441\u043e\u043a \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432", None))
         self.groupBox_2.setTitle(QCoreApplication.translate("DialogListPersonal", u"\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435", None))
         self.label.setText(QCoreApplication.translate("DialogListPersonal", u"\u0424\u0430\u043c\u0438\u043b\u0438\u044f", None))

+ 1 - 1
window/ui_py/ui_DialogListPlace.py

@@ -104,7 +104,7 @@ class Ui_DialogListPlace(object):
     # setupUi
 
     def retranslateUi(self, DialogListPlace):
-        DialogListPlace.setWindowTitle(QCoreApplication.translate("DialogListPlace", u"Dialog", None))
+        DialogListPlace.setWindowTitle(QCoreApplication.translate("DialogListPlace", u"Список мест выдачи", None))
         self.groupBox.setTitle(QCoreApplication.translate("DialogListPlace", u"\u0421\u043f\u0438\u0441\u043e\u043a \u043c\u0435\u0441\u0442 \u0432\u044b\u0434\u0430\u0447\u0438", None))
         self.groupBox_2.setTitle(QCoreApplication.translate("DialogListPlace", u"\u0423\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435", None))
         self.label.setText(QCoreApplication.translate("DialogListPlace", u"\u041d\u0430\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u0441\u0442\u0430 \u0432\u044b\u0434\u0430\u0447\u0438:", None))

+ 1 - 1
window/ui_py/ui_DialogSettingCam.py

@@ -91,7 +91,7 @@ class Ui_DialogSettingCam(object):
     # setupUi
 
     def retranslateUi(self, DialogSettingCam):
-        DialogSettingCam.setWindowTitle(QCoreApplication.translate("DialogSettingCam", u"Dialog", None))
+        DialogSettingCam.setWindowTitle(QCoreApplication.translate("DialogSettingCam", u"Настройка камеры", None))
         self.groupBox.setTitle(QCoreApplication.translate("DialogSettingCam", u"\u0424\u043e\u0442\u043e \u043b\u0438\u0446\u0430", None))
         self.chacked_cam_face.setText(QCoreApplication.translate("DialogSettingCam", u"\u041f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c", None))
         self.stop_cam_face.setText(QCoreApplication.translate("DialogSettingCam", u"\u041e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c", None))

+ 1 - 1
window/ui_py/ui_MainWindow.py

@@ -335,7 +335,7 @@ class Ui_MainWindow(object):
         self.btn_save.setText(QCoreApplication.translate("MainWindow", u"\u0421\u043e\u0445\u0440\u0430\u043d\u0438\u0442\u044c", None))
         self.btn_print.setText(QCoreApplication.translate("MainWindow", u"\u041f\u0435\u0447\u0430\u0442\u044c", None))
         self.menuFile.setTitle(QCoreApplication.translate("MainWindow", u"File", None))
-        self.menu.setTitle(QCoreApplication.translate("MainWindow", u"\u041d\u0430\u0441\u0442\u0440\u043e\u043a\u0438", None))
+        self.menu.setTitle(QCoreApplication.translate("MainWindow", u"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438", None))
         self.menu_3.setTitle(QCoreApplication.translate("MainWindow", u"\u0421\u043f\u0438\u0441\u043a\u0438", None))
         self.menu_2.setTitle(QCoreApplication.translate("MainWindow", u"\u0418\u0441\u0442\u043e\u0440\u0438\u044f", None))
     # retranslateUi