123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440 |
- <?xml version="1.0" encoding="UTF-8"?>
- <ui version="4.0">
- <class>MainWindow</class>
- <widget class="QMainWindow" name="MainWindow">
- <property name="windowModality">
- <enum>Qt::WindowModal</enum>
- </property>
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>920</width>
- <height>511</height>
- </rect>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="baseSize">
- <size>
- <width>864</width>
- <height>430</height>
- </size>
- </property>
- <property name="windowTitle">
- <string>Временный пропуск</string>
- </property>
- <widget class="QWidget" name="centralwidget">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="focusPolicy">
- <enum>Qt::NoFocus</enum>
- </property>
- <property name="autoFillBackground">
- <bool>false</bool>
- </property>
- <layout class="QGridLayout" name="gridLayout">
- <item row="0" column="0">
- <widget class="QGroupBox" name="groupBox">
- <property name="minimumSize">
- <size>
- <width>400</width>
- <height>0</height>
- </size>
- </property>
- <property name="title">
- <string>Информация:</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_3">
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout">
- <item>
- <widget class="QLabel" name="label">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Временный пропуск №:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QLineEdit" name="number_propusk">
- <property name="inputMask">
- <string/>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="maxLength">
- <number>32767</number>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_2">
- <item>
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>Дата и время выдачи:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDateTimeEdit" name="date_from">
- <property name="dateTime">
- <datetime>
- <hour>21</hour>
- <minute>0</minute>
- <second>0</second>
- <year>1999</year>
- <month>12</month>
- <day>31</day>
- </datetime>
- </property>
- <property name="timeSpec">
- <enum>Qt::UTC</enum>
- </property>
- </widget>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_3">
- <item>
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>Действителене до:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QDateTimeEdit" name="date_to"/>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_4">
- <item>
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Выдал:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="personal_combobox"/>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QHBoxLayout" name="horizontalLayout_5">
- <item>
- <widget class="QLabel" name="label_5">
- <property name="text">
- <string>Место выдачи:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QComboBox" name="place_combobox"/>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout">
- <item>
- <widget class="QLabel" name="label_6">
- <property name="text">
- <string>Принимающий:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QTextEdit" name="receiving_man"/>
- </item>
- </layout>
- </item>
- <item>
- <layout class="QVBoxLayout" name="verticalLayout_2">
- <item>
- <widget class="QLabel" name="label_7">
- <property name="text">
- <string>Цель визита:</string>
- </property>
- </widget>
- </item>
- <item>
- <widget class="QTextEdit" name="purpose_visite"/>
- </item>
- </layout>
- </item>
- </layout>
- </widget>
- </item>
- <item row="0" column="1" colspan="2">
- <widget class="QGroupBox" name="groupBox_2">
- <property name="title">
- <string>Фото</string>
- </property>
- <layout class="QVBoxLayout" name="verticalLayout_4">
- <item>
- <widget class="QStackedWidget" name="stacked_widget_photo">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="toolTip">
- <string notr="true"/>
- </property>
- <property name="statusTip">
- <string/>
- </property>
- <widget class="QWidget" name="page">
- <layout class="QGridLayout" name="gridLayout_2">
- <item row="0" column="0">
- <widget class="QLabel" name="imagePhoto">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="frameShape">
- <enum>QFrame::Box</enum>
- </property>
- <property name="frameShadow">
- <enum>QFrame::Raised</enum>
- </property>
- <property name="text">
- <string/>
- </property>
- <property name="wordWrap">
- <bool>false</bool>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QWidget" name="page_2">
- <layout class="QGridLayout" name="gridLayout_4">
- <item row="0" column="0">
- <widget class="QVideoWidget" name="face_video_widget">
- <property name="enabled">
- <bool>false</bool>
- </property>
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- </widget>
- </item>
- <item>
- <widget class="QSplitter" name="splitter">
- <property name="orientation">
- <enum>Qt::Horizontal</enum>
- </property>
- <widget class="QPushButton" name="btn_start_cam_photo">
- <property name="text">
- <string>Запустить камеру</string>
- </property>
- </widget>
- <widget class="QPushButton" name="capturePhoto">
- <property name="text">
- <string>Сфотографировать</string>
- </property>
- </widget>
- </widget>
- </item>
- </layout>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QPushButton" name="btn_clear">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Отчистить</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QPushButton" name="btn_save">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Сохранить</string>
- </property>
- </widget>
- </item>
- <item row="1" column="2">
- <widget class="QPushButton" name="btn_print">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Expanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="text">
- <string>Печать</string>
- </property>
- </widget>
- </item>
- </layout>
- </widget>
- <widget class="QMenuBar" name="menubar">
- <property name="geometry">
- <rect>
- <x>0</x>
- <y>0</y>
- <width>920</width>
- <height>23</height>
- </rect>
- </property>
- <property name="mouseTracking">
- <bool>true</bool>
- </property>
- <property name="acceptDrops">
- <bool>true</bool>
- </property>
- <property name="nativeMenuBar">
- <bool>true</bool>
- </property>
- <widget class="QMenu" name="menuFile">
- <property name="title">
- <string>File</string>
- </property>
- <addaction name="separator"/>
- <addaction name="actionSave"/>
- <addaction name="actionLoad"/>
- <addaction name="btn_show_about"/>
- <addaction name="separator"/>
- <addaction name="exit"/>
- </widget>
- <widget class="QMenu" name="menu">
- <property name="title">
- <string>Настроки</string>
- </property>
- <widget class="QMenu" name="menu_3">
- <property name="title">
- <string>Списки</string>
- </property>
- <addaction name="separator"/>
- <addaction name="separator"/>
- <addaction name="btn_show_personal_window"/>
- <addaction name="btn_show_place_window"/>
- <addaction name="separator"/>
- <addaction name="update_list"/>
- </widget>
- <addaction name="setting_cam"/>
- <addaction name="menu_3"/>
- </widget>
- <widget class="QMenu" name="menu_2">
- <property name="title">
- <string>История</string>
- </property>
- <addaction name="action_open_history"/>
- </widget>
- <addaction name="menuFile"/>
- <addaction name="menu"/>
- <addaction name="menu_2"/>
- </widget>
- <widget class="QStatusBar" name="statusbar"/>
- <action name="actionExit">
- <property name="text">
- <string>Exit</string>
- </property>
- </action>
- <action name="actionSave">
- <property name="text">
- <string>Save</string>
- </property>
- </action>
- <action name="actionLoad">
- <property name="text">
- <string>Load</string>
- </property>
- </action>
- <action name="actionExit_2">
- <property name="text">
- <string>Exit</string>
- </property>
- </action>
- <action name="setting_cam">
- <property name="text">
- <string>Настроки камеры</string>
- </property>
- </action>
- <action name="btn_show_personal_window">
- <property name="text">
- <string>Сотрудники</string>
- </property>
- </action>
- <action name="btn_show_place_window">
- <property name="text">
- <string>Место выдочи</string>
- </property>
- </action>
- <action name="update_list">
- <property name="text">
- <string>Обновить списки</string>
- </property>
- </action>
- <action name="btn_show_about">
- <property name="text">
- <string>О программе</string>
- </property>
- </action>
- <action name="exit">
- <property name="text">
- <string>Exit</string>
- </property>
- </action>
- <action name="action_open_history">
- <property name="text">
- <string>История пропусков</string>
- </property>
- </action>
- </widget>
- <customwidgets>
- <customwidget>
- <class>QVideoWidget</class>
- <extends>QLabel</extends>
- <header>PySide6.QtMultimediaWidgets</header>
- </customwidget>
- </customwidgets>
- <resources/>
- <connections/>
- </ui>
|