PNP_PIbd-31_Rodionov_I_A_Co.../mainwindow.ui

1114 lines
28 KiB
Plaintext
Raw Permalink Normal View History

2024-12-24 18:13:22 +04:00
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>MainWindow</class>
<widget class="QMainWindow" name="MainWindow">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1136</width>
<height>875</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Arial</family>
</font>
</property>
<property name="windowTitle">
<string>Список устройств</string>
</property>
<property name="windowIcon">
<iconset>
<normaloff>data/images/mw-icon.png</normaloff>data/images/mw-icon.png</iconset>
</property>
<property name="animated">
<bool>true</bool>
</property>
<widget class="QWidget" name="centralwidget">
<widget class="QComboBox" name="comboBoxFilters">
<property name="geometry">
<rect>
<x>10</x>
<y>12</y>
<width>481</width>
<height>25</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
</widget>
<widget class="QTableWidget" name="tableWidget">
<property name="geometry">
<rect>
<x>10</x>
<y>44</y>
<width>481</width>
<height>820</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Fixed" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="selectionMode">
2025-01-14 21:33:47 +04:00
<enum>QAbstractItemView::SingleSelection</enum>
</property>
<property name="selectionBehavior">
<enum>QAbstractItemView::SelectRows</enum>
2024-12-24 18:13:22 +04:00
</property>
</widget>
<widget class="QStackedWidget" name="stackedWidget">
<property name="geometry">
<rect>
<x>530</x>
<y>12</y>
<width>595</width>
<height>851</height>
</rect>
</property>
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>10</pointsize>
</font>
</property>
<property name="currentIndex">
<number>0</number>
</property>
<widget class="QWidget" name="page">
<widget class="QLabel" name="labelDevices">
<property name="geometry">
<rect>
<x>0</x>
<y>8</y>
<width>591</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Устройства</string>
</property>
<property name="alignment">
2025-01-14 21:33:47 +04:00
<set>Qt::AlignCenter</set>
2024-12-24 18:13:22 +04:00
</property>
</widget>
<widget class="QListWidget" name="listWidgetDevices">
<property name="geometry">
<rect>
<x>11</x>
<y>80</y>
<width>571</width>
<height>461</height>
</rect>
</property>
2025-01-14 21:33:47 +04:00
<property name="verticalScrollMode">
<enum>QAbstractItemView::ScrollPerPixel</enum>
</property>
2024-12-24 18:13:22 +04:00
</widget>
<widget class="QComboBox" name="comboBoxSort">
<property name="geometry">
<rect>
<x>11</x>
<y>42</y>
<width>321</width>
<height>25</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
</widget>
<widget class="QLineEdit" name="lineEditSearch">
<property name="geometry">
<rect>
<x>11</x>
<y>557</y>
<width>461</width>
<height>25</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
</widget>
<widget class="QPushButton" name="pushButtonClear">
<property name="geometry">
<rect>
<x>491</x>
<y>556</y>
<width>91</width>
<height>28</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
<string>Очистить</string>
</property>
</widget>
<widget class="QGroupBox" name="groupBoxFilters">
<property name="geometry">
<rect>
<x>11</x>
<y>600</y>
<width>571</width>
<height>242</height>
</rect>
</property>
<property name="title">
<string/>
</property>
<widget class="QPushButton" name="pushButtonApplyFilters">
<property name="geometry">
<rect>
<x>210</x>
<y>200</y>
<width>181</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
<string>Применить фильтрацию</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCancelFilters">
<property name="geometry">
<rect>
<x>410</x>
<y>200</y>
<width>151</width>
<height>31</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
<string>Отменить фильтры</string>
</property>
</widget>
<widget class="QLabel" name="labelFilters">
<property name="geometry">
<rect>
<x>10</x>
<y>10</y>
<width>561</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Фильтры</string>
</property>
<property name="alignment">
2025-01-14 21:33:47 +04:00
<set>Qt::AlignCenter</set>
2024-12-24 18:13:22 +04:00
</property>
</widget>
<widget class="QLabel" name="labelWorkingState">
<property name="geometry">
<rect>
<x>10</x>
<y>37</y>
<width>751</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Состояние</string>
</property>
</widget>
<widget class="QLabel" name="labelPrice">
<property name="geometry">
<rect>
<x>10</x>
<y>137</y>
<width>751</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Цена</string>
</property>
</widget>
<widget class="QRadioButton" name="radioButtonWorking">
<property name="geometry">
<rect>
<x>10</x>
<y>67</y>
<width>89</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
2025-01-14 21:33:47 +04:00
<family>Ubuntu Sans</family>
<pointsize>11</pointsize>
2024-12-24 18:13:22 +04:00
</font>
</property>
<property name="text">
<string>Работает</string>
</property>
</widget>
<widget class="QRadioButton" name="radioButtonNotWorking">
<property name="geometry">
<rect>
<x>10</x>
<y>102</y>
<width>89</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
2025-01-14 21:33:47 +04:00
<family>Ubuntu Sans</family>
<pointsize>11</pointsize>
2024-12-24 18:13:22 +04:00
</font>
</property>
<property name="text">
<string>Сломано</string>
</property>
</widget>
<widget class="QDoubleSpinBox" name="doubleSpinBoxFrom">
<property name="geometry">
<rect>
<x>40</x>
<y>167</y>
<width>151</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>10</pointsize>
</font>
</property>
2025-01-14 21:33:47 +04:00
<property name="suffix">
<string> ₽</string>
</property>
2024-12-24 18:13:22 +04:00
<property name="decimals">
<number>2</number>
</property>
<property name="maximum">
<double>1000000000000000000000.000000000000000</double>
</property>
</widget>
<widget class="QDoubleSpinBox" name="doubleSpinBoxTo">
<property name="geometry">
<rect>
<x>240</x>
<y>167</y>
<width>151</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>10</pointsize>
</font>
</property>
2025-01-14 21:33:47 +04:00
<property name="suffix">
<string> ₽</string>
</property>
2024-12-24 18:13:22 +04:00
<property name="maximum">
<double>1000000000000000000000.000000000000000</double>
</property>
</widget>
<widget class="QLabel" name="labelFrom">
<property name="geometry">
<rect>
<x>10</x>
<y>170</y>
<width>21</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>от</string>
</property>
</widget>
<widget class="QLabel" name="labelTo">
<property name="geometry">
<rect>
<x>210</x>
<y>170</y>
<width>21</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>до</string>
</property>
</widget>
<widget class="QRadioButton" name="radioButtonDisregard">
<property name="geometry">
<rect>
<x>120</x>
<y>67</y>
2025-01-14 21:33:47 +04:00
<width>121</width>
2024-12-24 18:13:22 +04:00
<height>20</height>
</rect>
</property>
<property name="font">
<font>
2025-01-14 21:33:47 +04:00
<family>Ubuntu Sans</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Не учитывать</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonDisregardPrice">
<property name="geometry">
<rect>
<x>410</x>
<y>166</y>
<width>101</width>
<height>24</height>
</rect>
</property>
<property name="font">
<font>
<family>Ubuntu Sans</family>
2024-12-24 18:13:22 +04:00
<pointsize>10</pointsize>
</font>
</property>
2025-01-14 21:33:47 +04:00
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
2024-12-24 18:13:22 +04:00
<property name="text">
<string>Не учитывать</string>
</property>
</widget>
</widget>
<widget class="QPushButton" name="pushButtonDefault">
<property name="geometry">
<rect>
<x>422</x>
<y>39</y>
<width>161</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
<string>Вывод по умолчанию</string>
</property>
</widget>
</widget>
<widget class="QWidget" name="page_2">
<widget class="QLabel" name="labelDevice">
<property name="geometry">
<rect>
<x>0</x>
<y>4</y>
<width>571</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>12</pointsize>
<bold>true</bold>
</font>
</property>
<property name="text">
<string>Информация об устройстве</string>
</property>
<property name="alignment">
2025-01-14 21:33:47 +04:00
<set>Qt::AlignCenter</set>
2024-12-24 18:13:22 +04:00
</property>
</widget>
<widget class="QLineEdit" name="lineEditId">
<property name="geometry">
<rect>
<x>10</x>
<y>47</y>
<width>574</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelId">
<property name="geometry">
<rect>
<x>10</x>
<y>22</y>
<width>111</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Идентификатор</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditSerialNum">
<property name="geometry">
<rect>
<x>10</x>
<y>107</y>
<width>574</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelSerialNum">
<property name="geometry">
<rect>
<x>10</x>
<y>82</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Серийный номер</string>
</property>
</widget>
<widget class="QLabel" name="labelPurchaseDate">
<property name="geometry">
<rect>
<x>10</x>
<y>142</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Дата покупки</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditPurchaseDate">
<property name="geometry">
<rect>
<x>10</x>
<y>167</y>
<width>574</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelDevicePrice">
<property name="geometry">
<rect>
<x>10</x>
<y>202</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Цена покупки</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditPrice">
<property name="geometry">
<rect>
<x>10</x>
<y>227</y>
<width>574</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelWarranty">
<property name="geometry">
<rect>
<x>10</x>
<y>262</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Конец гарантии</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditWarranty">
<property name="geometry">
<rect>
<x>10</x>
<y>287</y>
<width>574</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelLocation">
<property name="geometry">
<rect>
<x>10</x>
<y>322</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Помещение</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditLocation">
<property name="geometry">
<rect>
<x>10</x>
<y>347</y>
<width>574</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelEmployee">
<property name="geometry">
<rect>
<x>10</x>
<y>382</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Отв. сотрудник</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditEmployee">
<property name="geometry">
<rect>
<x>10</x>
<y>407</y>
<width>574</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLineEdit" name="lineEditDepartment">
<property name="geometry">
<rect>
<x>10</x>
<y>467</y>
<width>574</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelDepartment">
<property name="geometry">
<rect>
<x>10</x>
<y>442</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Отдел</string>
</property>
</widget>
<widget class="QLabel" name="labelModel">
<property name="geometry">
<rect>
<x>10</x>
<y>502</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Модель</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditModel">
<property name="geometry">
<rect>
<x>10</x>
<y>527</y>
<width>574</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelType">
<property name="geometry">
<rect>
<x>10</x>
<y>562</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Тип</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditType">
<property name="geometry">
<rect>
<x>10</x>
<y>587</y>
<width>574</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelManuf">
<property name="geometry">
<rect>
<x>10</x>
<y>622</y>
<width>121</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Производитель</string>
</property>
</widget>
<widget class="QLineEdit" name="lineEditManuf">
<property name="geometry">
<rect>
<x>10</x>
<y>647</y>
<width>574</width>
<height>22</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QTextEdit" name="textEditFurtherInformation">
<property name="geometry">
<rect>
<x>10</x>
<y>707</y>
<width>574</width>
<height>63</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelFurtherInformation">
<property name="geometry">
<rect>
<x>10</x>
<y>682</y>
<width>211</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Дополнительная информация&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
</widget>
<widget class="QCheckBox" name="checkBoxIsWorking">
<property name="enabled">
<bool>true</bool>
</property>
<property name="geometry">
<rect>
<x>10</x>
<y>780</y>
<width>20</width>
<height>20</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string/>
</property>
<property name="checkable">
<bool>true</bool>
</property>
</widget>
<widget class="QLabel" name="labelWorking">
<property name="geometry">
<rect>
<x>30</x>
<y>780</y>
<width>71</width>
<height>16</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="text">
<string>Работает</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonStructure">
<property name="geometry">
<rect>
<x>10</x>
<y>809</y>
<width>151</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
<string>Структура</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonCharacteristics">
<property name="geometry">
<rect>
<x>190</x>
<y>809</y>
<width>151</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
<string>Характеристики</string>
</property>
</widget>
<widget class="QPushButton" name="pushButtonBack">
<property name="geometry">
<rect>
<x>483</x>
<y>809</y>
<width>101</width>
<height>30</height>
</rect>
</property>
<property name="font">
<font>
<family>Arial</family>
<pointsize>11</pointsize>
</font>
</property>
<property name="cursor">
<cursorShape>PointingHandCursor</cursorShape>
</property>
<property name="text">
<string>Назад</string>
</property>
</widget>
</widget>
</widget>
</widget>
<widget class="QMenuBar" name="menubar">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>1136</width>
2025-01-14 21:33:47 +04:00
<height>22</height>
2024-12-24 18:13:22 +04:00
</rect>
</property>
</widget>
</widget>
<resources/>
<connections/>
</ui>